Skip to content
Snippets Groups Projects
Commit 30033916 authored by Yusuf Akgül's avatar Yusuf Akgül :hatching_chick:
Browse files

ui sort and search fix

parent fbe52c6c
No related branches found
No related tags found
No related merge requests found
Pipeline #34626 passed
...@@ -5,13 +5,17 @@ import Sort from "@/components/sort-games"; ...@@ -5,13 +5,17 @@ import Sort from "@/components/sort-games";
// renders a list of games infinitely (presumably) // renders a list of games infinitely (presumably)
export default async function GamesPage() { export default async function GamesPage() {
return ( return (
<main className="relative lg:gap-10 xl:grid xl:grid-cols-[1fr_300px]"> <main className="relative lg:gap-10 xl:grid xl:grid-cols-[1fr_240px]">
<div className="grid"> <div className="grid">
<Search className="p-3 lg:w-2/3 2xl:w-1/3" /> <div className="flex flex-col gap-10 items-center w-full">
<Search className="p-3 lg:w-2/3 2xl:w-1/3" />
</div>
<InfiniteScrollGames /> <InfiniteScrollGames />
</div> </div>
<div className="hidden xl:block"> <div className="hidden xl:block flex-col md:flex">
<Sort /> <div className="sticky top-0">
<Sort />
</div>
</div> </div>
</main> </main>
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment