-
Notifications
You must be signed in to change notification settings - Fork 0
UI Polish: Card Hover Animation, Dynamic Topic Count, and Homepage Layout Improvements #25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,9 +1,9 @@ | ||
import PostsList from "@/components/PostComponents/PostsList"; | ||
import HomePage from "../components/HomepageComponents/HomePage" | ||
|
||
export default function HomePage() { | ||
export default function Allpage() { | ||
return ( | ||
<main className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8"> | ||
<PostsList /> | ||
<HomePage/> | ||
</main> | ||
); | ||
} |
This file contains hidden or 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 hidden or 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,19 @@ | ||
import PostsGallery from "./PostGallery"; | ||
import BullishMarketCard from "./BullishMarketCard"; | ||
import PostSearch from "./PostSearch"; | ||
import PostFilter from "./PostFilter"; | ||
import PostGalleryTitle from "./PostGalleryTitle"; | ||
|
||
ginzahatemi marked this conversation as resolved.
Show resolved
Hide resolved
|
||
export default function HomePage() { | ||
return ( | ||
<div> | ||
<div className="flex flex-row justify-center space-x-3"> | ||
<PostSearch/> | ||
<PostFilter/> | ||
</div> | ||
<BullishMarketCard /> | ||
<PostGalleryTitle current={2} total={2}/> | ||
<PostsGallery/> | ||
</div> | ||
); | ||
} |
This file contains hidden or 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,14 @@ | ||
import { CiFilter } from "react-icons/ci"; | ||
|
||
export default function PostFilter() { | ||
return ( | ||
<div className="h-10 w-20 flex flex-row gap-2 border rounded-md px-2 bg-violet-50 hover:bg-blue-500 hover:text-background"> | ||
<div className="flex justify-center items-center"> | ||
<CiFilter size={17} style={{ strokeWidth: 1 }} /> | ||
</div> | ||
<div className="flex justify-center items-center text-md font-semibold"> | ||
Filter | ||
</div> | ||
</div> | ||
); | ||
} |
This file contains hidden or 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 hidden or 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,20 @@ | ||
type PostGalleryTitleProps = { | ||
current: number; | ||
total: number; | ||
}; | ||
|
||
// Removed unused topics array | ||
|
||
export default function PostGalleryTitle({ | ||
current, | ||
total, | ||
}: PostGalleryTitleProps) { | ||
return ( | ||
<div className="flex flex-row items-center justify-between font-sans mt-10 mb-5 mx-20"> | ||
<div className="text-2xl font-bold">Market Insights</div> | ||
<div className="text-muted-foreground"> | ||
{current} of {total} topics | ||
</div> | ||
</div> | ||
); | ||
} |
This file contains hidden or 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 hidden or 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 { IoMdTrendingUp } from "react-icons/io"; | ||
import { MdOutlineLightMode } from "react-icons/md"; | ||
|
||
export default function Navbar() { | ||
return ( | ||
<div className="sticky top-0 bg-transparent backdrop-blur-md w-full h-[80px] border-b-2 px-10 py-4 font-sans"> | ||
<div className="flex flex-row items-center justify-between"> | ||
<div className="flex flex-row gap-4"> | ||
<div className="flex items-center"> | ||
<div className="flex justify-center items-center bg-blue-500 h-10 w-10 text-background font-bold rounded-lg"> | ||
<IoMdTrendingUp size={26} /> | ||
</div> | ||
</div> | ||
<div className="flex flex-col"> | ||
<div className="text-2xl font-semibold text-blue-500"> | ||
SentioPulse | ||
</div> | ||
<div className="text-muted-foreground text-sm"> | ||
Market Sentiment Aggregation | ||
</div> | ||
</div> | ||
</div> | ||
<div className="flex justify-center items-center h-10 w-10 hover:bg-blue-500 hover:text-background hover:rounded-lg"> | ||
<MdOutlineLightMode size={20}/> | ||
</div> | ||
ginzahatemi marked this conversation as resolved.
Show resolved
Hide resolved
|
||
</div> | ||
</div> | ||
); | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.