diff --git a/src/components/Image.svelte b/src/components/Image.svelte
new file mode 100644
index 0000000..634e2d1
--- /dev/null
+++ b/src/components/Image.svelte
@@ -0,0 +1,46 @@
+
+
+
+
+{#if href}
+
+
+
+{:else}
+
+{/if}
\ No newline at end of file
diff --git a/src/components/layout/FullWidthBanner.svelte b/src/components/layout/FullWidthBanner.svelte
new file mode 100644
index 0000000..29fa42e
--- /dev/null
+++ b/src/components/layout/FullWidthBanner.svelte
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/lib/i18n.js b/src/lib/i18n.js
index 25fff8d..e5fa286 100644
--- a/src/lib/i18n.js
+++ b/src/lib/i18n.js
@@ -5,13 +5,11 @@ const savedLang = typeof window !== 'undefined'
? localStorage.getItem('language') || 'est'
: 'est';
-// Store for current language
export const currentLang = writable(savedLang);
// Store for translations
export const text = writable({});
-// Load translations for a specific language
async function loadTranslations(lang) {
try {
const response = await fetch(`/locales/${lang}.json`);
@@ -22,10 +20,8 @@ async function loadTranslations(lang) {
}
}
-// Initialize translations
loadTranslations(savedLang);
-// Function to switch language
export function switchLang(lang) {
currentLang.set(lang);
loadTranslations(lang);