Skip to content

Commit

Permalink
Merge pull request #102 from armada-ths/erik/add-footer
Browse files Browse the repository at this point in the history
Add footer to layout
  • Loading branch information
SortHvit authored Nov 9, 2024
2 parents b7cde5d + c2e904a commit 6c783dd
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import Providers from "@/app/providers"
import { Footer } from "@/components/shared/Footer"
import { Analytics } from "@vercel/analytics/react"
import { SpeedInsights } from "@vercel/speed-insights/next"
import { DateTime } from "luxon"
Expand Down Expand Up @@ -71,6 +72,7 @@ export default function RootLayout({
<SpeedInsights />
<Providers>{children}</Providers>
<DevToolbar />
<Footer />
</body>
</html>
)
Expand Down
66 changes: 66 additions & 0 deletions src/components/shared/Footer.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
import { InstagramIcon, LinkedinIcon, Music2Icon } from "lucide-react"

export function Footer() {
return (
/* IF WIDTH < 768, SET TO VERTICAL, OTHERWISE KEEP HORIZONTAL */
<div className="w-100 flex flex-col items-center justify-center md:flex-row md:items-start">
<hr className="static mt-2 h-1 w-2/3 rounded border-0 bg-slate-500 bg-opacity-30 md:absolute" />
<div className="m-5 mb-3 mt-7 w-1/4 place-items-center text-center md:place-items-start md:text-start">
<p>
<b>Follow us on:</b>
</p>
<a
href="https://www.linkedin.com/company/armada"
className="flex space-x-1">
<LinkedinIcon size="20" />
<p className="mb-0">LinkedIn</p>
</a>
<a
href="https://www.instagram.com/thsarmada/"
className="flex space-x-1">
<InstagramIcon size="20" />
<p>Instagram</p>
</a>
<a href="https://www.tiktok.com/@ths.armada" className="flex space-x-1">
<Music2Icon size="20" />
<p>TikTok</p>
</a>
</div>

<div className="m-5 mb-3 mt-7 w-1/4 place-items-center text-center md:place-items-start md:text-left">
<p>
<b>STUDENTS</b>
</p>
<a href="/student/exhibitors">Exhibitors</a>
<br />
<a href="/student/recruitment">Recruitment</a>
<br />
<a href="/student/events">Events</a>
</div>
<div className="m-5 mb-3 mt-7 w-1/4 place-items-center text-center md:place-items-start md:text-left">
<p>
<b>EXHIBITORS</b>
</p>
<a href="https://register.armada.nu/register">Registration</a>
<br />
<a href="/exhibitor/packages">Packages</a>
<br />
<a href="/exhibitor">Why Armada</a>
<br />
<a href="/exhibitor/timeline">Timeline</a>
</div>

<div className="m-5 mb-3 mt-7 w-1/4 place-items-center text-center md:place-items-start md:text-left">
<p>
<b>ARMADA</b>
</p>
<p>
<i>Drottning Kristinas väg 15</i>
</p>
<p>
<i>114 28, Stockholm</i>
</p>
</div>
</div>
)
}

0 comments on commit 6c783dd

Please sign in to comment.