这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,195 changes: 1,676 additions & 519 deletions package-lock.json

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@onwidget/astrowind",
"version": "1.0.0-beta.51",
"version": "1.0.0-beta.52",
"description": "AstroWind: A free template using Astro 5.0 and Tailwind CSS. Astro starter theme.",
"type": "module",
"private": true,
Expand All @@ -23,11 +23,11 @@
},
"dependencies": {
"@astrojs/rss": "^4.0.11",
"@astrojs/sitemap": "^3.2.1",
"@astrojs/sitemap": "^3.3.0",
"@astrolib/analytics": "^0.6.1",
"@astrolib/seo": "^1.0.0-beta.8",
"@fontsource-variable/inter": "^5.2.5",
"astro": "^5.5.2",
"astro": "^5.7.3",
"astro-embed": "^0.9.0",
"astro-icon": "^1.1.5",
"limax": "4.1.0",
Expand All @@ -36,33 +36,33 @@
},
"devDependencies": {
"@astrojs/check": "^0.9.4",
"@astrojs/mdx": "^4.2.0",
"@astrojs/mdx": "^4.2.4",
"@astrojs/partytown": "^2.1.4",
"@astrojs/tailwind": "^5.1.5",
"@eslint/js": "^9.22.0",
"@eslint/js": "^9.24.0",
"@iconify-json/flat-color-icons": "^1.2.1",
"@iconify-json/tabler": "^1.2.17",
"@tailwindcss/typography": "^0.5.16",
"@types/js-yaml": "^4.0.9",
"@types/lodash.merge": "^4.6.9",
"@types/mdx": "^2.0.13",
"@typescript-eslint/eslint-plugin": "^8.26.1",
"@typescript-eslint/parser": "^8.26.1",
"astro-compress": "2.3.6",
"astro-eslint-parser": "^1.2.1",
"eslint": "^9.22.0",
"@typescript-eslint/eslint-plugin": "^8.30.1",
"@typescript-eslint/parser": "^8.30.1",
"astro-compress": "2.3.8",
"astro-eslint-parser": "^1.2.2",
"eslint": "^9.24.0",
"eslint-plugin-astro": "^1.3.1",
"globals": "^16.0.0",
"js-yaml": "^4.1.0",
"mdast-util-to-string": "^4.0.0",
"prettier": "^3.5.3",
"prettier-plugin-astro": "^0.14.1",
"reading-time": "^1.5.0",
"sharp": "0.33.5",
"sharp": "0.34.1",
"tailwind-merge": "^2.6.0",
"tailwindcss": "^3.4.17",
"typescript": "^5.8.2",
"typescript-eslint": "^8.26.1",
"typescript": "^5.8.3",
"typescript-eslint": "^8.30.1",
"unist-util-visit": "^5.0.0"
}
}
4 changes: 2 additions & 2 deletions src/components/widgets/Announcement.astro
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
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-550/" class="text-muted hover:underline dark:text-slate-400 font-medium"
>Astro v5.5 is now available! »</a
<a href="https://astro.build/blog/astro-570/" class="text-muted hover:underline dark:text-slate-400 font-medium"
>Astro v5.7 is now available! »</a
>
<a
target="_blank"
Expand Down
2 changes: 1 addition & 1 deletion src/components/widgets/BlogLatestPosts.astro
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { getBlogPermalink } from '~/utils/permalinks';
import { findLatestPosts } from '~/utils/blog';
import WidgetWrapper from '~/components/ui/WidgetWrapper.astro';
import type { Widget } from '~/types';
import Button from '../ui/Button.astro';
import Button from '~/components/ui/Button.astro';

