Skip to content

Commit 5307d7f

Browse files
committed
chore: first deployment
1 parent e6ca12d commit 5307d7f

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

src/components/Card.astro

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
---
2-
import { undefined } from "astro:schema";
3-
42
interface Props {
53
variant: "light" | "dark";
64
title?: string;

src/components/Link.astro

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
---
2-
import { undefined } from "astro:schema";
3-
42
interface Props {
53
href: string | URL;
64
variant: "blank" | "primary" | "outlined";

src/i18n/ui.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
11
export const defaultLang = "pl-PL";
2+
3+
export const langs = [
4+
"pl-PL",
5+
"en"
6+
]

src/scripts/NavbarScripts.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { langs } from "../i18n/ui";
2-
import { getLangForRedirect, getLangFromUrl } from "../i18n/utils";
1+
import { langs } from "../i18n/ui.ts";
2+
import { getLangFromUrl } from "../i18n/utils";
33

44
document.getElementsByClassName("hamburger-button")[0].addEventListener("click", () => {
55
document.getElementsByClassName("hamburger-menu")[0].classList.toggle("hamburger-menu-open");

0 commit comments

Comments
 (0)