diff --git a/src/app/page.tsx b/src/app/page.tsx index dc6ddc9..cd08bf9 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -9,23 +9,35 @@ export default function Home() { return ( <> - -
- - - +
+
+ + + +
+
) } -const Feed = () => { +const Feed = ({ + className, + variant = "col", + icon: Icon, + title +}: { + className?: string + variant?: "row" | "col" + title: string + icon: (props: React.HTMLAttributes) => React.ReactNode | JSX.Element +}) => { return ( -
+
- +
-
-
+
+
+ + 1h ago + +

+ Bitcoin (BTC) Price Prediction: When Will Bitcoin Reach $100,000? +

+
+
+ + 1h ago + +

+ Bitcoin (BTC) Price Prediction: When Will Bitcoin Reach $100,000? +

+
+
+ + 1h ago + +

+ Bitcoin (BTC) Price Prediction: When Will Bitcoin Reach $100,000? +

+
+
+ + 1h ago + +

+ Bitcoin (BTC) Price Prediction: When Will Bitcoin Reach $100,000? +

+
+
1h ago @@ -54,7 +98,7 @@ const Feed = () => { ) } -const PaperIcon = ({ className }: { className: string }) => { +const PaperIcon = ({ className }: { className?: string }) => { return ( { ) } +const TopArrowLodashIcon = ({ className }: { className?: string }) => { + return ( + + + + + + ) +} +const TrendUpIcon = ({ className }: { className?: string }) => { + return ( + + + + + + + + + + + + ) +} diff --git a/src/components/SearchBar.tsx b/src/components/SearchBar.tsx index 2e11157..61237e0 100644 --- a/src/components/SearchBar.tsx +++ b/src/components/SearchBar.tsx @@ -14,10 +14,9 @@ import { usePathname, useSearchParams, useRouter } from "next/navigation" import { formatDate, getResults } from "@/utils" type Props = { - variant: "default" | "simplified" } -const SearchBar = ({ variant }: Props) => { +const SearchBar = ({ }: Props) => { const searchParams = useSearchParams() const router = useRouter() const pathname = usePathname() @@ -70,7 +69,7 @@ const SearchBar = ({ variant }: Props) => { return (
0 ? "border-sky-300 bg-gray-950" : "border-primary" }`} >