remove alpine completely

This commit is contained in:
Surjith S M
2023-01-02 20:55:28 +05:30
parent cc1721060f
commit 244d9ec84e
5 changed files with 7 additions and 42 deletions

View File

@@ -1,6 +1,6 @@
# Astroship - Astro Starter Template 🛸 # Astroship - Astro Starter Template 🛸
Astroship is a starter template for startups, marketing websites & landing pages. Built with Astro, TailwindCSS & Alpine.js. Astroship is a starter template for startups, marketing websites, landing pages & blog. Built with Astro & TailwindCSS.
This Free Template is sponsored by [Web3Templates](https://web3templates.com) This Free Template is sponsored by [Web3Templates](https://web3templates.com)
@@ -14,7 +14,7 @@ This Free Template is sponsored by [Web3Templates](https://web3templates.com)
Click the below link to deploy this template on Vercel Click the below link to deploy this template on Vercel
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fsurjithctly%2Fastroship&project-name=astroship&repository-name=astroship&demo-title=Astroship%20-%20Astro%20Starter%20Template&demo-description=Astroship%20is%20a%20starter%20template%20for%20startups%2C%20marketing%20websites%20%26%20landing%20pages.%20Built%20with%20Astro%2C%20TailwindCSS%20%26%20Alpine.js.&demo-url=https%3A%2F%2Fastroship.web3templates.com%2F&demo-image=https%3A%2F%2Fuser-images.githubusercontent.com%2F1884712%2F200831799-10ef2456-a02e-4068-b580-4b5326f0b33b.png) [![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fsurjithctly%2Fastroship&project-name=astroship&repository-name=astroship&demo-title=Astroship%20-%20Astro%20Starter%20Template&demo-description=Astroship%20is%20a%20starter%20template%20for%20startups%2C%20marketing%20websites%20%26%20landing%20pages.%20Built%20with%20Astro%2C%20TailwindCSS&demo-url=https%3A%2F%2Fastroship.web3templates.com%2F&demo-image=https%3A%2F%2Fuser-images.githubusercontent.com%2F1884712%2F200831799-10ef2456-a02e-4068-b580-4b5326f0b33b.png)
![image](https://user-images.githubusercontent.com/1884712/200831799-10ef2456-a02e-4068-b580-4b5326f0b33b.png) ![image](https://user-images.githubusercontent.com/1884712/200831799-10ef2456-a02e-4068-b580-4b5326f0b33b.png)
@@ -104,9 +104,9 @@ Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page
Any static assets, like images, can be placed in the `public/` directory. Any static assets, like images, can be placed in the `public/` directory.
## TailwindCSS & Alpine.js ## TailwindCSS
TailwindCSS & Alpine.js are already configured in this repo, so you can start using them without any installation. TailwindCSS is already configured in this repo, so you can start using it without any installation.
## Credits ## Credits

View File

@@ -11,13 +11,11 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"@astrojs/alpinejs": "^0.1.2",
"@astrojs/image": "^0.11.0", "@astrojs/image": "^0.11.0",
"@astrojs/mdx": "^0.11.5", "@astrojs/mdx": "^0.11.5",
"@astrojs/sitemap": "^1.0.0", "@astrojs/sitemap": "^1.0.0",
"@astrojs/tailwind": "^2.1.1", "@astrojs/tailwind": "^2.1.1",
"@fontsource/inter": "^4.5.14", "@fontsource/inter": "^4.5.14",
"@types/alpinejs": "^3.0.0",
"astro": "^1.6.0", "astro": "^1.6.0",
"astro-feather-icons": "^1.0.2", "astro-feather-icons": "^1.0.2",
"astro-icon": "^0.8.0", "astro-icon": "^0.8.0",

29
pnpm-lock.yaml generated
View File

@@ -1,14 +1,12 @@
lockfileVersion: 5.4 lockfileVersion: 5.4
specifiers: specifiers:
'@astrojs/alpinejs': ^0.1.2
'@astrojs/image': ^0.11.0 '@astrojs/image': ^0.11.0
'@astrojs/mdx': ^0.11.5 '@astrojs/mdx': ^0.11.5
'@astrojs/sitemap': ^1.0.0 '@astrojs/sitemap': ^1.0.0
'@astrojs/tailwind': ^2.1.1 '@astrojs/tailwind': ^2.1.1
'@fontsource/inter': ^4.5.14 '@fontsource/inter': ^4.5.14
'@tailwindcss/typography': ^0.5.7 '@tailwindcss/typography': ^0.5.7
'@types/alpinejs': ^3.0.0
astro: ^1.6.0 astro: ^1.6.0
astro-feather-icons: ^1.0.2 astro-feather-icons: ^1.0.2
astro-icon: ^0.8.0 astro-icon: ^0.8.0
@@ -18,13 +16,11 @@ specifiers:
tailwindcss: ^3.0.24 tailwindcss: ^3.0.24
dependencies: dependencies:
'@astrojs/alpinejs': 0.1.2_@types+alpinejs@3.7.1
'@astrojs/image': 0.11.0_sharp@0.31.3 '@astrojs/image': 0.11.0_sharp@0.31.3
'@astrojs/mdx': 0.11.5 '@astrojs/mdx': 0.11.5
'@astrojs/sitemap': 1.0.0 '@astrojs/sitemap': 1.0.0
'@astrojs/tailwind': 2.1.1_tailwindcss@3.2.1 '@astrojs/tailwind': 2.1.1_tailwindcss@3.2.1
'@fontsource/inter': 4.5.14 '@fontsource/inter': 4.5.14
'@types/alpinejs': 3.7.1
astro: 1.6.2 astro: 1.6.2
astro-feather-icons: 1.0.2 astro-feather-icons: 1.0.2
astro-icon: 0.8.0 astro-icon: 0.8.0
@@ -50,15 +46,6 @@ packages:
'@jridgewell/trace-mapping': 0.3.17 '@jridgewell/trace-mapping': 0.3.17
dev: false dev: false
/@astrojs/alpinejs/0.1.2_@types+alpinejs@3.7.1:
resolution: {integrity: sha512-pcy+r7TTeFMbdZpRUuOYbf5L3ccFp107gH9j0Hdl5z8hmrSw9918pxkK1tiAcbwrQKxifv7nM5V5FJKu7SoJrw==}
peerDependencies:
'@types/alpinejs': ^3.0.0
alpinejs: ^3.0.0
dependencies:
'@types/alpinejs': 3.7.1
dev: false
/@astrojs/compiler/0.23.5: /@astrojs/compiler/0.23.5:
resolution: {integrity: sha512-vBMPy9ok4iLapSyCCT1qsZ9dK7LkVFl9mObtLEmWiec9myGHS9h2kQY2xzPeFNJiWXUf9O6tSyQpQTy5As/p3g==} resolution: {integrity: sha512-vBMPy9ok4iLapSyCCT1qsZ9dK7LkVFl9mObtLEmWiec9myGHS9h2kQY2xzPeFNJiWXUf9O6tSyQpQTy5As/p3g==}
dev: false dev: false
@@ -657,12 +644,6 @@ packages:
'@types/estree': 1.0.0 '@types/estree': 1.0.0
dev: false 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: /@types/babel__core/7.1.19:
resolution: {integrity: sha512-WEOTgRsbYkvA/KCsDwVEGkd7WAr1e3g31VHQ8zy5gul/V1qKullU/BU5I68X5v7V3GnB9eotmom4v5a5gjxorw==} resolution: {integrity: sha512-WEOTgRsbYkvA/KCsDwVEGkd7WAr1e3g31VHQ8zy5gul/V1qKullU/BU5I68X5v7V3GnB9eotmom4v5a5gjxorw==}
dependencies: dependencies:
@@ -785,16 +766,6 @@ packages:
vscode-uri: 2.1.2 vscode-uri: 2.1.2
dev: false dev: false
/@vue/reactivity/3.2.41:
resolution: {integrity: sha512-9JvCnlj8uc5xRiQGZ28MKGjuCoPhhTwcoAdv3o31+cfGgonwdPNuvqAXLhlzu4zwqavFEG5tvaoINQEfxz+l6g==}
dependencies:
'@vue/shared': 3.2.41
dev: false
/@vue/shared/3.2.41:
resolution: {integrity: sha512-W9mfWLHmJhkfAmV+7gDjcHeAWALQtgGT3JErxULl0oz6R6+3ug91I7IErs93eCFhPCZPHBs4QJS7YWEV7A3sxw==}
dev: false
/acorn-jsx/5.3.2_acorn@8.8.1: /acorn-jsx/5.3.2_acorn@8.8.1:
resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==}
peerDependencies: peerDependencies:

View File

@@ -21,8 +21,8 @@ import { Icon } from "astro-icon";
</h1> </h1>
<p class="text-lg mt-4 text-slate-600 max-w-xl"> <p class="text-lg mt-4 text-slate-600 max-w-xl">
Astroship is a starter template for startups, marketing websites & landing Astroship is a starter template for startups, marketing websites & landing
pages.<wbr /> Built with Astro.build, TailwindCSS & Alpine.js. You can quickly pages.<wbr /> Built with Astro.build and TailwindCSS. You can quickly create
create any website with this starter. any website with this starter.
</p> </p>
<div class="mt-6 flex flex-col sm:flex-row gap-3"> <div class="mt-6 flex flex-col sm:flex-row gap-3">
<Link <Link

View File

@@ -28,7 +28,7 @@ const { title } = Astro.props;
const makeTitle = title const makeTitle = title
? title + " | " + "Astroship" ? title + " | " + "Astroship"
: "Astroship - Starter Template for Astro with TailwindCSS & Alpine.js"; : "Astroship - Starter Template for Astro with Tailwind CSS";
--- ---
<!DOCTYPE html> <!DOCTYPE html>
@@ -72,10 +72,6 @@ const makeTitle = title
img { img {
content-visibility: auto; content-visibility: auto;
} }
/* Avoid Alpine.js Hidden Element Flash */
[x-cloak] {
display: none;
}
</style> </style>
</body> </body>
</html> </html>