Skip to content

Commit f74fd8d

Browse files
authored
Merge pull request #74 from simonyiszk/feature/improvements
Improvements
2 parents 7d7217c + b9f8ae5 commit f74fd8d

File tree

8 files changed

+17
-9
lines changed

8 files changed

+17
-9
lines changed

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ CONTENTFUL_PREVIEW_ACCESS_TOKEN=""
77
CONTENTFUL_PREVIEW_SECRET=""
88
CONTENTFUL_REVALIDATE_SECRET=""
99
NEXT_REVALIDATION_SECRET=""
10+
NEXT_PUBLIC_PLAUSIBLE_SCRIPT=""

.gitattributes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
*.ts text eol=lf
2+
*.tsx text eol=lf
3+
*.js text eol=lf
4+
*.jsx text eol=lf

messages/en.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
"bmeAlt": "Budapest University of Technology and Economics (BME)",
3030
"vikAlt": "Faculty of Electrical Engineering and Informatics (VIK)",
3131
"schonherzAlt": "Schönherz",
32-
"simonyikonf": "Simonyi Conference"
32+
"simonyikonf": "Simonyi Conference",
33+
"tanverseny": "High School Academic Competition"
3334
},
3435
"subpages": {
3536
"header": {

messages/hu.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
"bmeAlt": "Budapesti Műszaki és Gazdaságtudományi Egyetem (BME)",
3030
"vikAlt": "Villamosmérnöki és Informatikai Kar (VIK)",
3131
"schonherzAlt": "Schönherz",
32-
"simonyikonf": "Simonyi Konferencia"
32+
"simonyikonf": "Simonyi Konferencia",
33+
"tanverseny": "Középiskolai Tanulmányi Verseny"
3334
},
3435
"subpages": {
3536
"header": {

src/app/[locale]/layout.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ export default function LocaleLayout({ children, params: { locale } }: { childre
7979
className={`${spaceGrotesk.variable} ${archivo.variable}`}
8080
>
8181
<body className="bg-dark text-white text-opacity-text selection:bg-primary-200 selection:text-primary-950">
82+
<script defer src={process.env.NEXT_PUBLIC_PLAUSIBLE_SCRIPT} data-domain="simonyi.bme.hu"/>
8283
<div className="flex min-h-safe_screen flex-col justify-between">
8384
<NextIntlClientProvider messages={messages}>
8485
{children}

src/components/app/home/home-about.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default function HomeAbout({ about, images }: { about: AboutType; images:
77
return (
88
<div className="flex flex-col">
99
{about.title && <Typography as="h1" variant="h1" className="mb-8">{about.title}</Typography>}
10-
<div className="grid grid-cols-1 gap-16 whitespace-pre-wrap lg:grid-cols-2">
10+
<div className="grid grid-cols-1 gap-16 whitespace-pre-wrap text-justify lg:grid-cols-2">
1111
{contentfulDocumentToReactComponents(about.description)}
1212
<HomeAboutImageBrowser lightboxImages={images} />
1313
</div>

src/components/app/home/home-greeting.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,17 @@ export default function HomeGreeting({
3636
</div>
3737
<div className="flex justify-center">
3838
<a
39-
href="https://konferencia.simonyi.bme.hu/"
40-
title="konferencia.simonyi.bme.hu"
39+
href="https://skktv.simonyi.bme.hu/?utm_source=simonyi.bme.hu"
40+
title="skktv.simonyi.bme.hu"
4141
target="_blank"
4242
rel="noreferrer"
4343
>
44-
<Button className="w-full">{t("simonyikonf")}</Button>
44+
<Button className="w-full">{t("tanverseny")}</Button>
4545
</a>
4646
</div>
4747
<div className="flex flex-row flex-wrap justify-evenly gap-8">
4848
<a
49-
href="https://tanfolyam.simonyi.bme.hu/"
49+
href="https://tanfolyam.simonyi.bme.hu/?utm_source=simonyi.bme.hu"
5050
title="tanfolyam.simonyi.bme.hu"
5151
target="_blank"
5252
rel="noreferrer"

src/components/student-group/student-group.component.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function StudentGroup({ name, logo, description, socials = [], isDense = false }
1616
};
1717

1818
return (
19-
<div className="flex max-w-full flex-col items-center justify-between gap-8 rounded-2xl bg-darkmode_regular p-5 md:max-w-[45%] lg:max-w-[31%]">
19+
<div className="flex max-w-full flex-col items-center justify-between gap-8 rounded-2xl bg-darkmode_regular p-8 md:max-w-[45%] lg:max-w-[31%]">
2020
<div className="flex w-full flex-col items-center gap-8">
2121
<div
2222
className="flex w-full flex-row items-center justify-between gap-8 hover:cursor-pointer md:hover:cursor-auto"
@@ -33,7 +33,7 @@ function StudentGroup({ name, logo, description, socials = [], isDense = false }
3333
<div className={`${isOpen ? "block" : "hidden md:block"} relative h-[100px] w-full max-w-[250px]`}>
3434
<Image src={logo.url} alt={logo.alt} fill />
3535
</div>
36-
<div className={`${isOpen ? "block" : "hidden md:block"}`}>
36+
<div className={`text-justify ${isOpen ? "block" : "hidden md:block"}`}>
3737
<Typography>{description}</Typography>
3838
</div>
3939
</>

0 commit comments

Comments
 (0)