Skip to content

Commit 27bfa48

Browse files
authored
feat: add AboutUs component (#43)
* feat: add AboutUs component * refactor: simplify AboutUs component rendering in Home * refactor: reorganize AboutUs component structure and improve layout
1 parent ffb787b commit 27bfa48

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

src/app/page.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { FiFacebook, FiGithub, FiInstagram, FiLinkedin } from "react-icons/fi"
33
import discord from "@/assets/icons/discord.svg"
44
import telegram from "@/assets/icons/telegram.svg"
55
import { CardMultipleIcons } from "@/components/card-multiple-icons"
6+
import { AboutUs } from "@/components/home/about-us"
67
import { Hero } from "@/components/home/hero"
78
import { Materials } from "@/components/home/materials"
89

@@ -11,6 +12,7 @@ export default function Home() {
1112
<main className="w-full">
1213
<Hero />
1314
<Materials />
15+
<AboutUs />
1416
<div className="mx-auto w-fit py-12">
1517
<CardMultipleIcons
1618
icons={[

src/components/home/about-us.tsx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import { Button } from "@/components/ui/button"
2+
3+
export function AboutUs() {
4+
return (
5+
<section className="mx-auto flex min-h-screen w-full max-w-4xl flex-col items-center justify-center gap-24 px-6 py-12 text-center">
6+
<h1 className="typo-display-medium lg:typo-display-large bg-linear-to-r from-text-primary via-blue-secondary to-blue-primary bg-clip-text text-transparent">
7+
PoliNetwork unisce gli studenti del Poli con gruppi, risorse e supporto in un'unica community.
8+
</h1>
9+
10+
<Button variant="primary" size="lg">
11+
About us
12+
</Button>
13+
</section>
14+
)
15+
}

0 commit comments

Comments
 (0)