Compare commits
No commits in common. "28a47bb9203827a2a485b4314d82871504207961" and "b1e7d2d49ac0770a175d0cb7e9428444196d063a" have entirely different histories.
28a47bb920
...
b1e7d2d49a
11 changed files with 14 additions and 55 deletions
20
README.md
20
README.md
|
|
@ -1,29 +1,11 @@
|
||||||

|
|
||||||
|
|
||||||
# Fast WebApp Template
|
# Fast WebApp Template
|
||||||
|
|
||||||
## How to Use
|
## How to Use
|
||||||
|
|
||||||
#### Clone the Repo
|
|
||||||
|
|
||||||
```
|
```
|
||||||
git clone --depth 1 https://git.patalcala.com.com/patalcala9/fast-webapp-template.git <project-name>
|
git clone --depth 1 https://git.patalcala.com.com/patalcala9/fast-webapp-template.git <project-name>
|
||||||
```
|
|
||||||
|
|
||||||
#### Navigate to the project
|
|
||||||
|
|
||||||
```
|
|
||||||
cd <project-name>
|
cd <project-name>
|
||||||
```
|
|
||||||
|
|
||||||
#### Install Depedencies
|
|
||||||
|
|
||||||
```
|
|
||||||
pnpm install
|
pnpm install
|
||||||
```
|
|
||||||
|
|
||||||
#### Make sure to update
|
|
||||||
|
|
||||||
```
|
|
||||||
pnpm update
|
pnpm update
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
"@astrojs/solid-js": "^5.1.0",
|
"@astrojs/solid-js": "^5.1.0",
|
||||||
"@fontsource-variable/inter": "^5.2.5",
|
"@fontsource-variable/inter": "^5.2.5",
|
||||||
"@itsmatteomanf/astro-robots-txt": "^0.2.0",
|
"@itsmatteomanf/astro-robots-txt": "^0.2.0",
|
||||||
"astro": "^5.8.2",
|
"astro": "^5.8.1",
|
||||||
"astro-compressor": "^1.0.0",
|
"astro-compressor": "^1.0.0",
|
||||||
"lightningcss": "^1.30.1",
|
"lightningcss": "^1.30.1",
|
||||||
"solid-js": "^1.9.7"
|
"solid-js": "^1.9.7"
|
||||||
|
|
|
||||||
16
pnpm-lock.yaml
generated
16
pnpm-lock.yaml
generated
|
|
@ -16,10 +16,10 @@ importers:
|
||||||
version: 5.2.5
|
version: 5.2.5
|
||||||
'@itsmatteomanf/astro-robots-txt':
|
'@itsmatteomanf/astro-robots-txt':
|
||||||
specifier: ^0.2.0
|
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:
|
astro:
|
||||||
specifier: ^5.8.2
|
specifier: ^5.8.1
|
||||||
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)
|
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:
|
astro-compressor:
|
||||||
specifier: ^1.0.0
|
specifier: ^1.0.0
|
||||||
version: 1.0.0
|
version: 1.0.0
|
||||||
|
|
@ -649,8 +649,8 @@ packages:
|
||||||
astro-compressor@1.0.0:
|
astro-compressor@1.0.0:
|
||||||
resolution: {integrity: sha512-MNGRmjIsb73BIJivbU/HnTbPu5CEFvXp1NCev0bpsuK/cp4cCPX6C1omUPXzw2oQbtKv0phTTTtEk+h20SrF1Q==}
|
resolution: {integrity: sha512-MNGRmjIsb73BIJivbU/HnTbPu5CEFvXp1NCev0bpsuK/cp4cCPX6C1omUPXzw2oQbtKv0phTTTtEk+h20SrF1Q==}
|
||||||
|
|
||||||
astro@5.8.2:
|
astro@5.8.1:
|
||||||
resolution: {integrity: sha512-t0TBpBdVluA2QVmbFBwpIqmTvBwNhIz1XTIT1BWPkDkoIgsiEMf6BOZqcoGG7f4GVKkUB9bTgMOhPgU3tbJ6vQ==}
|
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'}
|
engines: {node: 18.20.8 || ^20.3.0 || >=22.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0'}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
|
|
||||||
|
|
@ -2240,9 +2240,9 @@ snapshots:
|
||||||
'@img/sharp-win32-x64@0.33.5':
|
'@img/sharp-win32-x64@0.33.5':
|
||||||
optional: true
|
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:
|
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
|
zod: 3.25.49
|
||||||
|
|
||||||
'@jridgewell/gen-mapping@0.3.8':
|
'@jridgewell/gen-mapping@0.3.8':
|
||||||
|
|
@ -2447,7 +2447,7 @@ snapshots:
|
||||||
|
|
||||||
astro-compressor@1.0.0: {}
|
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:
|
dependencies:
|
||||||
'@astrojs/compiler': 2.12.0
|
'@astrojs/compiler': 2.12.0
|
||||||
'@astrojs/internal-helpers': 0.6.1
|
'@astrojs/internal-helpers': 0.6.1
|
||||||
|
|
|
||||||
BIN
public/logo.png
BIN
public/logo.png
Binary file not shown.
|
Before Width: | Height: | Size: 7.1 KiB |
|
|
@ -1,16 +0,0 @@
|
||||||
|
|
||||||
interface Props {
|
|
||||||
to: string
|
|
||||||
children?: any
|
|
||||||
}
|
|
||||||
|
|
||||||
export default (props: Props) => {
|
|
||||||
|
|
||||||
return (
|
|
||||||
<>
|
|
||||||
<a href={props.to} aria-label={`Go to ${props.to}`}>
|
|
||||||
{props.children}
|
|
||||||
</a>
|
|
||||||
</>
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
@ -1,13 +1,7 @@
|
||||||
import './Button.sass'
|
import './Button.sass'
|
||||||
import { Show } from 'solid-js'
|
import { Show } from 'solid-js'
|
||||||
|
|
||||||
interface Props {
|
export default (props: { label?: string; to?: string; onClick?: () => void; }) => {
|
||||||
label?: string;
|
|
||||||
to?: string;
|
|
||||||
onClick?: () => void;
|
|
||||||
}
|
|
||||||
|
|
||||||
export default (props: Props) => {
|
|
||||||
return <>
|
return <>
|
||||||
<Show when={props.to}>
|
<Show when={props.to}>
|
||||||
<a href={props.to} aria-label={props.label}>
|
<a href={props.to} aria-label={props.label}>
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
Place your SolidJS Components here.
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
import Layout from '../layouts/Layout.astro'
|
import Layout from '../layouts/Layout.astro'
|
||||||
import Button from '../builtin-components/Button/Button.tsx'
|
import Button from '../components/ButtonComponent/Button.tsx'
|
||||||
---
|
---
|
||||||
|
|
||||||
<Layout title="Home">
|
<Layout title="Home">
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
import Layout from '../layouts/Layout.astro'
|
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 { Picture } from 'astro:assets'
|
||||||
import sample from '/src/images/sample.avif'
|
import sample from '/src/images/sample.avif'
|
||||||
---
|
---
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
@use 'sass:color'
|
@use 'sass:color'
|
||||||
|
|
||||||
$background: #0c1b31
|
$background: #0c1b31
|
||||||
$textColor: #f0f8ff
|
$textColor: color.adjust($background, $lightness: 90%)
|
||||||
|
|
||||||
$fontSize: 1rem
|
$fontSize: 1rem
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue