Welcome to Astro
-
- To get started, open the directory src/pages in your project.
- Code Challenge: Tweak the "Welcome to Astro" message above.
-
-
-
diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..42f85a1 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,5 @@ +{ + "tabWidth": 2, + "useTabs": false, + "bracketSameLine": true +} \ No newline at end of file diff --git a/astro.config.mjs b/astro.config.mjs index 39d964c..3c1bbe1 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -3,7 +3,10 @@ import { defineConfig } from 'astro/config'; // https://astro.build/config import tailwind from "@astrojs/tailwind"; +// https://astro.build/config +import alpinejs from "@astrojs/alpinejs"; + // https://astro.build/config export default defineConfig({ - integrations: [tailwind()] + integrations: [tailwind(), alpinejs()] }); \ No newline at end of file diff --git a/package.json b/package.json index fc5075b..3e6e8b7 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,10 @@ "astro": "astro" }, "dependencies": { + "@astrojs/alpinejs": "^0.1.2", "@astrojs/tailwind": "^2.1.1", + "@types/alpinejs": "^3.0.0", + "alpinejs": "^3.0.0", "astro": "^1.6.0", "tailwindcss": "^3.0.24" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2d6b292..d7bdead 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,12 +1,18 @@ lockfileVersion: 5.4 specifiers: + '@astrojs/alpinejs': ^0.1.2 '@astrojs/tailwind': ^2.1.1 + '@types/alpinejs': ^3.0.0 + alpinejs: ^3.0.0 astro: ^1.6.0 tailwindcss: ^3.0.24 dependencies: + '@astrojs/alpinejs': 0.1.2_epas4sveda2fzipjieohqzpxgq '@astrojs/tailwind': 2.1.1_tailwindcss@3.2.1 + '@types/alpinejs': 3.7.1 + alpinejs: 3.10.5 astro: 1.6.2 tailwindcss: 3.2.1 @@ -20,6 +26,16 @@ packages: '@jridgewell/trace-mapping': 0.3.17 dev: false + /@astrojs/alpinejs/0.1.2_epas4sveda2fzipjieohqzpxgq: + resolution: {integrity: sha512-pcy+r7TTeFMbdZpRUuOYbf5L3ccFp107gH9j0Hdl5z8hmrSw9918pxkK1tiAcbwrQKxifv7nM5V5FJKu7SoJrw==} + peerDependencies: + '@types/alpinejs': ^3.0.0 + alpinejs: ^3.0.0 + dependencies: + '@types/alpinejs': 3.7.1 + alpinejs: 3.10.5 + dev: false + /@astrojs/compiler/0.23.5: resolution: {integrity: sha512-vBMPy9ok4iLapSyCCT1qsZ9dK7LkVFl9mObtLEmWiec9myGHS9h2kQY2xzPeFNJiWXUf9O6tSyQpQTy5As/p3g==} dev: false @@ -505,6 +521,12 @@ packages: '@types/estree': 1.0.0 dev: false + /@types/alpinejs/3.7.1: + resolution: {integrity: sha512-gzwyuHXH/meGQQhurMGWlZgMQxe18lMOoSPd7X6CvGoDelHte9EsU7SpTIoRu8yYir0tbHDeaSMdX9LeQz/QtA==} + dependencies: + '@vue/reactivity': 3.2.41 + dev: false + /@types/babel__core/7.1.19: resolution: {integrity: sha512-WEOTgRsbYkvA/KCsDwVEGkd7WAr1e3g31VHQ8zy5gul/V1qKullU/BU5I68X5v7V3GnB9eotmom4v5a5gjxorw==} dependencies: @@ -613,6 +635,26 @@ packages: vscode-uri: 2.1.2 dev: false + /@vue/reactivity/3.1.5: + resolution: {integrity: sha512-1tdfLmNjWG6t/CsPldh+foumYFo3cpyCHgBYQ34ylaMsJ+SNHQ1kApMIa8jN+i593zQuaw3AdWH0nJTARzCFhg==} + dependencies: + '@vue/shared': 3.1.5 + dev: false + + /@vue/reactivity/3.2.41: + resolution: {integrity: sha512-9JvCnlj8uc5xRiQGZ28MKGjuCoPhhTwcoAdv3o31+cfGgonwdPNuvqAXLhlzu4zwqavFEG5tvaoINQEfxz+l6g==} + dependencies: + '@vue/shared': 3.2.41 + dev: false + + /@vue/shared/3.1.5: + resolution: {integrity: sha512-oJ4F3TnvpXaQwZJNF3ZK+kLPHKarDmJjJ6jyzVNDKH9md1dptjC7lWR//jrGuLdek/U6iltWxqAnYOu8gCiOvA==} + dev: false + + /@vue/shared/3.2.41: + resolution: {integrity: sha512-W9mfWLHmJhkfAmV+7gDjcHeAWALQtgGT3JErxULl0oz6R6+3ug91I7IErs93eCFhPCZPHBs4QJS7YWEV7A3sxw==} + dev: false + /acorn-jsx/5.3.2_acorn@8.8.1: resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} peerDependencies: @@ -646,6 +688,12 @@ packages: hasBin: true dev: false + /alpinejs/3.10.5: + resolution: {integrity: sha512-qlvnal44Gof2XVfm/lef8fYpXKxR9fjdSki7aFB/9THyFvbsRKZ6lM5SjxXpIs7B0faJt7bgpK2K25gzrraXJw==} + dependencies: + '@vue/reactivity': 3.1.5 + dev: false + /ansi-align/3.0.1: resolution: {integrity: sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w==} dependencies: diff --git a/src/components/container.astro b/src/components/container.astro new file mode 100644 index 0000000..b8ce53a --- /dev/null +++ b/src/components/container.astro @@ -0,0 +1,7 @@ +--- +const { class: className } = Astro.props; +--- + +
+ Thank you for being an early customer. We are still working on our + collection of components & templates. It will take some time. + By buying early, you will get 50% discount on the original price + + all future updates for lifetime free! Sweet isn't it? It's a gift + for you. +
+
- To get started, open the directory src/pages in your project.
- Code Challenge: Tweak the "Welcome to Astro" message above.
-
+ To get started, open the directory src/pages in your project.
+ Code Challenge: Tweak the "Welcome to Astro" message above.
+