From 3bb66c70603fc10f45456beb9d518b4b651c3a1e Mon Sep 17 00:00:00 2001 From: prototypa Date: Wed, 10 Aug 2022 18:40:54 -0400 Subject: [PATCH] Run prettier in all files --- README.md | 3 +- astro.config.mjs | 16 +- package-lock.json | 243 +++++++++++++++++- package.json | 9 +- src/components/astro/ctas/BasicCTA.astro | 16 +- .../astro/features/BasicFeatures.astro | 223 +++++++++++----- .../astro/features/StepsFeatures.astro | 50 ++-- .../astro/footers/BasicFooter.astro | 217 +++++++++++----- .../astro/headers/BasicHeader.astro | 75 ++++-- src/components/astro/hero/HeroWithImage.astro | 51 ++-- .../astro/icons/IconArrowRight.astro | 18 +- src/components/astro/icons/IconFacebook.astro | 22 +- src/components/astro/icons/IconGithub.astro | 22 +- .../astro/icons/IconInstagram.astro | 18 +- src/components/astro/icons/IconMenu.astro | 23 +- src/components/astro/icons/IconSun.astro | 22 +- src/components/astro/icons/IconTwitter.astro | 21 +- src/components/astro/icons/index.js | 18 +- src/layouts/Layout.astro | 156 ++++++----- src/pages/index.astro | 20 +- src/styles/base.css | 2 +- tailwind.config.js | 14 +- 22 files changed, 925 insertions(+), 334 deletions(-) diff --git a/README.md b/README.md index 28bf30a..8176b20 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,6 @@ A template to make your website using Astro + Tailwind CSS. - 100 SEO - Production ready Google PageSpeed Insights -
## 🚀 Project Structure @@ -64,7 +63,7 @@ Any static assets, like images, can be placed in the `public/` directory. All commands are run from the root of the project, from a terminal: | Command | Action | -|:---------------- |:-------------------------------------------- | +| :---------------- | :------------------------------------------- | | `npm install` | Installs dependencies | | `npm run dev` | Starts local dev server at `localhost:3000` | | `npm run build` | Build your production site to `./dist/` | diff --git a/astro.config.mjs b/astro.config.mjs index b998cc2..c2bd8b0 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -8,9 +8,13 @@ import image from "@astrojs/image"; export default defineConfig({ // Astro uses this full URL to generate your sitemap and canonical URLs in your final build site: "https://astrowind.vercel.app/", - integrations: [tailwind({ - config: { - applyBaseStyles: false - } - }), sitemap({}), image()] -}); \ No newline at end of file + integrations: [ + tailwind({ + config: { + applyBaseStyles: false, + }, + }), + sitemap({}), + image(), + ], +}); diff --git a/package-lock.json b/package-lock.json index 3be65fd..cc73b2b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,17 +1,19 @@ { "name": "@onwidget/astrowind", - "version": "0.0.9", + "version": "0.0.10", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@onwidget/astrowind", - "version": "0.0.9", + "version": "0.0.10", "devDependencies": { "@astrojs/image": "^0.3.3", "@astrojs/sitemap": "^1.0.0", "@astrojs/tailwind": "^1.0.0", "astro": "^1.0.0", + "prettier": "^2.7.1", + "prettier-plugin-astro": "^0.5.0", "subfont": "^6.9.0" } }, @@ -744,6 +746,26 @@ "node": ">= 8" } }, + "node_modules/@pkgr/utils": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@pkgr/utils/-/utils-2.3.0.tgz", + "integrity": "sha512-7dIJ9CRVzBnqyEl7diUHPUFJf/oty2SeoVzcMocc5PeOUDK9KGzvgIBjGRRzzlRDaOjh3ADwH0WeibQvi3ls2Q==", + "dev": true, + "dependencies": { + "cross-spawn": "^7.0.3", + "is-glob": "^4.0.3", + "open": "^8.4.0", + "picocolors": "^1.0.0", + "tiny-glob": "^0.2.9", + "tslib": "^2.4.0" + }, + "engines": { + "node": "^12.20.0 || ^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/unts" + } + }, "node_modules/@polka/url": { "version": "1.0.0-next.21", "resolved": "https://registry.npmjs.org/@polka/url/-/url-1.0.0-next.21.tgz", @@ -2525,6 +2547,15 @@ "clone": "^1.0.2" } }, + "node_modules/define-lazy-prop": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz", + "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==", + "dev": true, + "engines": { + "node": ">=8" + } + }, "node_modules/define-properties": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz", @@ -6641,6 +6672,38 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/open": { + "version": "8.4.0", + "resolved": "https://registry.npmjs.org/open/-/open-8.4.0.tgz", + "integrity": "sha512-XgFPPM+B28FtCCgSb9I+s9szOC1vZRSwgWsRUA5ylIxRTgKozqjOCrVOqGsYABPYK5qnfqClxZTFBa8PKt2v6Q==", + "dev": true, + "dependencies": { + "define-lazy-prop": "^2.0.0", + "is-docker": "^2.1.1", + "is-wsl": "^2.2.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/open/node_modules/is-docker": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", + "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", + "dev": true, + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/optionator": { "version": "0.8.3", "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz", @@ -7577,6 +7640,43 @@ "node": ">= 0.8.0" } }, + "node_modules/prettier": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz", + "integrity": "sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==", + "dev": true, + "bin": { + "prettier": "bin-prettier.js" + }, + "engines": { + "node": ">=10.13.0" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, + "node_modules/prettier-plugin-astro": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/prettier-plugin-astro/-/prettier-plugin-astro-0.5.0.tgz", + "integrity": "sha512-wBDZs0hlPWQDc7P7VmGe8pImci6F434Wd/otfLJwvCSXRb9J7AhmAigXhm5WPgCJuBA509Ovo/Ed+LAgZy4KWg==", + "dev": true, + "dependencies": { + "@astrojs/compiler": "^0.19.0", + "prettier": "^2.7.1", + "sass-formatter": "^0.7.2", + "synckit": "^0.7.0" + }, + "engines": { + "node": "^14.15.0 || >=16.0.0", + "npm": ">=6.14.0" + } + }, + "node_modules/prettier-plugin-astro/node_modules/@astrojs/compiler": { + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@astrojs/compiler/-/compiler-0.19.0.tgz", + "integrity": "sha512-8nvyxZTfCXLyRmYfTttpJT6EPhfBRg0/q4J/Jj3/pNPLzp+vs05ZdktsY6QxAREaOMAnNEtSqcrB4S5DsXOfRg==", + "dev": true + }, "node_modules/pretty-bytes": { "version": "5.6.0", "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-5.6.0.tgz", @@ -8376,6 +8476,12 @@ "queue-microtask": "^1.2.2" } }, + "node_modules/s.color": { + "version": "0.0.15", + "resolved": "https://registry.npmjs.org/s.color/-/s.color-0.0.15.tgz", + "integrity": "sha512-AUNrbEUHeKY8XsYr/DYpl+qk5+aM+DChopnWOPEzn8YKzOhv4l2zH6LzZms3tOZP3wwdOyc0RmTciyi46HLIuA==", + "dev": true + }, "node_modules/sade": { "version": "1.8.1", "resolved": "https://registry.npmjs.org/sade/-/sade-1.8.1.tgz", @@ -8414,6 +8520,15 @@ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", "dev": true }, + "node_modules/sass-formatter": { + "version": "0.7.5", + "resolved": "https://registry.npmjs.org/sass-formatter/-/sass-formatter-0.7.5.tgz", + "integrity": "sha512-NKFP8ddjhUYi6A/iD1cEtzkEs91U61kzqe3lY9SVNuvX7LGc88xnEN0mmsWL7Ol//YTi2GL/ol7b9XZ2+hgXuA==", + "dev": true, + "dependencies": { + "suf-log": "^2.5.3" + } + }, "node_modules/sax": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", @@ -9056,6 +9171,15 @@ "p-limit": "^3.1.0" } }, + "node_modules/suf-log": { + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/suf-log/-/suf-log-2.5.3.tgz", + "integrity": "sha512-KvC8OPjzdNOe+xQ4XWJV2whQA0aM1kGVczMQ8+dStAO6KfEB140JEVQ9dE76ONZ0/Ylf67ni4tILPJB41U0eow==", + "dev": true, + "dependencies": { + "s.color": "0.0.15" + } + }, "node_modules/supports-color": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", @@ -9125,6 +9249,22 @@ "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==", "dev": true }, + "node_modules/synckit": { + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.7.3.tgz", + "integrity": "sha512-jNroMv7Juy+mJ/CHW5H6TzsLWpa1qck6sCHbkv8YTur+irSq2PjbvmGnm2gy14BUQ6jF33vyR4DPssHqmqsDQw==", + "dev": true, + "dependencies": { + "@pkgr/utils": "^2.3.0", + "tslib": "^2.4.0" + }, + "engines": { + "node": "^12.20.0 || ^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/unts" + } + }, "node_modules/tailwindcss": { "version": "3.1.4", "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.1.4.tgz", @@ -11342,6 +11482,20 @@ "fastq": "^1.6.0" } }, + "@pkgr/utils": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@pkgr/utils/-/utils-2.3.0.tgz", + "integrity": "sha512-7dIJ9CRVzBnqyEl7diUHPUFJf/oty2SeoVzcMocc5PeOUDK9KGzvgIBjGRRzzlRDaOjh3ADwH0WeibQvi3ls2Q==", + "dev": true, + "requires": { + "cross-spawn": "^7.0.3", + "is-glob": "^4.0.3", + "open": "^8.4.0", + "picocolors": "^1.0.0", + "tiny-glob": "^0.2.9", + "tslib": "^2.4.0" + } + }, "@polka/url": { "version": "1.0.0-next.21", "resolved": "https://registry.npmjs.org/@polka/url/-/url-1.0.0-next.21.tgz", @@ -12746,6 +12900,12 @@ "clone": "^1.0.2" } }, + "define-lazy-prop": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz", + "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==", + "dev": true + }, "define-properties": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz", @@ -15605,6 +15765,25 @@ "mimic-fn": "^4.0.0" } }, + "open": { + "version": "8.4.0", + "resolved": "https://registry.npmjs.org/open/-/open-8.4.0.tgz", + "integrity": "sha512-XgFPPM+B28FtCCgSb9I+s9szOC1vZRSwgWsRUA5ylIxRTgKozqjOCrVOqGsYABPYK5qnfqClxZTFBa8PKt2v6Q==", + "dev": true, + "requires": { + "define-lazy-prop": "^2.0.0", + "is-docker": "^2.1.1", + "is-wsl": "^2.2.0" + }, + "dependencies": { + "is-docker": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", + "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", + "dev": true + } + } + }, "optionator": { "version": "0.8.3", "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz", @@ -16220,6 +16399,32 @@ "integrity": "sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w==", "dev": true }, + "prettier": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz", + "integrity": "sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==", + "dev": true + }, + "prettier-plugin-astro": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/prettier-plugin-astro/-/prettier-plugin-astro-0.5.0.tgz", + "integrity": "sha512-wBDZs0hlPWQDc7P7VmGe8pImci6F434Wd/otfLJwvCSXRb9J7AhmAigXhm5WPgCJuBA509Ovo/Ed+LAgZy4KWg==", + "dev": true, + "requires": { + "@astrojs/compiler": "^0.19.0", + "prettier": "^2.7.1", + "sass-formatter": "^0.7.2", + "synckit": "^0.7.0" + }, + "dependencies": { + "@astrojs/compiler": { + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@astrojs/compiler/-/compiler-0.19.0.tgz", + "integrity": "sha512-8nvyxZTfCXLyRmYfTttpJT6EPhfBRg0/q4J/Jj3/pNPLzp+vs05ZdktsY6QxAREaOMAnNEtSqcrB4S5DsXOfRg==", + "dev": true + } + } + }, "pretty-bytes": { "version": "5.6.0", "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-5.6.0.tgz", @@ -16806,6 +17011,12 @@ "queue-microtask": "^1.2.2" } }, + "s.color": { + "version": "0.0.15", + "resolved": "https://registry.npmjs.org/s.color/-/s.color-0.0.15.tgz", + "integrity": "sha512-AUNrbEUHeKY8XsYr/DYpl+qk5+aM+DChopnWOPEzn8YKzOhv4l2zH6LzZms3tOZP3wwdOyc0RmTciyi46HLIuA==", + "dev": true + }, "sade": { "version": "1.8.1", "resolved": "https://registry.npmjs.org/sade/-/sade-1.8.1.tgz", @@ -16827,6 +17038,15 @@ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", "dev": true }, + "sass-formatter": { + "version": "0.7.5", + "resolved": "https://registry.npmjs.org/sass-formatter/-/sass-formatter-0.7.5.tgz", + "integrity": "sha512-NKFP8ddjhUYi6A/iD1cEtzkEs91U61kzqe3lY9SVNuvX7LGc88xnEN0mmsWL7Ol//YTi2GL/ol7b9XZ2+hgXuA==", + "dev": true, + "requires": { + "suf-log": "^2.5.3" + } + }, "sax": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", @@ -17323,6 +17543,15 @@ "p-limit": "^3.1.0" } }, + "suf-log": { + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/suf-log/-/suf-log-2.5.3.tgz", + "integrity": "sha512-KvC8OPjzdNOe+xQ4XWJV2whQA0aM1kGVczMQ8+dStAO6KfEB140JEVQ9dE76ONZ0/Ylf67ni4tILPJB41U0eow==", + "dev": true, + "requires": { + "s.color": "0.0.15" + } + }, "supports-color": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", @@ -17376,6 +17605,16 @@ "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==", "dev": true }, + "synckit": { + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.7.3.tgz", + "integrity": "sha512-jNroMv7Juy+mJ/CHW5H6TzsLWpa1qck6sCHbkv8YTur+irSq2PjbvmGnm2gy14BUQ6jF33vyR4DPssHqmqsDQw==", + "dev": true, + "requires": { + "@pkgr/utils": "^2.3.0", + "tslib": "^2.4.0" + } + }, "tailwindcss": { "version": "3.1.4", "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.1.4.tgz", diff --git a/package.json b/package.json index 663b8d7..326e725 100644 --- a/package.json +++ b/package.json @@ -1,19 +1,22 @@ { "name": "@onwidget/astrowind", "description": "A template to make your website using Astro + Tailwind CSS.", - "version": "0.0.9", + "version": "0.0.10", "private": true, "scripts": { "dev": "astro dev", "start": "astro dev", "build": "astro build && subfont -ir --no-fallbacks --root dist", - "preview": "astro preview" + "preview": "astro preview", + "pretty": "prettier --write ." }, "devDependencies": { "@astrojs/image": "^0.3.3", "@astrojs/sitemap": "^1.0.0", "@astrojs/tailwind": "^1.0.0", "astro": "^1.0.0", + "prettier": "^2.7.1", + "prettier-plugin-astro": "^0.5.0", "subfont": "^6.9.0" } -} +} \ No newline at end of file diff --git a/src/components/astro/ctas/BasicCTA.astro b/src/components/astro/ctas/BasicCTA.astro index 6ce15b0..a15ea89 100644 --- a/src/components/astro/ctas/BasicCTA.astro +++ b/src/components/astro/ctas/BasicCTA.astro @@ -1,15 +1,21 @@ --- - const { } = Astro.props; +const {} = Astro.props; ---
-

