diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/Cropwatch-website.iml b/.idea/Cropwatch-website.iml new file mode 100644 index 0000000..24643cc --- /dev/null +++ b/.idea/Cropwatch-website.iml @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml new file mode 100644 index 0000000..5055868 --- /dev/null +++ b/.idea/codeStyles/Project.xml @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml new file mode 100644 index 0000000..79ee123 --- /dev/null +++ b/.idea/codeStyles/codeStyleConfig.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..03d9549 --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..a1da8a1 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/prettier.xml b/.idea/prettier.xml new file mode 100644 index 0000000..b0c1c68 --- /dev/null +++ b/.idea/prettier.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/package.json b/package.json index 460ae97..2fbbff6 100644 --- a/package.json +++ b/package.json @@ -46,6 +46,7 @@ }, "dependencies": { "@inlang/paraglide-sveltekit": "^0.15.5", + "@lucide/svelte": "^0.511.0", "nodemailer": "^6.10.0", "recaptcha-v3": "^1.11.3" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 74230ca..e1f1b39 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -11,6 +11,9 @@ importers: '@inlang/paraglide-sveltekit': specifier: ^0.15.5 version: 0.15.5(@sveltejs/kit@2.16.0(@sveltejs/vite-plugin-svelte@4.0.4(svelte@5.18.0)(vite@5.4.11(@types/node@22.10.7)))(svelte@5.18.0)(vite@5.4.11(@types/node@22.10.7))) + '@lucide/svelte': + specifier: ^0.511.0 + version: 0.511.0(svelte@5.18.0) nodemailer: specifier: ^6.10.0 version: 6.10.0 @@ -575,6 +578,11 @@ packages: '@lix-js/fs@2.2.0': resolution: {integrity: sha512-B9X3FjD8WmdG7tbA44JuniSO0KdKBWnjfxl8zpgrDCkavrp/GP7U0xxBkc0WgeeoHjQ/pkqq9VqtWB2kS9jIUg==} + '@lucide/svelte@0.511.0': + resolution: {integrity: sha512-aLCSPMUJmHlCuLXzXENXa4Z1NV2mN1iAZAFKk4bEbey+/MdsNlu+/DqwVkgW3Yvj6p8y8Vn5xZ2v9CLmPlA6Vw==} + peerDependencies: + svelte: ^5 + '@mapbox/node-pre-gyp@2.0.0-rc.0': resolution: {integrity: sha512-nhSMNprz3WmeRvd8iUs5JqkKr0Ncx46JtPxM3AhXes84XpSJfmIwKeWXRpsr53S7kqPkQfPhzrMFUxSNb23qSA==} engines: {node: '>=18'} @@ -2898,6 +2906,10 @@ snapshots: dependencies: typescript: 5.2.2 + '@lucide/svelte@0.511.0(svelte@5.18.0)': + dependencies: + svelte: 5.18.0 + '@mapbox/node-pre-gyp@2.0.0-rc.0': dependencies: consola: 3.4.0 diff --git a/src/lib/components/UI/Header.svelte b/src/lib/components/UI/Header.svelte index 89de99f..cedadae 100644 --- a/src/lib/components/UI/Header.svelte +++ b/src/lib/components/UI/Header.svelte @@ -1,92 +1,239 @@ - -
- -
- - - CropWatch Logo -

- CropWatch® -

-
- - - - - - - - -
- -
-
- - - {#if isMenuOpen} - - {/if} + +{#if announcementVisible} +
+
+
+ + + + New: Enhanced LoRaWAN connectivity now available! + Learn more → +
+ +
+
+{/if} + + +
+ +
+ + +
+ +
+
+
+ +
+ + +
+
+
+ +
+ Home + + + + IoT Solutions +
+ + + +
+
+
+ + +{#if mobileMenuOpen} +
+ +
+{/if} + + \ No newline at end of file diff --git a/src/lib/components/UI/LanguagePicker.svelte b/src/lib/components/UI/LanguagePicker.svelte index f12bb66..7dc0518 100644 --- a/src/lib/components/UI/LanguagePicker.svelte +++ b/src/lib/components/UI/LanguagePicker.svelte @@ -45,7 +45,7 @@