diff --git a/README.md b/README.md index d73bc80..db54e8b 100644 --- a/README.md +++ b/README.md @@ -1,29 +1,11 @@ -![FWT Logo](public/logo.png) - # Fast WebApp Template ## How to Use -#### Clone the Repo - ``` git clone --depth 1 https://git.patalcala.com.com/patalcala9/fast-webapp-template.git -``` - -#### Navigate to the project - -``` cd -``` - -#### Install Depedencies - -``` pnpm install -``` - -#### Make sure to update - -``` pnpm update + ``` diff --git a/package.json b/package.json index 1c309d8..052e38f 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "@astrojs/solid-js": "^5.1.0", "@fontsource-variable/inter": "^5.2.5", "@itsmatteomanf/astro-robots-txt": "^0.2.0", - "astro": "^5.8.2", + "astro": "^5.8.1", "astro-compressor": "^1.0.0", "lightningcss": "^1.30.1", "solid-js": "^1.9.7" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4302744..4f718b5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -16,10 +16,10 @@ importers: version: 5.2.5 '@itsmatteomanf/astro-robots-txt': specifier: ^0.2.0 - version: 0.2.0(astro@5.8.2(@types/node@22.15.29)(lightningcss@1.30.1)(rollup@4.41.1)(sass-embedded@1.89.1)(typescript@5.8.3)) + version: 0.2.0(astro@5.8.1(@types/node@22.15.29)(lightningcss@1.30.1)(rollup@4.41.1)(sass-embedded@1.89.1)(typescript@5.8.3)) astro: - specifier: ^5.8.2 - version: 5.8.2(@types/node@22.15.29)(lightningcss@1.30.1)(rollup@4.41.1)(sass-embedded@1.89.1)(typescript@5.8.3) + specifier: ^5.8.1 + version: 5.8.1(@types/node@22.15.29)(lightningcss@1.30.1)(rollup@4.41.1)(sass-embedded@1.89.1)(typescript@5.8.3) astro-compressor: specifier: ^1.0.0 version: 1.0.0 @@ -649,8 +649,8 @@ packages: astro-compressor@1.0.0: resolution: {integrity: sha512-MNGRmjIsb73BIJivbU/HnTbPu5CEFvXp1NCev0bpsuK/cp4cCPX6C1omUPXzw2oQbtKv0phTTTtEk+h20SrF1Q==} - astro@5.8.2: - resolution: {integrity: sha512-t0TBpBdVluA2QVmbFBwpIqmTvBwNhIz1XTIT1BWPkDkoIgsiEMf6BOZqcoGG7f4GVKkUB9bTgMOhPgU3tbJ6vQ==} + astro@5.8.1: + resolution: {integrity: sha512-lkBg1smMRFW+FQ6i92SgEN53o4+ItRjlRt6Ck+rEjmTcb57Bid7faTNKUQNYuNnxiesTWw3NJDyVPQPbfKDyfw==} engines: {node: 18.20.8 || ^20.3.0 || >=22.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0'} hasBin: true @@ -2240,9 +2240,9 @@ snapshots: '@img/sharp-win32-x64@0.33.5': optional: true - '@itsmatteomanf/astro-robots-txt@0.2.0(astro@5.8.2(@types/node@22.15.29)(lightningcss@1.30.1)(rollup@4.41.1)(sass-embedded@1.89.1)(typescript@5.8.3))': + '@itsmatteomanf/astro-robots-txt@0.2.0(astro@5.8.1(@types/node@22.15.29)(lightningcss@1.30.1)(rollup@4.41.1)(sass-embedded@1.89.1)(typescript@5.8.3))': dependencies: - astro: 5.8.2(@types/node@22.15.29)(lightningcss@1.30.1)(rollup@4.41.1)(sass-embedded@1.89.1)(typescript@5.8.3) + astro: 5.8.1(@types/node@22.15.29)(lightningcss@1.30.1)(rollup@4.41.1)(sass-embedded@1.89.1)(typescript@5.8.3) zod: 3.25.49 '@jridgewell/gen-mapping@0.3.8': @@ -2447,7 +2447,7 @@ snapshots: astro-compressor@1.0.0: {} - astro@5.8.2(@types/node@22.15.29)(lightningcss@1.30.1)(rollup@4.41.1)(sass-embedded@1.89.1)(typescript@5.8.3): + astro@5.8.1(@types/node@22.15.29)(lightningcss@1.30.1)(rollup@4.41.1)(sass-embedded@1.89.1)(typescript@5.8.3): dependencies: '@astrojs/compiler': 2.12.0 '@astrojs/internal-helpers': 0.6.1 diff --git a/public/logo.png b/public/logo.png deleted file mode 100644 index b86efd0..0000000 Binary files a/public/logo.png and /dev/null differ diff --git a/src/builtin-components/Link/Link.tsx b/src/builtin-components/Link/Link.tsx deleted file mode 100644 index 927ce6e..0000000 --- a/src/builtin-components/Link/Link.tsx +++ /dev/null @@ -1,16 +0,0 @@ - -interface Props { - to: string - children?: any -} - -export default (props: Props) => { - - return ( - <> - - {props.children} - - - ) -} diff --git a/src/builtin-components/Button/Button.sass b/src/components/ButtonComponent/Button.sass similarity index 100% rename from src/builtin-components/Button/Button.sass rename to src/components/ButtonComponent/Button.sass diff --git a/src/builtin-components/Button/Button.tsx b/src/components/ButtonComponent/Button.tsx similarity index 76% rename from src/builtin-components/Button/Button.tsx rename to src/components/ButtonComponent/Button.tsx index 89887d2..6a47a74 100644 --- a/src/builtin-components/Button/Button.tsx +++ b/src/components/ButtonComponent/Button.tsx @@ -1,13 +1,7 @@ import './Button.sass' import { Show } from 'solid-js' -interface Props { - label?: string; - to?: string; - onClick?: () => void; -} - -export default (props: Props) => { +export default (props: { label?: string; to?: string; onClick?: () => void; }) => { return <> diff --git a/src/components/solid_components_here.md b/src/components/solid_components_here.md deleted file mode 100644 index a7dff57..0000000 --- a/src/components/solid_components_here.md +++ /dev/null @@ -1 +0,0 @@ -Place your SolidJS Components here. diff --git a/src/pages/index.astro b/src/pages/index.astro index 21124d0..4846798 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,6 +1,6 @@ --- import Layout from '../layouts/Layout.astro' -import Button from '../builtin-components/Button/Button.tsx' +import Button from '../components/ButtonComponent/Button.tsx' --- diff --git a/src/pages/next.astro b/src/pages/next.astro index 5b1d84d..d771fdf 100644 --- a/src/pages/next.astro +++ b/src/pages/next.astro @@ -1,6 +1,6 @@ --- import Layout from '../layouts/Layout.astro' -import Button from '../builtin-components/Button/Button.tsx' +import Button from '../components/ButtonComponent/Button.tsx' import { Picture } from 'astro:assets' import sample from '/src/images/sample.avif' --- diff --git a/src/styles/variables.sass b/src/styles/variables.sass index cb81aaa..b65d052 100644 --- a/src/styles/variables.sass +++ b/src/styles/variables.sass @@ -1,7 +1,7 @@ @use 'sass:color' $background: #0c1b31 -$textColor: #f0f8ff +$textColor: color.adjust($background, $lightness: 90%) $fontSize: 1rem