Skip to content

Commit

Permalink
feat: add desktop to societies
Browse files Browse the repository at this point in the history
  • Loading branch information
BirnadinErick committed Feb 24, 2024
1 parent 09558d7 commit 0eafffc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/common/CommonHeader.astro
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const { now, title }: { now: navLinks; title: string } = Astro.props;
class={`hover:text-spc-gold hover:underline hover:underline-offset-4 ${
now == "Societies" && "text-spc-gold/80"
}`}
href="/societies">Societies</a
href="/socities">Societies</a
>
</li>
<li>
Expand Down
2 changes: 1 addition & 1 deletion src/config/teams.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export const SOCIETIES = [
group: "Us, the SPC Media Unit",
team: [
{
name: "Under 17",
name: "Members of 2022",
img: "https://unsplash.com/photos/aaIN3y2zcMQ/download?ixid=M3wxMjA3fDB8MXxzZWFyY2h8ODd8fHdhbGxwYXBlcnxlbnwwfDB8fHwxNjkyMTMwMjMzfDA&force=true&w=1920",
},
{
Expand Down
6 changes: 4 additions & 2 deletions src/pages/socities/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import CommonHead from "@components/common/CommonHead.astro";
import CommonHeader from "@components/common/CommonHeader.astro";
import Next from "@components/common/Next.astro";
import PageTitle from "@components/common/PageTitle.astro";
import Footer from "@components/footer/Footer.astro";
import BackButton from "@components/patrician-publications/BackButton.astro";
import Feature from "@components/patrician-publications/Feature.astro";
Expand All @@ -24,9 +25,10 @@ const NEXTS = [
<html lang="en">
<CommonHead title="Patrician Societies | SPC Media Unit | 175 years" />

<body class="cursor-default bg-spc-dark text-spc-light font-sans md:px-96">
<body class="cursor-default bg-spc-dark text-spc-light font-sans">
<CommonHeader title="Patrician<br/>Societies" />
<section class="px-6"><BackButton /></section>
<PageTitle title="Patrician Societies" />
<section class="px-6 md:hidden"><BackButton /></section>
<!-- <Feature /> -->
<Teams title="Societies we have." teams={SOCIETIES} />
<Next nexts={NEXTS} />
Expand Down

0 comments on commit 0eafffc

Please sign in to comment.