diff --git a/src/app/page.tsx b/src/app/page.tsx index ecc1240..7422510 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,22 +1,5 @@ -import { Users } from "lucide-react" -import { Button } from "@/components/ui/button" -import { ButtonWithIcon } from "@/components/ui/buttonWithIcon" +import { Hero } from "@/components/home/hero" export default function Home() { - return ( -
-

Welcome to PoliNetwork

-

- PoliNetwork is a student association dedicated to connecting and supporting students at Politecnico. -

-
-

Test with figma variables

-
- - - - -
-
- ) + return } diff --git a/src/components/home/hero.tsx b/src/components/home/hero.tsx new file mode 100644 index 0000000..57442c8 --- /dev/null +++ b/src/components/home/hero.tsx @@ -0,0 +1,42 @@ +import { Search, Send, UserPlus } from "lucide-react" +import { Button } from "@/components/ui/button" +import { Input } from "@/components/ui/input" + +export function Hero() { + return ( +
+
+
+

+ Trova gruppi, risorse e supporto +
+ tra gli studenti del Polimi +

+ +
+ } + type="text" + placeholder="Find your group" + aria-label="Find your group" + containerClassName="max-w-xl" + className="typo-body-medium" + /> + + +
+
+ +
+ +
+
+
+ ) +} diff --git a/src/components/ui/button.tsx b/src/components/ui/button.tsx index 731f4d9..e597cd5 100644 --- a/src/components/ui/button.tsx +++ b/src/components/ui/button.tsx @@ -22,7 +22,7 @@ const buttonVariants = cva( }, size: { default: "h-9 px-4 py-2 has-[>svg]:px-3", - sm: "h-8 gap-1.5 px-3 has-[>svg]:px-2.5", + sm: "h-8 gap-1.5 px-3 has-[>svg]:px-2.5 text-xs", lg: "h-10 px-6 has-[>svg]:px-4", icon: "size-9", "icon-sm": "size-8",