export interface Props extends Widget {
title?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/components/widgets/CallToAction.astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
import WidgetWrapper from '../ui/WidgetWrapper.astro';
import WidgetWrapper from '~/components/ui/WidgetWrapper.astro';
import type { CallToAction, Widget } from '~/types';
import Headline from '~/components/ui/Headline.astro';
import Button from '~/components/ui/Button.astro';
Expand Down
6 changes: 3 additions & 3 deletions src/components/widgets/Content.astro
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
import type { Content as Props } from '~/types';
import Headline from '../ui/Headline.astro';
import WidgetWrapper from '../ui/WidgetWrapper.astro';
import Headline from '~/components/ui/Headline.astro';
import WidgetWrapper from '~/components/ui/WidgetWrapper.astro';
import Image from '~/components/common/Image.astro';
import Button from '~/components/ui/Button.astro';
import ItemGrid from '../ui/ItemGrid.astro';
import ItemGrid from '~/components/ui/ItemGrid.astro';

const {
title = await Astro.slots.render('title'),
Expand Down
18 changes: 15 additions & 3 deletions src/components/widgets/Note.astro
Original file line number Diff line number Diff line change
@@ -1,11 +1,23 @@
---
import { Icon } from 'astro-icon/components';

export interface Props {
icon?: string;
title?: string;
description?: string;
}

const {
icon = 'tabler:info-square',
title = await Astro.slots.render('title'),
description = await Astro.slots.render('description'),
} = Astro.props;
---

<section class="bg-blue-50 dark:bg-slate-800 not-prose">
<div class="max-w-6xl mx-auto px-4 sm:px-6 py-4 text-md text-center font-medium">
<span class="font-bold">
<Icon name="tabler:info-square" class="w-5 h-5 inline-block align-text-bottom" /> Philosophy:</span
> Simplicity, Best Practices and High Performance
<Icon name={icon} class="w-5 h-5 inline-block align-text-bottom font-bold" />
<span class="font-bold" set:html={title} />
<Fragment set:html={description} />
</div>
</section>
4 changes: 2 additions & 2 deletions src/components/widgets/Stats.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
import type { Stats as Props } from '~/types';
import WidgetWrapper from '../ui/WidgetWrapper.astro';
import Headline from '../ui/Headline.astro';
import WidgetWrapper from '~/components/ui/WidgetWrapper.astro';
import Headline from '~/components/ui/Headline.astro';
import { Icon } from 'astro-icon/components';

const {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/about.astro
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const metadata = {
>
<Fragment slot="title">
Elevate your online presence with our <br />
<span class="text-accent dark:text-white highlight"> Beautiful Website Templates</span>
<span class="text-accent dark:text-white"> Beautiful Website Templates</span>
</Fragment>

<Fragment slot="subtitle">
Expand Down
2 changes: 1 addition & 1 deletion src/pages/homes/mobile-app.astro
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const metadata = {
}}
>
<Fragment slot="title">
<span class="text-accent dark:text-white highlight">AstroWind App</span>: <br /> professional websites <span
<span class="text-accent dark:text-white">AstroWind App</span>: <br /> professional websites <span
class="hidden xl:inline">made easy</span
>
</Fragment>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/homes/saas.astro
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const metadata = {
}}
>
<Fragment slot="title">
Simplify web design with Astrowind: <br /> your ultimate <span class="text-accent dark:text-white highlight"
Simplify web design with Astrowind: <br /> your ultimate <span class="text-accent dark:text-white"
>SaaS</span
> companion<br />
</Fragment>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/homes/startup.astro
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const metadata = {
>
<Fragment slot="title">
Improve <span class="hidden sm:inline">the online presence of</span> your <span
class="text-accent dark:text-white highlight">Startup</span
class="text-accent dark:text-white">Startup</span
> with Astrowind templates
</Fragment>

Expand Down
4 changes: 2 additions & 2 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ 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 5.0</span> + Tailwind CSS
<span class="text-accent dark:text-white"> Astro 5.0</span> + Tailwind CSS
</Fragment>

<Fragment slot="subtitle">
Expand All @@ -52,7 +52,7 @@ const metadata = {

<!-- Note Widget ******************* -->

<Note />
<Note title="Philosophy:" description="Simplicity, Best Practices and High Performance" />

<!-- Features Widget *************** -->

Expand Down
7 changes: 1 addition & 6 deletions src/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -262,12 +262,7 @@ export interface Faqs extends Omit<Headline, 'classes'>, Widget {
}

export interface Steps extends Omit<Headline, 'classes'>, Widget {
items: Array<{
title: string;
description?: string;
icon?: string;
classes?: Record<string, string>;
}>;
items?: Array<Item>;
callToAction?: string | CallToAction;
image?: string | Image;
isReversed?: boolean;
Expand Down
Loading