Skip to content

Commit

Permalink
Merge branch 'feat/strapi-fields' of https://github.com/UoaWDCC/auis-…
Browse files Browse the repository at this point in the history
…portal into feat/strapi-fields
  • Loading branch information
gmat224 committed Dec 25, 2024
2 parents 0ebc9f0 + 133e010 commit 764b96f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions web/src/components/exec-page/PreviousTeamCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ export default function PreviousTeamCard({
return (
<div
key={year}
className="from-AUIS-dark-teal to-AUIS-teal relative my-3 h-auto w-auto rounded-3xl bg-gradient-to-b px-3 py-2 md:px-20"
className="from-AUIS-dark-teal to-AUIS-teal relative my-3 h-auto w-auto rounded-3xl bg-gradient-to-b px-3 py-2 md:px-20"
>
<h2 className="text-white text-center mb-3 text-3xl drop-shadow-glow font-bold md:left-10 md:top-5 md:text-5xl">
{year==="2024"? ("🥰") : ("")} {year} {year==="2024"? ("🥰") : ("")}
<h2 className="drop-shadow-glow mb-3 text-center text-3xl font-bold text-white md:left-10 md:top-5 md:text-5xl">
{year === "2024" ? "🥰" : ""} {year} {year === "2024" ? "🥰" : ""}
</h2>
{teams.presidents.length > 0 && (
<div className="flex flex-col items-center">
Expand All @@ -38,11 +38,11 @@ export default function PreviousTeamCard({
{teams.executives.length > 0 && (
<div className="flex flex-col items-center px-0">
<h3 className="text-tertiary-blue text-2xl font-bold">Executives</h3>
<div className="mx-40 grid w-full grid-cols-1 md:grid-cols-3 justify-items-center px-2">
<div className="mx-40 grid w-full grid-cols-1 justify-items-center px-2 md:grid-cols-3">
{teams.executives.map((team) => (
<p
key={team.id}
className="mx-3 my-1 text-lg font-bold text-white text-center"
className="mx-3 my-1 text-center text-lg font-bold text-white"
>
{team.name}
</p>
Expand Down
2 changes: 1 addition & 1 deletion web/src/screens/ExecScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export default function ExecScreen({ navbar }: { navbar: JSX.Element }) {
{errorPreviousTeams ? (
<div className="py-10">There are no previous teams to display</div>
) : (
<div className=" max-w-[60rem]">
<div className="max-w-[60rem]">
{sortedPreviousTeams.map((year) => (
<PreviousTeamCard
key={year}
Expand Down

0 comments on commit 764b96f

Please sign in to comment.