-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve component and hook organization
- Loading branch information
1 parent
a2abf98
commit fa8242d
Showing
31 changed files
with
170 additions
and
192 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
export type HookDetails = { | ||
id: number; | ||
title: string; | ||
source: string; | ||
description: string; | ||
github: string; | ||
additional_link: string; | ||
created_by: string; | ||
audited: "Yes" | "No"; | ||
category: string[]; | ||
}; |
29 changes: 29 additions & 0 deletions
29
packages/nextjs/app/pools/_components/PoolPageSkeleton.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import { SkeletonLoader } from "~~/components/common"; | ||
|
||
export const PoolPageSkeleton = () => { | ||
return ( | ||
<div className="w-full"> | ||
<div className="grid grid-cols-1 xl:grid-cols-2 w-full gap-7 mb-5 mt-20"> | ||
<div className="flex flex-col gap-7"> | ||
<div className="w-full h-72"> | ||
<SkeletonLoader /> | ||
</div> | ||
<div className="w-full h-48"> | ||
<SkeletonLoader /> | ||
</div> | ||
<div className="w-full h-96"> | ||
<SkeletonLoader /> | ||
</div> | ||
</div> | ||
<div className="flex flex-col gap-7"> | ||
<div className="w-full h-96"> | ||
<SkeletonLoader /> | ||
</div> | ||
<div className="w-full h-72"> | ||
<SkeletonLoader /> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
export * from "./PoolActions"; | ||
export * from "./PoolComposition"; | ||
export * from "./PoolAttributes"; | ||
export * from "./UserLiquidity"; | ||
export * from "./PoolSelector"; | ||
export * from "./PoolConfig"; | ||
export * from "./HooksConfig"; | ||
export * from "./info"; | ||
export * from "./operations"; | ||
export * from "./PoolPageSkeleton"; |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export * from "./PoolComposition"; | ||
export * from "./PoolAttributes"; | ||
export * from "./UserLiquidity"; | ||
export * from "./PoolConfig"; | ||
export * from "./HooksConfig"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.