Astro + Tailwind CSS

-

Arcu cursus vitae congue mauris - rhoncus viverra nibh cras pulvinar mattis blandit libero cursus mattis.

+

+ Astro + Tailwind CSS +

+

+ Arcu cursus vitae congue mauris rhoncus viverra nibh cras pulvinar + mattis blandit libero cursus mattis. +

-
\ No newline at end of file + diff --git a/src/components/astro/features/BasicFeatures.astro b/src/components/astro/features/BasicFeatures.astro index c34fce2..e4dc064 100644 --- a/src/components/astro/features/BasicFeatures.astro +++ b/src/components/astro/features/BasicFeatures.astro @@ -1,145 +1,242 @@ --- - const { } = Astro.props; +const {} = Astro.props; ---
- +
-

+

Features

-

+

Most used Sections -

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum - dolore eu fugiat nulla pariatur excepteur sint occaecat cupidatat.

+

+ Duis aute irure dolor in reprehenderit in voluptate velit esse cillum + dolore eu fugiat nulla pariatur excepteur sint occaecat cupidatat. +

-
-
+
+
- + - + - - + + -
- Headers -
+
Headers

- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore. + Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do + eiusmod tempor incididunt ut labore et dolore.

-
+
- + - + - - + + -
- Footers -
+
Footers

- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore. + Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do + eiusmod tempor incididunt ut labore et dolore.

-
+
- + - + - - + + -
- Features -
+
Features

- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore. + Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do + eiusmod tempor incididunt ut labore et dolore.

-
+
- + - + - - + + -
- Call-to-Action -
+
Call-to-Action

- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore. + Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do + eiusmod tempor incididunt ut labore et dolore.

-
+
- + - + - - + + -
- Pricing -
+
Pricing

- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore. + Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do + eiusmod tempor incididunt ut labore et dolore.

-
+
- + - + - - + + -
- Testimonial -
+
Testimonial

- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore. + Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do + eiusmod tempor incididunt ut labore et dolore.

-
-
\ No newline at end of file + diff --git a/src/components/astro/features/StepsFeatures.astro b/src/components/astro/features/StepsFeatures.astro index 1425f63..7baa704 100644 --- a/src/components/astro/features/StepsFeatures.astro +++ b/src/components/astro/features/StepsFeatures.astro @@ -1,25 +1,29 @@ --- - const { } = Astro.props; +const {} = Astro.props; ---
-

- Sed ac magna sit amet risus tristique interdum, at vel velit in hac habitasse platea dictumst. + Sed ac magna sit amet risus tristique interdum, at vel velit in + hac habitasse platea dictumst.

- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sagittis, quam nec venenatis lobortis, mi - risus tempus nulla, sed porttitor est nibh at nulla. Praesent placerat enim ut ex tincidunt vehicula. - Fusce sit amet dui tellus. + Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi + sagittis, quam nec venenatis lobortis, mi risus tempus nulla, + sed porttitor est nibh at nulla. Praesent placerat enim ut ex + tincidunt vehicula. Fusce sit amet dui tellus.

-
@@ -29,7 +33,9 @@
  • - + 1
    @@ -37,38 +43,41 @@

    Responsive Elements

    -

    - All elements are responsive and provide the best display in all screen size. It's magic ! +

    + All elements are responsive and provide the best display in + all screen size. It's magic !

  • - + 2
    -

    - Flexible Team -

    +

    Flexible Team

    - Flexibility is the key. All team is available 24/24 and joinable every day on our hotline. + Flexibility is the key. All team is available 24/24 and + joinable every day on our hotline.

  • - + 3
    -

    - Ecologic Software -

    +

    Ecologic Software

    - Our Software are ecologic and responsable. Green is not just a color, it's a way of life. + Our Software are ecologic and responsable. Green is not just + a color, it's a way of life.

  • @@ -76,7 +85,6 @@
    -
    diff --git a/src/components/astro/footers/BasicFooter.astro b/src/components/astro/footers/BasicFooter.astro index c7cd9ba..9388a57 100644 --- a/src/components/astro/footers/BasicFooter.astro +++ b/src/components/astro/footers/BasicFooter.astro @@ -1,116 +1,193 @@ --- -import { IconTwitter, IconInstagram, IconFacebook, IconArrowRight } from "~/components/astro/icons"; -const { } = Astro.props; +import { + IconTwitter, + IconInstagram, + IconFacebook, + IconArrowRight, +} from "~/components/astro/icons"; +const {} = Astro.props; --- \ No newline at end of file + diff --git a/src/components/astro/headers/BasicHeader.astro b/src/components/astro/headers/BasicHeader.astro index ac2c3c1..6e1014b 100644 --- a/src/components/astro/headers/BasicHeader.astro +++ b/src/components/astro/headers/BasicHeader.astro @@ -1,56 +1,85 @@ --- import { IconSun, IconGithub, IconMenu } from "~/components/astro/icons"; -const { } = Astro.props; +const {} = Astro.props; ---
    - -
    + class="fixed top-0 z-40 flex-none mx-auto w-full bg-white/90 dark:bg-slate-900 backdrop-blur-sm border-b dark:border-b-0" +> +
    AstroWind + class="self-center ml-2 text-2xl font-extrabold text-gray-900 whitespace-nowrap dark:text-white" + >AstroWind +
    -
    -
    \ No newline at end of file + diff --git a/src/components/astro/hero/HeroWithImage.astro b/src/components/astro/hero/HeroWithImage.astro index 54bced6..b019e06 100644 --- a/src/components/astro/hero/HeroWithImage.astro +++ b/src/components/astro/hero/HeroWithImage.astro @@ -1,31 +1,46 @@ --- -import { Picture } from '@astrojs/image/components'; -const { } = Astro.props; +import { Picture } from "@astrojs/image/components"; +const {} = Astro.props; ---
    -

    +

    Your website with - Astro + - Tailwind + Astro + + + Tailwind +

    - A template to make your website using Astro + Tailwind CSS. Ready to start a new project and designed taking - into account best practices for SEO, great page speed, accessibility, dark mode, image + A template to make your website using Astro + Tailwind CSS. Ready to + start a new project and designed taking into account best practices + for SEO, great page speed, accessibility, dark mode, image optimization and automatic sitemap generation.

    - @@ -33,11 +48,17 @@ const { } = Astro.props;
    - +
    -
    \ No newline at end of file + diff --git a/src/components/astro/icons/IconArrowRight.astro b/src/components/astro/icons/IconArrowRight.astro index 7799671..c70277d 100644 --- a/src/components/astro/icons/IconArrowRight.astro +++ b/src/components/astro/icons/IconArrowRight.astro @@ -1,11 +1,21 @@ --- - const { className = "w-5 h-5" } = Astro.props; +const { className = "w-5 h-5" } = Astro.props; --- - + - \ No newline at end of file + diff --git a/src/components/astro/icons/IconFacebook.astro b/src/components/astro/icons/IconFacebook.astro index b89edd2..bff506a 100644 --- a/src/components/astro/icons/IconFacebook.astro +++ b/src/components/astro/icons/IconFacebook.astro @@ -1,9 +1,21 @@ --- - const { className = "w-5 h-5" } = Astro.props; +const { className = "w-5 h-5" } = Astro.props; --- - + - - \ No newline at end of file + + diff --git a/src/components/astro/icons/IconGithub.astro b/src/components/astro/icons/IconGithub.astro index f7b951a..4b65785 100644 --- a/src/components/astro/icons/IconGithub.astro +++ b/src/components/astro/icons/IconGithub.astro @@ -1,12 +1,22 @@ --- - const { className = "w-5 h-5" } = Astro.props; +const { className = "w-5 h-5" } = Astro.props; --- - + + d="M9 19c-4.3 1.4 -4.3 -2.5 -6 -3m12 5v-3.5c0 -1 .1 -1.4 -.5 -2c2.8 -.3 5.5 -1.4 5.5 -6a4.6 4.6 0 0 0 -1.3 -3.2a4.2 4.2 0 0 0 -.1 -3.2s-1.1 -.3 -3.5 1.3a12.3 12.3 0 0 0 -6.2 0c-2.4 -1.6 -3.5 -1.3 -3.5 -1.3a4.2 4.2 0 0 0 -.1 3.2a4.6 4.6 0 0 0 -1.3 3.2c0 4.6 2.7 5.7 5.5 6c-.6 .6 -.6 1.2 -.5 2v3.5" + > - \ No newline at end of file + diff --git a/src/components/astro/icons/IconInstagram.astro b/src/components/astro/icons/IconInstagram.astro index febab40..f90842d 100644 --- a/src/components/astro/icons/IconInstagram.astro +++ b/src/components/astro/icons/IconInstagram.astro @@ -1,11 +1,21 @@ --- - const { className = "w-5 h-5" } = Astro.props; +const { className = "w-5 h-5" } = Astro.props; --- - + - \ No newline at end of file + diff --git a/src/components/astro/icons/IconMenu.astro b/src/components/astro/icons/IconMenu.astro index 619d474..11efe4b 100644 --- a/src/components/astro/icons/IconMenu.astro +++ b/src/components/astro/icons/IconMenu.astro @@ -1,9 +1,20 @@ --- - const { className = "w-5 h-5" } = Astro.props; +const { className = "w-5 h-5" } = Astro.props; --- - - - - - \ No newline at end of file + + + + + diff --git a/src/components/astro/icons/IconSun.astro b/src/components/astro/icons/IconSun.astro index 3dd67e0..8ca7afb 100644 --- a/src/components/astro/icons/IconSun.astro +++ b/src/components/astro/icons/IconSun.astro @@ -1,10 +1,22 @@ --- - const { className = "w-5 h-5" } = Astro.props; +const { className = "w-5 h-5" } = Astro.props; --- - + - - \ No newline at end of file + + diff --git a/src/components/astro/icons/IconTwitter.astro b/src/components/astro/icons/IconTwitter.astro index 70d260f..b6310c9 100644 --- a/src/components/astro/icons/IconTwitter.astro +++ b/src/components/astro/icons/IconTwitter.astro @@ -1,11 +1,22 @@ --- - const { className = "w-5 h-5" } = Astro.props; +const { className = "w-5 h-5" } = Astro.props; --- - + + d="M22 4.01c-1 .49 -1.98 .689 -3 .99c-1.121 -1.265 -2.783 -1.335 -4.38 -.737s-2.643 2.06 -2.62 3.737v1c-3.245 .083 -6.135 -1.395 -8 -4c0 0 -4.182 7.433 4 11c-1.872 1.247 -3.739 2.088 -6 2c3.308 1.803 6.913 2.423 10.034 1.517c3.58 -1.04 6.522 -3.723 7.651 -7.742a13.84 13.84 0 0 0 .497 -3.753c-.002 -.249 1.51 -2.772 1.818 -4.013z" + > - \ No newline at end of file + diff --git a/src/components/astro/icons/index.js b/src/components/astro/icons/index.js index 2781b21..7b4cc16 100644 --- a/src/components/astro/icons/index.js +++ b/src/components/astro/icons/index.js @@ -1,10 +1,10 @@ -import IconSun from "./IconSun.astro" -import IconGithub from "./IconGithub.astro" -import IconTwitter from "./IconTwitter.astro" -import IconFacebook from "./IconFacebook.astro" -import IconInstagram from "./IconInstagram.astro" -import IconArrowRight from "./IconArrowRight.astro" -import IconMenu from "./IconMenu.astro" +import IconSun from "./IconSun.astro"; +import IconGithub from "./IconGithub.astro"; +import IconTwitter from "./IconTwitter.astro"; +import IconFacebook from "./IconFacebook.astro"; +import IconInstagram from "./IconInstagram.astro"; +import IconArrowRight from "./IconArrowRight.astro"; +import IconMenu from "./IconMenu.astro"; export { IconSun, @@ -13,5 +13,5 @@ export { IconFacebook, IconInstagram, IconArrowRight, - IconMenu -} + IconMenu, +}; diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index dbab039..039ed93 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -1,78 +1,100 @@ --- - import "~/styles/base.css" +import "~/styles/base.css"; - import Header from "~/components/astro/headers/BasicHeader.astro" - import Footer from "~/components/astro/footers/BasicFooter.astro"; +import Header from "~/components/astro/headers/BasicHeader.astro"; +import Footer from "~/components/astro/footers/BasicFooter.astro"; - const { title = "", description = "", withHeader = true } = Astro.props; +const { title = "", description = "", withHeader = true } = Astro.props; --- + + + + + {title} + + + + + + - - - - - {title} - - - - - - + +
    + +