File tree Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 11---
2- import { undefined } from " astro:schema" ;
3-
42interface Props {
53 variant: " light" | " dark" ;
64 title? : string ;
Original file line number Diff line number Diff line change 11---
2- import { undefined } from " astro:schema" ;
3-
42interface Props {
53 href: string | URL ;
64 variant: " blank" | " primary" | " outlined" ;
Original file line number Diff line number Diff line change 11export const defaultLang = "pl-PL" ;
2+
3+ export const langs = [
4+ "pl-PL" ,
5+ "en"
6+ ]
Original file line number Diff line number Diff line change 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
44document . getElementsByClassName ( "hamburger-button" ) [ 0 ] . addEventListener ( "click" , ( ) => {
55 document . getElementsByClassName ( "hamburger-menu" ) [ 0 ] . classList . toggle ( "hamburger-menu-open" ) ;
You can’t perform that action at this time.
0 commit comments