Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ yarn.lock
.idea/

/LateX
.vscode/
15 changes: 11 additions & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,18 @@
"typescript": "typescript"
},
"tailwindCSS.experimental.classRegex": [
["cva\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"],
["cn\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"]
[
"cva\\(([^)]*)\\)",
"[\"'`]([^\"'`]*).*?[\"'`]"
],
[
"cn\\(([^)]*)\\)",
"[\"'`]([^\"'`]*).*?[\"'`]"
]
],
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll": "explicit"
}
}
},
"git.addAICoAuthor": "off"
}
Binary file modified public/satzung.pdf
Binary file not shown.
48 changes: 1 addition & 47 deletions src/components/Carousel.astro
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const width = (await Promise.all(images.map(async (image) => await image())))
const duration = width / speed + 's';
---

<div class="carousel">
<div class="carousel" style={`--duration: ${duration}`}>
<div>
{
[...images, ...images].map((image) => (
Expand All @@ -44,49 +44,3 @@ const duration = width / speed + 's';
}
</div>
</div>

<style define:vars={{ duration }}>
@reference '../styles/global.css';

.carousel {
@apply overflow-hidden mask-x-from-90%;

> div {
@apply flex flex-row items-center gap-5;
animation: move var(--duration) infinite linear;
}

&:hover > div {
animation-play-state: paused;
}
}

picture {
@apply h-auto w-auto flex-shrink-0;
}

@keyframes move {
0% {
transform: translateX(0);
}

100% {
transform: translateX(-50%);
}
}

/* RTL support for Arabic and other RTL languages */
:global([dir='rtl']) .carousel > div {
animation: moveRTL var(--duration) infinite linear;
}

@keyframes moveRTL {
0% {
transform: translateX(0);
}

100% {
transform: translateX(50%);
}
}
</style>
2 changes: 1 addition & 1 deletion src/content/home/ar/workshops.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ style: dark
order: 1
buttons:
ticket:
label: شراء تذكرة
label: سجل مجاناً
url: https://pretix.eu/dojosw
more:
label: مزيد من المعلومات
Expand Down
8 changes: 4 additions & 4 deletions src/content/home/collaborations.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
title: Kooperationen
---

Sie sind bei einer Schule oder einer anderen Bildungseinrichtung und wollen mit uns kooperieren?
Du bist bei einer Schule oder einer anderen Bildungseinrichtung und willst mit uns kooperieren?

Schreiben Sie uns eine Mail an [hallo@coderdojo-schoeneweide.de](mailto:hallo@coderdojo-schoeneweide.de).
Schreibe uns eine Mail an [hallo@coderdojo-schoeneweide.de](mailto:hallo@coderdojo-schoeneweide.de).

Sie möchten wissen, was wir genau anbieten?
Du möchtest wissen, was wir genau anbieten?

Schauen Sie sich unsere [→ Workshop-Konzepte](./workshops/) an!
Schau Dir unsere [→ Workshop-Konzepte](./workshops/) an!
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dir klein

2 changes: 1 addition & 1 deletion src/content/home/en/workshops.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ style: dark
order: 1
buttons:
ticket:
label: Buy ticket
label: Free regestration
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

registration with an i

url: https://pretix.eu/dojosw
more:
label: More info
Expand Down
2 changes: 1 addition & 1 deletion src/content/home/workshops.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ style: dark
order: 1
buttons:
ticket:
label: Ticket kaufen
label: Kostenlos Anmelden
url: https://pretix.eu/dojosw
more:
label: Mehr Infos
Expand Down
8 changes: 4 additions & 4 deletions src/content/pages/kooperationen.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ partners:
name: Partner 8
---

Sie sind bei einer Schule oder einer anderen Bildungseinrichtung und wollen mit uns kooperieren?
Du bist bei einer Schule oder einer anderen Bildungseinrichtung und willst mit uns kooperieren?

Schreiben Sie uns eine Mail an [hallo@coderdojo-schoeneweide.de](mailto:hallo@coderdojo-schoeneweide.de).
Schreibe uns eine Mail an [hallo@coderdojo-schoeneweide.de](mailto:hallo@coderdojo-schoeneweide.de).

Sie möchten wissen, was wir genau anbieten?
Du möchtest wissen, was wir genau anbieten?

Schauen Sie sich unsere [→ Workshop-Konzepte](./workshops/) an!
Schau Dir unsere [→ Workshop-Konzepte](./workshops/) an!
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dir klein

42 changes: 42 additions & 0 deletions src/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -125,4 +125,46 @@
@apply flex gap-5 my-5;
}

/* Carousel styles */
.carousel {
@apply overflow-hidden mask-x-from-90%;

> div {
@apply flex flex-row items-center gap-5;
animation: move var(--duration) infinite linear;
}

&:hover > div {
animation-play-state: paused;
}
}

.carousel picture {
@apply h-auto w-auto flex-shrink-0;
}

@keyframes move {
0% {
transform: translateX(0);
}

100% {
transform: translateX(-50%);
}
}

/* RTL support for Arabic and other RTL languages */
[dir='rtl'] .carousel > div {
animation: moveRTL var(--duration) infinite linear;
}

@keyframes moveRTL {
0% {
transform: translateX(0);
}

100% {
transform: translateX(50%);
}
}
}