diff --git a/src/app/guides/page.tsx b/src/app/guides/page.tsx new file mode 100644 index 0000000..d4f7a40 --- /dev/null +++ b/src/app/guides/page.tsx @@ -0,0 +1,55 @@ +import { FiUserPlus } from "react-icons/fi" +import GuideContent from "@/components/guides/content" +import GuideHero from "@/components/guides/hero" +import { Button } from "@/components/ui/button" + +const guidesInfo = { + title: "Le guide per Ingegneria Informatica", + description: "Rimani aggiornato sulle idee appena condivise dagli studenti del Politecnico", + guides: [ + { + text: "Corsi a scelta Primo Anno", + }, + { + text: "Corsi a scelta Secondo Anno", + }, + { + text: "Corsi a scelta Terzo Anno", + }, + ], +} + +const guidesGeneral = { + title: "Le guide generali", + description: "Consulta le guide generali per orientarti al meglio nella vita universitaria", + guides: [ + { + text: "Guida a Webex", + }, + { + text: "Guida alla connessione alla rete del Polimi", + }, + ], +} + +export default function GuidePage() { + return ( +
+
+ + +
+ +
+ +
+ +
+ +
+
+ ) +} diff --git a/src/components/card-text.tsx b/src/components/card-text.tsx new file mode 100644 index 0000000..1dabc99 --- /dev/null +++ b/src/components/card-text.tsx @@ -0,0 +1,11 @@ +import { Card, CardContent } from "./ui/card" + +export default function CardText({ text, className }: { text: string; className?: string }) { + return ( + + + {text} + + + ) +} diff --git a/src/components/guides/content.tsx b/src/components/guides/content.tsx new file mode 100644 index 0000000..2b303eb --- /dev/null +++ b/src/components/guides/content.tsx @@ -0,0 +1,18 @@ +import CardText from "@/components/card-text" +import type { GuideContentProps } from "./types" + +export default function GuideContent({ title, description, guides }: GuideContentProps) { + return ( +
+
+

{title}

+

{description}

+
+
+ {guides.map((guide) => ( + + ))} +
+
+ ) +} diff --git a/src/components/guides/hero.tsx b/src/components/guides/hero.tsx new file mode 100644 index 0000000..9672a0e --- /dev/null +++ b/src/components/guides/hero.tsx @@ -0,0 +1,12 @@ +export default function GuideHero() { + return ( +
+

+ Guide +

+

+ Una raccolta di guide realizzate dai membri del Network +

+
+ ) +} diff --git a/src/components/guides/types.ts b/src/components/guides/types.ts new file mode 100644 index 0000000..71f786a --- /dev/null +++ b/src/components/guides/types.ts @@ -0,0 +1,5 @@ +export type GuideContentProps = { + title: string + description: string + guides: { text: string }[] +}