Skip to content

Commit 080146f

Browse files
committed
Included a run of: npm run fix
2 parents 1929dac + 76f8788 commit 080146f

File tree

14 files changed

+53
-39
lines changed

14 files changed

+53
-39
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434

3535
- [Demo](#demo)
3636
- [Upcoming: AstroWind 2.0 – We Need Your Vision!](#-upcoming-astrowind-20--we-need-your-vision)
37+
- [TL;DR](#tldr)
3738
- [Getting started](#getting-started)
3839
- [Project structure](#project-structure)
3940
- [Commands](#commands)
@@ -63,6 +64,12 @@ We're embarking on an exciting journey with **AstroWind 2.0**, and we want you t
6364

6465
<br>
6566

67+
## TL;DR
68+
69+
```shell
70+
npm create astro@latest -- --template onwidget/astrowind
71+
```
72+
6673
## Getting started
6774

6875
**AstroWind** tries to give you quick access to creating a website using [Astro 5.0](https://astro.build/) + [Tailwind CSS](https://tailwindcss.com/). It's a free theme which focuses on simplicity, good practices and high performance.

package.json

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@onwidget/astrowind",
3-
"version": "1.0.0-beta.51",
3+
"version": "1.0.0-beta.52",
44
"description": "AstroWind: A free template using Astro 5.0 and Tailwind CSS. Astro starter theme.",
55
"type": "module",
66
"private": true,
@@ -27,8 +27,8 @@
2727
"@astrolib/analytics": "^0.6.1",
2828
"@astrolib/seo": "^1.0.0-beta.8",
2929
"@fontsource-variable/inter": "^5.2.5",
30+
"astro": "^5.7.3",
3031
"@tailwindcss/vite": "^4.0.10",
31-
"astro": "^5.5.5",
3232
"astro-embed": "^0.9.0",
3333
"astro-icon": "^1.1.5",
3434
"limax": "4.1.0",
@@ -37,33 +37,34 @@
3737
},
3838
"devDependencies": {
3939
"@astrojs/check": "^0.9.4",
40-
"@astrojs/mdx": "^4.2.2",
40+
"@astrojs/mdx": "^4.2.4",
4141
"@astrojs/partytown": "^2.1.4",
42-
"@eslint/js": "^9.21.0",
42+
"@astrojs/tailwind": "^5.1.5",
43+
"@eslint/js": "^9.24.0",
4344
"@iconify-json/flat-color-icons": "^1.2.1",
4445
"@iconify-json/tabler": "^1.2.17",
4546
"@tailwindcss/typography": "^0.5.16",
4647
"@types/eslint__js": "^9.14.0",
4748
"@types/js-yaml": "^4.0.9",
4849
"@types/lodash.merge": "^4.6.9",
4950
"@types/mdx": "^2.0.13",
50-
"@typescript-eslint/eslint-plugin": "^8.26.0",
51-
"@typescript-eslint/parser": "^8.26.0",
52-
"astro-compress": "2.3.6",
53-
"astro-eslint-parser": "^1.2.1",
54-
"eslint": "^9.22.0",
51+
"@typescript-eslint/eslint-plugin": "^8.30.1",
52+
"@typescript-eslint/parser": "^8.30.1",
53+
"astro-compress": "2.3.8",
54+
"astro-eslint-parser": "^1.2.2",
55+
"eslint": "^9.24.0",
5556
"eslint-plugin-astro": "^1.3.1",
5657
"globals": "^16.0.0",
5758
"js-yaml": "^4.1.0",
5859
"mdast-util-to-string": "^4.0.0",
5960
"prettier": "^3.5.3",
6061
"prettier-plugin-astro": "^0.14.1",
6162
"reading-time": "^1.5.0",
62-
"sharp": "0.33.5",
63-
"tailwind-merge": "^3.0.2",
63+
"sharp": "0.34.1",
64+
"tailwind-merge": "^2.6.0",
6465
"tailwindcss": "^4.0.10",
65-
"typescript": "^5.8.2",
66-
"typescript-eslint": "^8.26.0",
66+
"typescript": "^5.8.3",
67+
"typescript-eslint": "^8.30.1",
6768
"unist-util-visit": "^5.0.0"
6869
}
6970
}

src/components/widgets/Announcement.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
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"
1010
>NEW</span
1111
>
12-
<a href="https://astro.build/blog/astro-550/" class="text-muted hover:underline dark:text-slate-400 font-medium"
13-
>Astro v5.5 is now available! »</a
12+
<a href="https://astro.build/blog/astro-570/" class="text-muted hover:underline dark:text-slate-400 font-medium"
13+
>Astro v5.7 is now available! »</a
1414
>
1515
<a
1616
target="_blank"

src/components/widgets/BlogLatestPosts.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { getBlogPermalink } from '~/utils/permalinks';
77
import { findLatestPosts } from '~/utils/blog';
88
import WidgetWrapper from '~/components/ui/WidgetWrapper.astro';
99
import type { Widget } from '~/types';
10-
import Button from '../ui/Button.astro';
10+
import Button from '~/components/ui/Button.astro';
1111
1212
export interface Props extends Widget {
1313
title?: string;

src/components/widgets/CallToAction.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
import WidgetWrapper from '../ui/WidgetWrapper.astro';
2+
import WidgetWrapper from '~/components/ui/WidgetWrapper.astro';
33
import type { CallToAction, Widget } from '~/types';
44
import Headline from '~/components/ui/Headline.astro';
55
import Button from '~/components/ui/Button.astro';

src/components/widgets/Content.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
22
import type { Content as Props } from '~/types';
3-
import Headline from '../ui/Headline.astro';
4-
import WidgetWrapper from '../ui/WidgetWrapper.astro';
3+
import Headline from '~/components/ui/Headline.astro';
4+
import WidgetWrapper from '~/components/ui/WidgetWrapper.astro';
55
import Image from '~/components/common/Image.astro';
66
import Button from '~/components/ui/Button.astro';
7-
import ItemGrid from '../ui/ItemGrid.astro';
7+
import ItemGrid from '~/components/ui/ItemGrid.astro';
88
99
const {
1010
title = await Astro.slots.render('title'),

src/components/widgets/Note.astro

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,23 @@
11
---
22
import { Icon } from 'astro-icon/components';
3+
4+
export interface Props {
5+
icon?: string;
6+
title?: string;
7+
description?: string;
8+
}
9+
10+
const {
11+
icon = 'tabler:info-square',
12+
title = await Astro.slots.render('title'),
13+
description = await Astro.slots.render('description'),
14+
} = Astro.props;
315
---
416

517
<section class="bg-blue-50 dark:bg-slate-800 not-prose">
618
<div class="max-w-6xl mx-auto px-4 sm:px-6 py-4 text-md text-center font-medium">
7-
<span class="font-bold">
8-
<Icon name="tabler:info-square" class="w-5 h-5 inline-block align-text-bottom" /> Philosophy:</span
9-
> Simplicity, Best Practices and High Performance
19+
<Icon name={icon} class="w-5 h-5 inline-block align-text-bottom font-bold" />
20+
<span class="font-bold" set:html={title} />
21+
<Fragment set:html={description} />
1022
</div>
1123
</section>

src/components/widgets/Stats.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
import type { Stats as Props } from '~/types';
3-
import WidgetWrapper from '../ui/WidgetWrapper.astro';
4-
import Headline from '../ui/Headline.astro';
3+
import WidgetWrapper from '~/components/ui/WidgetWrapper.astro';
4+
import Headline from '~/components/ui/Headline.astro';
55
import { Icon } from 'astro-icon/components';
66
77
const {

src/pages/about.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const metadata = {
2323
>
2424
<Fragment slot="title">
2525
Elevate your online presence with our <br />
26-
<span class="text-accent dark:text-white highlight"> Beautiful Website Templates</span>
26+
<span class="text-accent dark:text-white"> Beautiful Website Templates</span>
2727
</Fragment>
2828

2929
<Fragment slot="subtitle">

src/pages/homes/mobile-app.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const metadata = {
5656
}}
5757
>
5858
<Fragment slot="title">
59-
<span class="text-accent dark:text-white highlight">AstroWind App</span>: <br /> professional websites <span
59+
<span class="text-accent dark:text-white">AstroWind App</span>: <br /> professional websites <span
6060
class="hidden xl:inline">made easy</span
6161
>
6262
</Fragment>

0 commit comments

Comments
 (0)