diff --git a/.changeset/chilly-rules-crash.md b/.changeset/chilly-rules-crash.md new file mode 100644 index 0000000..91cc3bc --- /dev/null +++ b/.changeset/chilly-rules-crash.md @@ -0,0 +1,5 @@ +--- +"@astro-reactive/landing-page": major +--- + +Make the npm install script shorter diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 76e053e..3e99639 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -23,6 +23,7 @@ Tag a reviewer: @ Tasks: - [ ] I have ran the build command to make sure apps are working: `npm run build` - [ ] I have ran the tests to make sure nothing is broken: `npm run test` +- [ ] I have ran the Astro checker: `npm run check` - [ ] I have ran the linter to make sure code is clean: `npm run lint` - [ ] I have reviewed my own code to remove changes that are not needed diff --git a/apps/landing-page/src/components/copynpm.astro b/apps/landing-page/src/components/copynpm.astro index 849a686..04e0683 100644 --- a/apps/landing-page/src/components/copynpm.astro +++ b/apps/landing-page/src/components/copynpm.astro @@ -1,107 +1,110 @@ --- -import { Icon } from "astro-icon"; +import { Icon } from 'astro-icon'; --- diff --git a/apps/landing-page/src/pages/index.astro b/apps/landing-page/src/pages/index.astro index 60bdd3e..e1aa45f 100644 --- a/apps/landing-page/src/pages/index.astro +++ b/apps/landing-page/src/pages/index.astro @@ -1,92 +1,86 @@ --- -import "~/styles/index.css"; -import Header from "~/components/header.astro"; +import '~/styles/index.css'; +import Header from '~/components/header.astro'; // import Icon from "astro-icon"; -import Splash from "~/components/splash.astro"; +import Splash from '~/components/splash.astro'; // import AstroSection from "~/sections/astro-section.astro"; -import Starfield from "~/components/starfield.astro"; +import Starfield from '~/components/starfield.astro'; const { site } = Astro; -const image = new URL("social.jpg", site); +const image = new URL('social.jpg', site); const description = - "Library of components and utilities for building reactive user interfaces with Astro"; + 'Library of components and utilities for building reactive user interfaces with Astro'; --- - - - - - + + + + - Astro Reactive | {description} 🚀 - + Astro Reactive | {description} 🚀 + - - - - - + + + + + - - - - - - - + + + + + + + - - - - - -
- - - - - - Mastodon - Mastodon - + // window + // .matchMedia("(prefers-color-scheme: dark)") + // ?.addEventListener("change", (event) => { + // if (!localStorage.getItem("theme")) { + // document.documentElement.dataset.theme = event.matches + // ? "dark" + // : "light"; + // } + // }); + + + + +
+ + + diff --git a/package-lock.json b/package-lock.json index 7b13aeb..e25eba8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12670,7 +12670,7 @@ }, "packages/common": { "name": "@astro-reactive/common", - "version": "0.1.7", + "version": "0.1.8", "license": "MIT", "devDependencies": { "@astro-reactive/tsconfig": "*", @@ -12679,7 +12679,7 @@ }, "packages/form": { "name": "@astro-reactive/form", - "version": "0.7.1", + "version": "0.7.2", "license": "MIT", "dependencies": { "@astro-reactive/common": "*", @@ -13027,7 +13027,7 @@ }, "packages/validator": { "name": "@astro-reactive/validator", - "version": "0.3.1", + "version": "0.3.2", "license": "MIT", "dependencies": { "@astro-reactive/common": "*"