diff --git a/.prettierrc.cjs b/.prettierrc.cjs new file mode 100644 index 0000000..6463d62 --- /dev/null +++ b/.prettierrc.cjs @@ -0,0 +1,3 @@ +module.exports = { + plugins: [require('prettier-plugin-svelte')], +} \ No newline at end of file diff --git a/README.md b/README.md index 2d31912..e586902 100644 --- a/README.md +++ b/README.md @@ -30,3 +30,15 @@ npm run prettier ``` Otherwise, the [GitHub Action](.github/workflows/ci.yaml) will create a commit in your branch with a cleanup. + +## Setting the CORS + +### Troubleshooting `aws` + +``` +ls /opt/homebrew/Cellar/awscli/ +/opt/homebrew/Cellar/awscli/${VERSION}/libexec/bin/python3 -m ensurepip --upgrade +/opt/homebrew/Cellar/awscli/${VERSION}/libexec/bin/python3 -m pip install awscli-plugin-endpoint +``` + +Update `~/.aws/config` with `cli_legacy_plugin_path = /opt/homebrew/Cellar/awscli/${VERSION}/libexec/lib/python3.11/site-packages` \ No newline at end of file diff --git a/cors-rules.json b/cors-rules.json index 772837e..4c1355e 100644 --- a/cors-rules.json +++ b/cors-rules.json @@ -8,7 +8,7 @@ "https://staging.gaiacharge.com", "https://partner.gaiacharge.com", "https://partner.staging.gaiagreen.dev", - "https://website-go7pwvgrd-gaia-charge.vercel.app", + "https://website-mlhicv43r-gaia-charge.vercel.app", "https://41ce7c90fae7.ngrok.app" ], "AllowedHeaders": [ diff --git a/package-lock.json b/package-lock.json index ea215a3..6fa2982 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,6 +12,7 @@ "@sentry/browser": "^8.7.0", "@sentry/sveltekit": "^8.7.0", "@sentry/tracing": "^7.71.0", + "aos": "^2.3.4", "axios": "^1.5.0", "negotiator": "^0.6.3", "siema": "^1.5.1", @@ -20,14 +21,15 @@ }, "devDependencies": { "@accuser/svelte-plausible-analytics": "^1.0.0", - "@beyonk/gdpr-cookie-consent-banner": "^10.2.1", - "@beyonk/svelte-hubspot": "^0.5.0", + "@beyonk/gdpr-cookie-consent-banner": "^12.1.4", "@sveltejs/adapter-auto": "^3.0.0", "@sveltejs/kit": "^2.0.0", "@sveltejs/vite-plugin-svelte": "^3.0.0", "autoprefixer": "^10.4.16", "npm-run-all": "^4.1.5", "postcss": "^8.4.30", + "postcss-import": "^16.1.0", + "postcss-nesting": "^12.1.5", "prettier": "^3.0.3", "prettier-plugin-svelte": "^3.0.3", "svelte": "^4.2.1", @@ -353,31 +355,57 @@ "node": ">=6.9.0" } }, - "node_modules/@beyonk/async-script-loader": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/@beyonk/async-script-loader/-/async-script-loader-2.3.0.tgz", - "integrity": "sha512-/vbDM5j8OHmtnWLx87sef0T/jGWVvZV6ILm3QFLpfRwSg0KmhQoAZnOT4XSaUL/EjOC9eMzgX5qtS2jztKzY2A==", - "dev": true - }, "node_modules/@beyonk/gdpr-cookie-consent-banner": { - "version": "10.2.1", - "resolved": "https://registry.npmjs.org/@beyonk/gdpr-cookie-consent-banner/-/gdpr-cookie-consent-banner-10.2.1.tgz", - "integrity": "sha512-vpqzaVhEgby4M13NgYAyeqmPbWkEE8ix1nr44ID5m01q0D6XaD3M/fTxYIP01dZvHoAulJW6SpmfaEPeuaILpg==", + "version": "12.1.4", + "resolved": "https://registry.npmjs.org/@beyonk/gdpr-cookie-consent-banner/-/gdpr-cookie-consent-banner-12.1.4.tgz", + "integrity": "sha512-W4S50psrX5WMAihwwqFsnNzL0ZF91OHv4EuIMelTD4yTMU09qTU1cKgUJ7Tt8qRvIyTzfbPwiXGrDYUtFJuOtw==", "dev": true, "dependencies": { "js-cookie": "^3.0.1" + } + }, + "node_modules/@csstools/selector-resolve-nested": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@csstools/selector-resolve-nested/-/selector-resolve-nested-1.1.0.tgz", + "integrity": "sha512-uWvSaeRcHyeNenKg8tp17EVDRkpflmdyvbE0DHo6D/GdBb6PDnCYYU6gRpXhtICMGMcahQmj2zGxwFM/WC8hCg==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/csstools" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + } + ], + "engines": { + "node": "^14 || ^16 || >=18" }, "peerDependencies": { - "svelte": "^3.54.0 || ^4.0.0" + "postcss-selector-parser": "^6.0.13" } }, - "node_modules/@beyonk/svelte-hubspot": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/@beyonk/svelte-hubspot/-/svelte-hubspot-0.5.0.tgz", - "integrity": "sha512-YyRYtjaA+vnQ4kpVgwf3fCUKqH2Tkt68Apvpq8FfBFQCeq8PsvxOJCMsTB69Hl2WmSN6ljZChyGwiDpmnXRh0g==", + "node_modules/@csstools/selector-specificity": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-3.1.1.tgz", + "integrity": "sha512-a7cxGcJ2wIlMFLlh8z2ONm+715QkPHiyJcxwQlKOz/03GPw1COpfhcmC9wm4xlZfp//jWHNNMwzjtqHXVWU9KA==", "dev": true, - "dependencies": { - "@beyonk/async-script-loader": "^2.2.1" + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/csstools" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + } + ], + "engines": { + "node": "^14 || ^16 || >=18" + }, + "peerDependencies": { + "postcss-selector-parser": "^6.0.13" } }, "node_modules/@esbuild/aix-ppc64": { @@ -2256,6 +2284,16 @@ "node": ">= 8" } }, + "node_modules/aos": { + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/aos/-/aos-2.3.4.tgz", + "integrity": "sha512-zh/ahtR2yME4I51z8IttIt4lC1Nw0ktsFtmeDzID1m9naJnWXhCoARaCgNOGXb5CLy3zm+wqmRAEgMYB5E2HUw==", + "dependencies": { + "classlist-polyfill": "^1.0.3", + "lodash.debounce": "^4.0.6", + "lodash.throttle": "^4.0.1" + } + }, "node_modules/arg": { "version": "5.0.2", "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz", @@ -2567,6 +2605,11 @@ "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.3.1.tgz", "integrity": "sha512-a3KdPAANPbNE4ZUv9h6LckSl9zLsYOP4MBmhIPkRaeyybt+r4UghLvq+xw/YwUcC1gqylCkL4rdVs3Lwupjm4Q==" }, + "node_modules/classlist-polyfill": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/classlist-polyfill/-/classlist-polyfill-1.2.0.tgz", + "integrity": "sha512-GzIjNdcEtH4ieA2S8NmrSxv7DfEV5fmixQeyTmqmRmRJPGpRBaSnA2a0VrCjyT8iW8JjEdMbKzDotAJf+ajgaQ==" + }, "node_modules/cli-color": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/cli-color/-/cli-color-2.0.4.tgz", @@ -4118,11 +4161,21 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/lodash.debounce": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", + "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==" + }, "node_modules/lodash.merge": { "version": "4.6.2", "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==" }, + "node_modules/lodash.throttle": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/lodash.throttle/-/lodash.throttle-4.1.1.tgz", + "integrity": "sha512-wIkUCfVKpVsWo3JSZlc+8MB5it+2AN5W8J7YVMST30UrvcQNZ1Okbj+rbVniijTWE6FGYy4XJq/rHkas8qJMLQ==" + }, "node_modules/lru-cache": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", @@ -4807,9 +4860,9 @@ } }, "node_modules/postcss-import": { - "version": "15.1.0", - "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-15.1.0.tgz", - "integrity": "sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==", + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-16.1.0.tgz", + "integrity": "sha512-7hsAZ4xGXl4MW+OKEWCnF6T5jqBw80/EE9aXg1r2yyn1RsVEU8EtKXbijEODa+rg7iih4bKf7vlvTGYR4CnPNg==", "dev": true, "dependencies": { "postcss-value-parser": "^4.0.0", @@ -4817,7 +4870,7 @@ "resolve": "^1.1.7" }, "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" }, "peerDependencies": { "postcss": "^8.0.0" @@ -4908,6 +4961,33 @@ "postcss": "^8.2.14" } }, + "node_modules/postcss-nesting": { + "version": "12.1.5", + "resolved": "https://registry.npmjs.org/postcss-nesting/-/postcss-nesting-12.1.5.tgz", + "integrity": "sha512-N1NgI1PDCiAGWPTYrwqm8wpjv0bgDmkYHH72pNsqTCv9CObxjxftdYu6AKtGN+pnJa7FQjMm3v4sp8QJbFsYdQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/csstools" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + } + ], + "dependencies": { + "@csstools/selector-resolve-nested": "^1.1.0", + "@csstools/selector-specificity": "^3.1.1", + "postcss-selector-parser": "^6.1.0" + }, + "engines": { + "node": "^14 || ^16 || >=18" + }, + "peerDependencies": { + "postcss": "^8.4" + } + }, "node_modules/postcss-selector-parser": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.0.tgz", @@ -5935,6 +6015,23 @@ "node": ">=14.0.0" } }, + "node_modules/tailwindcss/node_modules/postcss-import": { + "version": "15.1.0", + "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-15.1.0.tgz", + "integrity": "sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==", + "dev": true, + "dependencies": { + "postcss-value-parser": "^4.0.0", + "read-cache": "^1.0.0", + "resolve": "^1.1.7" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "postcss": "^8.0.0" + } + }, "node_modules/thenify": { "version": "3.3.1", "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz", diff --git a/package.json b/package.json index a6a0ff5..99ba559 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "cy:run": "cypress run", "cy:open": "cypress open", "test": "run-p --race dev cy:run", - "prettier": "prettier --write **/*.{js,md,svelte}", + "prettier": "prettier --write **/*.{css,js,md,svelte}", "i18n:extract": "svelte-i18n extract 'src/**/*.svelte' > src/services/messages/en.json" }, "dependencies": { @@ -18,6 +18,7 @@ "@sentry/browser": "^8.7.0", "@sentry/sveltekit": "^8.7.0", "@sentry/tracing": "^7.71.0", + "aos": "^2.3.4", "axios": "^1.5.0", "negotiator": "^0.6.3", "siema": "^1.5.1", @@ -26,14 +27,15 @@ }, "devDependencies": { "@accuser/svelte-plausible-analytics": "^1.0.0", - "@beyonk/gdpr-cookie-consent-banner": "^10.2.1", - "@beyonk/svelte-hubspot": "^0.5.0", + "@beyonk/gdpr-cookie-consent-banner": "^12.1.4", "@sveltejs/adapter-auto": "^3.0.0", "@sveltejs/kit": "^2.0.0", "@sveltejs/vite-plugin-svelte": "^3.0.0", "autoprefixer": "^10.4.16", "npm-run-all": "^4.1.5", "postcss": "^8.4.30", + "postcss-import": "^16.1.0", + "postcss-nesting": "^12.1.5", "prettier": "^3.0.3", "prettier-plugin-svelte": "^3.0.3", "svelte": "^4.2.1", @@ -46,4 +48,4 @@ "last 2 versions", "not ie < 10" ] -} \ No newline at end of file +} diff --git a/postcss.config.js b/postcss.config.js index 2e7af2b..68884fa 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -2,5 +2,7 @@ export default { plugins: { tailwindcss: {}, autoprefixer: {}, + 'postcss-import': {}, + 'postcss-nesting': {}, }, } diff --git a/src/app.css b/src/app.css index 7c0e6c9..e3e05e8 100644 --- a/src/app.css +++ b/src/app.css @@ -1,43 +1,4 @@ -@tailwind base; -@tailwind components; -@tailwind utilities; +@import "./styles/_main.css"; +@import "./styles/dots.css"; +@import "./styles/cookies.css"; -body { - background: theme(colors.gray); - overflow-x: hidden; -} - -section { - scroll-margin-block-start: 6rem; -} - -@media only screen and (max-width: 431px) { - body{ - width: 100vw; - } - .w-full { - height: 100vh; - } - h1{ - font-size: 40px !important; - line-height: 48px !important; - } - p{ - font-size: 18px !important; - line-height: 28px !important; - } - #svelte{ - overflow: hidden; - } - .contact{ - width: 190px !important; - height: 60px; - margin-block-start: 48px !important; - padding: 16px 26px !important;; - font-size: 18px !important;; - line-height: 28px !important; - } - .contact img { - width: 16px !important; - } -} \ No newline at end of file diff --git a/src/app.html b/src/app.html index 829e98e..94e6a78 100644 --- a/src/app.html +++ b/src/app.html @@ -23,6 +23,8 @@ + + %sveltekit.head% diff --git a/src/components/Analytics.svelte b/src/components/Analytics.svelte index 3006daa..674d0d1 100644 --- a/src/components/Analytics.svelte +++ b/src/components/Analytics.svelte @@ -1,11 +1,8 @@ {#if !$isLoading} @@ -33,7 +28,8 @@ default: "We value your privacy", })} description={$_("gdpr.description", { - default: "We use cookies to enhance your browsing experience, serve personalized ads or content, and analyze our traffic. By clicking \"Confirm all\", you consent to our use of cookies.", + default: + 'We use cookies to enhance your browsing experience, serve personalized ads or content, and analyze our traffic. By clicking "Confirm all", you consent to our use of cookies.', })} acceptLabel={$_("gdpr.accept", { default: "Accept all", @@ -60,7 +56,6 @@ }), value: true, }, - tracking: { label: $_("gdpr.choices.tracking.label", { default: "Tracking cookies", @@ -93,76 +88,6 @@ on:analytics={initAnalytics} on:marketing={initMarketing} /> + - {/if} - - diff --git a/src/components/Benefits.svelte b/src/components/Benefits.svelte index 15ee9e7..56a45af 100644 --- a/src/components/Benefits.svelte +++ b/src/components/Benefits.svelte @@ -18,22 +18,25 @@ document.getElementById("benefits-slider").scrollLeft += w; } } - let carousel; + let carousel; $: indexByDotBenefits = 0; export const checkPosition = (position) => { - if( position === 0 ) - indexByDotBenefits = 0; + if (position === 0) indexByDotBenefits = 0; else { - const w = document.getElementById("benefits-slider").scrollWidth / numberOfSlideBenefits; + const w = + document.getElementById("benefits-slider").scrollWidth / + numberOfSlideBenefits; indexByDotBenefits = Math.floor(position / w); } - } + }; export const goTo = (index) => { - const w = document.getElementById("benefits-slider").scrollWidth / numberOfSlideBenefits + const w = + document.getElementById("benefits-slider").scrollWidth / + numberOfSlideBenefits; const to = (index - indexByDotBenefits) * w; document.getElementById("benefits-slider").scrollLeft += to; indexByDotBenefits = index; - } + }; {#if !$isLoading} @@ -51,81 +54,67 @@
-
checkPosition(carousel.scrollLeft)} - class="mobile relative scroll-snap-slider w-auto mobile-view" id="benefits-slider"> +
checkPosition(carousel.scrollLeft)} + class="mobile relative scroll-snap-slider w-auto mobile-view" + id="benefits-slider" + >
-
    +
    {#each { length: numberOfSlideBenefits } as _, i} -
  • goTo(i)} - >
  • + > + {i} + {/each} -
+
{/if} diff --git a/src/components/BenefitsCards.svelte b/src/components/BenefitsCards.svelte index cca44e0..c260b34 100644 --- a/src/components/BenefitsCards.svelte +++ b/src/components/BenefitsCards.svelte @@ -4,7 +4,6 @@ {#if !$isLoading} -
@@ -43,11 +42,7 @@
- To + To

{$_("whatForYou.card2.title2", { default: "invest anything", @@ -71,11 +66,7 @@

- To + To

{$_("whatForYou.card3.title2", { default: "control", @@ -99,11 +90,7 @@

- To + To

{$_("whatForYou.card4.title2", { default: "the future", @@ -127,11 +114,7 @@

- To + To

{$_("whatForYou.card5.title2", { default: "leader", @@ -148,12 +131,10 @@ {/if} diff --git a/src/components/Contact.svelte b/src/components/Contact.svelte index f128cff..1d701ec 100644 --- a/src/components/Contact.svelte +++ b/src/components/Contact.svelte @@ -1,7 +1,7 @@ {#if !$isLoading}
{#if contactStatus} -
+

{#if contactStatus !== "error"} {$_("contact.thankYouMsg", { @@ -55,7 +55,12 @@

-
+
- + {#if errors.email} {errors.email} {/if} @@ -171,10 +182,6 @@ {/if} diff --git a/src/components/Guarantee.svelte b/src/components/Guarantee.svelte index e91be30..a914e5c 100644 --- a/src/components/Guarantee.svelte +++ b/src/components/Guarantee.svelte @@ -40,20 +40,20 @@ padding-inline-start: 32px; } .image { - height: 150px; - margin-inline-end: 49%; - } - .title { - font-size: 21px; - line-height: 28px; - color: #0D2823; - margin-block-end: 16px; - } - .sub-title { - font-size: 18px; - line-height: 28px; - font-weight: 400; - width: 70%; + height: 150px; + margin-inline-end: 49%; + } + .title { + font-size: 21px; + line-height: 28px; + color: #0d2823; + margin-block-end: 16px; + } + .sub-title { + font-size: 18px; + line-height: 28px; + font-weight: 400; + width: 70%; + } } -} diff --git a/src/components/Guarantees.svelte b/src/components/Guarantees.svelte index 1c0bc68..04bce7d 100644 --- a/src/components/Guarantees.svelte +++ b/src/components/Guarantees.svelte @@ -30,23 +30,23 @@ document.getElementById("guarantee-slider").scrollLeft += w; } } - let carousel; + let carousel; $: indexByDot = 0; export const checkPosition = (position) => { - if( position === 0 ) - indexByDot = 0; + if (position === 0) indexByDot = 0; else { - const w = document.getElementById("guarantee-slider").scrollWidth / numberOfSlide; + const w = + document.getElementById("guarantee-slider").scrollWidth / numberOfSlide; indexByDot = Math.floor(position / w); } - } + }; export const goTo = (index) => { - const w = document.getElementById("guarantee-slider").scrollWidth / numberOfSlide + const w = + document.getElementById("guarantee-slider").scrollWidth / numberOfSlide; const to = (index - indexByDot) * w; document.getElementById("guarantee-slider").scrollLeft += to; indexByDot = index; - } - + }; {#if !$isLoading} @@ -58,8 +58,12 @@

-
checkPosition(carousel.scrollLeft)} class="relative scroll-snap-slider w-auto mobile-view" id="guarantee-slider"> +
checkPosition(carousel.scrollLeft)} + class="relative scroll-snap-slider w-auto mobile-view" + id="guarantee-slider" + >
-
-
    - {#each { length: numberOfSlide } as _, i} -
  • goTo(i)} - >
  • - {/each} -
+ +
+ {#each { length: numberOfSlide } as _, i} + + {/each} +
{/if} diff --git a/src/components/Hero.svelte b/src/components/Hero.svelte index 07113d6..307311e 100644 --- a/src/components/Hero.svelte +++ b/src/components/Hero.svelte @@ -7,16 +7,16 @@ {#if !$isLoading} -
- - - Gaia Charge illustration - - +
+ + + Gaia Charge illustration + +

{$_("hero.title", { @@ -49,18 +49,10 @@ {/if} diff --git a/src/components/HowToStart.svelte b/src/components/HowToStart.svelte index e631779..4666c36 100644 --- a/src/components/HowToStart.svelte +++ b/src/components/HowToStart.svelte @@ -2,6 +2,30 @@ import { _, isLoading } from "svelte-i18n"; import cloud from "$lib/assets/svg/Cloud.svg"; import cloudMobile from "$lib/assets/svg/cloudMobile.svg"; + + export let list = [ + { text: 'hts01', textDefault: "Informes de uso" }, + { text: 'hts02', textDefault: "Mejoreas del equipamientro", style: "large" }, + { text: 'hts03', textDefault: "Actuzaliaciones" }, + { text: 'hts04', textDefault: "Conexión a la red" }, + { text: 'hts05', textDefault: "Consultoría de negocios" }, + { text: 'hts06', textDefault: "Preparación del proyecto" }, + { text: 'hts07', textDefault: "Facturación" }, + { text: 'hts08', textDefault: "Señalización" }, + { text: 'hts09', textDefault: "Integraciones con sistemas propios", style: "large" }, + { text: 'hts10', textDefault: "Mantenimiento Preventivo" }, + { text: 'hts11', textDefault: "Rotación de certificados" }, + { text: 'hts12', textDefault: "Viabilidad técnica" }, + { text: 'hts13', textDefault: "Monitoreo de estado", style: "large" }, + { text: 'hts14', textDefault: "Cambios de legislación" }, + ]; + + const min = -12; + const max = 12; + + const getRandomAngle = () => { + return Math.round(Math.random() * (max - min) + min); + }; {#if !$isLoading} @@ -20,28 +44,28 @@

-
- - - - {$_("howToStart.alt", - - +
+ {#each list as item, i} +
+
+ {$_(`howToStart.list.${item.text}`, { + default: item.textDefault, + })} +
+
+ {/each}
{/if} diff --git a/src/components/HubspotForm.svelte b/src/components/HubspotForm.svelte index 1f4e715..3c9513b 100644 --- a/src/components/HubspotForm.svelte +++ b/src/components/HubspotForm.svelte @@ -36,9 +36,7 @@ - +
diff --git a/src/components/Nav.svelte b/src/components/Nav.svelte index f89e161..55c28b0 100644 --- a/src/components/Nav.svelte +++ b/src/components/Nav.svelte @@ -2,30 +2,28 @@ import { locale, locales } from "svelte-i18n"; import { _, isLoading } from "svelte-i18n"; import logo from "$lib/assets/svg/logo.svg"; - import menuMobile from "$lib/assets/svg/mobile-menu.svg"; - import SideBar from './menu/SideBar.svelte'; - import Hamburger from './menu/Hamburger.svelte'; - export let sidebar = false + import SideBar from "./menu/SideBar.svelte"; + import Hamburger from "./menu/Hamburger.svelte"; + export let sidebar = false; - - -