Update to Astro 4.x
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
|
||||
🌟 _Most *starred* & *forked* Astro theme in 2022_. 🌟
|
||||
|
||||
**AstroWind** is a free and open-source template to make your website using **[Astro 3.0](https://astro.build/) + [Tailwind CSS](https://tailwindcss.com/)**. Ready to start a new project and designed taking into account web best practices.
|
||||
**AstroWind** is a free and open-source template to make your website using **[Astro 4.0](https://astro.build/) + [Tailwind CSS](https://tailwindcss.com/)**. Ready to start a new project and designed taking into account web best practices.
|
||||
|
||||
- ✅ **Production-ready** scores in **PageSpeed Insights** reports.
|
||||
- ✅ Integration with **Tailwind CSS** supporting **Dark mode** and **_RTL_**.
|
||||
@ -56,7 +56,7 @@
|
||||
|
||||
## Getting started
|
||||
|
||||
**AstroWind** tries to give you quick access to creating a website using [Astro 3.0](https://astro.build/) + [Tailwind CSS](https://tailwindcss.com/). It's a free theme which focuses on simplicity, good practices and high performance.
|
||||
**AstroWind** tries to give you quick access to creating a website using [Astro 4.0](https://astro.build/) + [Tailwind CSS](https://tailwindcss.com/). It's a free theme which focuses on simplicity, good practices and high performance.
|
||||
|
||||
Very little vanilla javascript is used only to provide basic functionality so that each developer decides which framework (React, Vue, Svelte, Solid JS...) to use and how to approach their goals..
|
||||
|
||||
@ -258,7 +258,7 @@ Clone this repository on own GitHub account and deploy to Vercel:
|
||||
|
||||
## Related projects
|
||||
|
||||
- [TailNext](https://tailnext.vercel.app/) - Free template using Next.js 13 and Tailwind CSS with the new App Router.
|
||||
- [TailNext](https://tailnext.vercel.app/) - Free template using Next.js 14 and Tailwind CSS with the new App Router.
|
||||
- [Qwind](https://qwind.pages.dev/) - Free template to make your website using Qwik + Tailwind CSS.
|
||||
|
||||
## Contributing
|
||||
|
32
package.json
32
package.json
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@onwidget/astrowind",
|
||||
"description": "AstroWind: A free template using Astro 3.0 and Tailwind CSS. Astro starter theme.",
|
||||
"version": "1.0.0-beta.8",
|
||||
"version": "1.0.0-beta.9",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "astro dev",
|
||||
@ -13,30 +13,30 @@
|
||||
"lint:eslint": "eslint . --ext .js,.ts,.astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/rss": "^3.0.0",
|
||||
"@astrojs/rss": "^4.0.1",
|
||||
"@astrojs/sitemap": "^3.0.3",
|
||||
"@astrolib/analytics": "^0.4.2",
|
||||
"@astrolib/seo": "^1.0.0-beta.4",
|
||||
"@fontsource-variable/inter": "^5.0.15",
|
||||
"astro": "^3.6.4",
|
||||
"@astrolib/analytics": "^0.5.0",
|
||||
"@astrolib/seo": "^1.0.0-beta.5",
|
||||
"@fontsource-variable/inter": "^5.0.16",
|
||||
"astro": "^4.0.3",
|
||||
"astro-icon": "^1.0.0-next.2",
|
||||
"limax": "4.1.0",
|
||||
"lodash.merge": "^4.6.2",
|
||||
"typescript-esbuild": "^0.3.1",
|
||||
"unpic": "^3.14.1"
|
||||
"typescript-esbuild": "^0.3.2",
|
||||
"unpic": "^3.15.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/mdx": "^1.1.5",
|
||||
"@astrojs/mdx": "^2.0.0",
|
||||
"@astrojs/partytown": "^2.0.2",
|
||||
"@astrojs/tailwind": "5.0.2",
|
||||
"@astrojs/tailwind": "5.0.3",
|
||||
"@iconify-json/flat-color-icons": "^1.1.9",
|
||||
"@iconify-json/tabler": "^1.1.100",
|
||||
"@tailwindcss/typography": "^0.5.10",
|
||||
"@types/lodash.merge": "^4.6.9",
|
||||
"@typescript-eslint/eslint-plugin": "^6.13.1",
|
||||
"@typescript-eslint/parser": "^6.13.1",
|
||||
"@typescript-eslint/eslint-plugin": "^6.13.2",
|
||||
"@typescript-eslint/parser": "^6.13.2",
|
||||
"astro-compress": "^2.2.3",
|
||||
"eslint": "^8.54.0",
|
||||
"eslint": "^8.55.0",
|
||||
"eslint-plugin-astro": "^0.30.0",
|
||||
"eslint-plugin-jsx-a11y": "^6.8.0",
|
||||
"js-yaml": "^4.1.0",
|
||||
@ -44,9 +44,9 @@
|
||||
"prettier": "^3.1.0",
|
||||
"prettier-plugin-astro": "^0.12.2",
|
||||
"reading-time": "^1.5.0",
|
||||
"tailwind-merge": "^2.0.0",
|
||||
"tailwindcss": "^3.3.5",
|
||||
"typescript": "^5.3.2"
|
||||
"tailwind-merge": "^2.1.0",
|
||||
"tailwindcss": "^3.3.6",
|
||||
"typescript": "^5.3.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.14.1"
|
||||
|
@ -5,8 +5,8 @@
|
||||
class="text-muted text-sm bg-[#dbeafe] dark:bg-transparent dark:border-b dark:border-slate-800 dark:text-slate-400 hidden md:block overflow-hidden px-3 py-2 relative text-ellipsis whitespace-nowrap"
|
||||
>
|
||||
<span class="dark:bg-slate-700 bg-white/40 dark:text-slate-300 font-semibold px-1 py-0.5 text-xs mr-0.5 rtl:mr-0 rtl:ml-0.5 inline-block">NEW</span>
|
||||
<a href="https://astro.build/blog/astro-4-beta/" class="text-muted hover:underline dark:text-slate-400 font-medium"
|
||||
>Astro 4.0 Beta Release! »</a
|
||||
<a href="https://astro.build/blog/astro-4/" class="text-muted hover:underline dark:text-slate-400 font-medium"
|
||||
>Astro 4.0 is here! »</a
|
||||
>
|
||||
<a
|
||||
target="_blank"
|
||||
|
@ -60,7 +60,7 @@ const metadata = {
|
||||
<span class="hidden sm:inline">
|
||||
Elevate your website creation process with <span class="font-semibold">AstroWind</span>'s SaaS solutions.</span
|
||||
>
|
||||
Seamlessly blend the power of Astro 3.0 and Tailwind CSS to craft websites that resonate with your brand and
|
||||
Seamlessly blend the power of Astro 4.0 and Tailwind CSS to craft websites that resonate with your brand and
|
||||
audience.
|
||||
</Fragment>
|
||||
</Hero2>
|
||||
@ -74,7 +74,7 @@ const metadata = {
|
||||
columns={2}
|
||||
items={[
|
||||
{
|
||||
title: 'Integration of Astro 3.0 and Tailwind CSS',
|
||||
title: 'Integration of Astro 4.0 and Tailwind CSS',
|
||||
description:
|
||||
'Offers a powerful combination that enhances both the development process and the end-user experience. Also, allows to build dynamic and visually stunning websites with optimized performance.',
|
||||
icon: 'tabler:layers-union',
|
||||
@ -97,7 +97,7 @@ const metadata = {
|
||||
},
|
||||
{
|
||||
title: 'Fast loading times and production-ready code',
|
||||
description: `Using Astro 3.0 ensures fast loading and seamless rendering, enhancing browsing. The code follows best practices, improving user experience, SEO, and reducing bounce rates.`,
|
||||
description: `Using Astro 4.0 ensures fast loading and seamless rendering, enhancing browsing. The code follows best practices, improving user experience, SEO, and reducing bounce rates.`,
|
||||
icon: 'tabler:rocket',
|
||||
},
|
||||
{
|
||||
@ -118,7 +118,7 @@ const metadata = {
|
||||
{
|
||||
title: 'Description:',
|
||||
description:
|
||||
'Are you a startup with big dreams? AstroWind propels your success. Our template forges a seamless online presence, attracting investors and customers from day one. Astro 3.0 and Tailwind CSS ensure striking, responsive sites, leaving lasting impressions. Countless startups leverage AstroWind to kickstart their journey and resonate with audiences.',
|
||||
'Are you a startup with big dreams? AstroWind propels your success. Our template forges a seamless online presence, attracting investors and customers from day one. Astro 4.0 and Tailwind CSS ensure striking, responsive sites, leaving lasting impressions. Countless startups leverage AstroWind to kickstart their journey and resonate with audiences.',
|
||||
},
|
||||
{
|
||||
title: 'Benefits:',
|
||||
@ -148,7 +148,7 @@ const metadata = {
|
||||
items={[
|
||||
{
|
||||
title: 'Description:',
|
||||
description: `For SaaS businesses, user experience is key. AstroWind enhances showcasing SaaS solutions intuitively. The template's Astro 3.0 and Tailwind CSS integration guarantees user-friendly experience, mirroring your software's efficiency. Customize pages to communicate SaaS value and solutions for your audience.`,
|
||||
description: `For SaaS businesses, user experience is key. AstroWind enhances showcasing SaaS solutions intuitively. The template's Astro 4.0 and Tailwind CSS integration guarantees user-friendly experience, mirroring your software's efficiency. Customize pages to communicate SaaS value and solutions for your audience.`,
|
||||
},
|
||||
{
|
||||
title: 'Benefits:',
|
||||
|
@ -63,7 +63,7 @@ const metadata = {
|
||||
|
||||
<Features2
|
||||
title="About us"
|
||||
subtitle="We believe in the magic of turning dreams into stunning realities. Founded by passionate developers with a shared vision, we set out to simplify the website creation process. Our templates bring together the innovation of Astro 3.0 and the versatility of Tailwind CSS, enabling you to express your unique brand identity like never before."
|
||||
subtitle="We believe in the magic of turning dreams into stunning realities. Founded by passionate developers with a shared vision, we set out to simplify the website creation process. Our templates bring together the innovation of Astro 4.0 and the versatility of Tailwind CSS, enabling you to express your unique brand identity like never before."
|
||||
>
|
||||
<Fragment slot="bg">
|
||||
<div class="absolute inset-0 bg-blue-50 dark:bg-transparent"></div>
|
||||
|
@ -36,12 +36,12 @@ const metadata = {
|
||||
>
|
||||
<Fragment slot="title">
|
||||
Free template for <span class="hidden xl:inline">creating websites with</span>
|
||||
<span class="text-accent dark:text-white highlight"> Astro 3.0</span> + Tailwind CSS
|
||||
<span class="text-accent dark:text-white highlight"> Astro 4.0</span> + Tailwind CSS
|
||||
</Fragment>
|
||||
|
||||
<Fragment slot="subtitle">
|
||||
<span class="hidden sm:inline">
|
||||
<span class="font-semibold">AstroWind</span> is a free, customizable and production-ready template for Astro 3.0
|
||||
<span class="font-semibold">AstroWind</span> is a free, customizable and production-ready template for Astro 4.0
|
||||
+ Tailwind CSS.</span
|
||||
>
|
||||
<span class="block mb-1 sm:hidden font-bold text-blue-600">AstroWind: Production-ready.</span>
|
||||
@ -109,7 +109,7 @@ const metadata = {
|
||||
title="AstroWind's Blueprint: Fun Meets Functionality!"
|
||||
items={[
|
||||
{
|
||||
title: 'Built on top of Astro 3.0',
|
||||
title: 'Built on top of Astro 4.0',
|
||||
description:
|
||||
'Benefiting from the performance and developer-friendly features of this modern static site generator.',
|
||||
},
|
||||
|
Reference in New Issue
Block a user