web3.news/src/app/page.tsx

34 lines
893 B
TypeScript
Raw Normal View History

import Feed from "@/components/Feed"
2023-11-10 17:17:30 +00:00
import SearchBar from "@/components/SearchBar"
2023-11-10 13:34:04 +00:00
export default function Home() {
return (
2023-11-14 15:52:42 +00:00
<>
2023-11-10 17:17:30 +00:00
<SearchBar />
2023-11-15 09:35:32 +00:00
<div className="space-y-8 w-full my-10">
<div className="flex flex-row flex-wrap justify-between w-full">
<Feed
title="Latest from the community"
icon={'paper-icon'}
className="w-[calc(33%-16px)] max-w-md"
/>
<Feed
title="Rising Posts"
icon={'trend-up-icon'}
className="w-[calc(33%-16px)] max-w-md"
/>
<Feed
title="Top Posts"
icon={'top-arrow-icon'}
className="w-[calc(33%-16px)] max-w-md"
/>
2023-11-15 09:35:32 +00:00
</div>
<Feed
title="Another heading"
icon={'trend-up-icon'}
className="w-full"
/>
2023-11-10 13:34:04 +00:00
</div>
2023-11-14 15:52:42 +00:00
</>
2023-11-10 17:17:30 +00:00
)
}