Skip to content

Commit 829463d

Browse files
committed
Merge remote-tracking branch 'origin/main' into studio->root
# Conflicts: # pnpm-lock.yaml
2 parents 8b6063a + 9c30fef commit 829463d

8 files changed

Lines changed: 158 additions & 144 deletions

File tree

app/(root)/arrangement/eventCardPaginated.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ const ButtonAndProgress: Component<{ loading: boolean; onClick: VoidFunction }>
8888
return <CircularProgressIndicator aria-label={"Laster inn flere arrangementer"} />
8989
}
9090
return (
91-
<Button className={"mx-auto w-min"} onClick={onClick}>
91+
<Button className={"w-fit"} onClick={onClick}>
9292
Se mer
9393
</Button>
9494
)

components/cards/eventCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const EventCard: Component<EventCardProps> = ({
2727
bottom={
2828
<LinkButton
2929
href={"arrangement"}
30-
className={"mx-auto w-fit"}
30+
className={"w-fit"}
3131
aria-label={"Vis flere arrangementer"}>
3232
Vis mer
3333
</LinkButton>

components/cards/infoCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const InfoCard: Component<EventCardProps> = ({
2929
<div>{children}</div>
3030
</div>
3131

32-
<div>{bottom}</div>
32+
<div className={"flex justify-center"}>{bottom}</div>
3333
</div>
3434
)
3535

components/footer.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { ExternalLink, MailLink } from "@/components/link"
2-
import { Facebook, GitHub, Instagram, LinkedIn } from "@/components/icons/socials"
2+
import { Facebook, GitHub, Instagram, LinkedIn, Discord } from "@/components/icons/socials"
33
import { Divider } from "@/components/divider"
44
import { bigIconSize, defaultIconSize, FlexIcon } from "@/components/icons/icon"
55
import { BugAntIcon, ChatBubbleLeftEllipsisIcon, LinkIcon } from "@heroicons/react/24/outline"
@@ -78,6 +78,13 @@ const Socials: Component = ({ className }) => (
7878
<Instagram width={bigIconSize} />
7979
</ExternalLink>
8080

81+
<ExternalLink
82+
title={"Discord"}
83+
className={className}
84+
href={"https://discord.gg/RVkj2Xyt92"}>
85+
<Discord width={bigIconSize} />
86+
</ExternalLink>
87+
8188
<ExternalLink
8289
title={"LinkedIn"}
8390
className={className}

components/icons/socials.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,16 @@ export const Instagram: Component<SVGProps> = props => (
2626
</svg>
2727
)
2828

29+
export const Discord: Component<SVGProps> = props => (
30+
<svg
31+
xmlns="http://www.w3.org/2000/svg"
32+
viewBox="0 0 48 48"
33+
aria-label={"Discord logo"}
34+
{...props}>
35+
<path fill="#536dfe" d="M39.248,10.177c-2.804-1.287-5.812-2.235-8.956-2.778c-0.057-0.01-0.114,0.016-0.144,0.068 c-0.387,0.688-0.815,1.585-1.115,2.291c-3.382-0.506-6.747-0.506-10.059,0c-0.3-0.721-0.744-1.603-1.133-2.291 c-0.03-0.051-0.087-0.077-0.144-0.068c-3.143,0.541-6.15,1.489-8.956,2.778c-0.024,0.01-0.045,0.028-0.059,0.051 c-5.704,8.522-7.267,16.835-6.5,25.044c0.003,0.04,0.026,0.079,0.057,0.103c3.763,2.764,7.409,4.442,10.987,5.554 c0.057,0.017,0.118-0.003,0.154-0.051c0.846-1.156,1.601-2.374,2.248-3.656c0.038-0.075,0.002-0.164-0.076-0.194 c-1.197-0.454-2.336-1.007-3.432-1.636c-0.087-0.051-0.094-0.175-0.014-0.234c0.231-0.173,0.461-0.353,0.682-0.534 c0.04-0.033,0.095-0.04,0.142-0.019c7.201,3.288,14.997,3.288,22.113,0c0.047-0.023,0.102-0.016,0.144,0.017 c0.22,0.182,0.451,0.363,0.683,0.536c0.08,0.059,0.075,0.183-0.012,0.234c-1.096,0.641-2.236,1.182-3.434,1.634 c-0.078,0.03-0.113,0.12-0.075,0.196c0.661,1.28,1.415,2.498,2.246,3.654c0.035,0.049,0.097,0.07,0.154,0.052 c3.595-1.112,7.241-2.79,11.004-5.554c0.033-0.024,0.054-0.061,0.057-0.101c0.917-9.491-1.537-17.735-6.505-25.044 C39.293,10.205,39.272,10.187,39.248,10.177z M16.703,30.273c-2.168,0-3.954-1.99-3.954-4.435s1.752-4.435,3.954-4.435 c2.22,0,3.989,2.008,3.954,4.435C20.658,28.282,18.906,30.273,16.703,30.273z M31.324,30.273c-2.168,0-3.954-1.99-3.954-4.435 s1.752-4.435,3.954-4.435c2.22,0,3.989,2.008,3.954,4.435C35.278,28.282,33.544,30.273,31.324,30.273z"></path>
36+
</svg>
37+
)
38+
2939
export const GitHub: Component<SVGProps> = props => (
3040
<svg
3141
xmlns="http://www.w3.org/2000/svg"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"framer-motion": "^11.0.3",
2323
"groq": "^3.19.2",
2424
"ics": "^3.7.2",
25-
"next": "^14.1.0",
25+
"next": "^14.1.1",
2626
"next-sanity": "^6.0.1",
2727
"react": "^18.2.0",
2828
"react-dom": "^18.2.0",

0 commit comments

Comments
 (0)