Merge branch 'main' of https://git.h0melab.uk/rgcosta/slashroot-cc
Some checks failed
Build and Update Flux / build-push-update (push) Has been cancelled
Some checks failed
Build and Update Flux / build-push-update (push) Has been cancelled
This commit is contained in:
15
README.md
15
README.md
@@ -1,4 +1,6 @@
|
|||||||
# rack::log — Sysadmin Blog
|
# slashroot-cc
|
||||||
|
|
||||||
|
Welcom to my web blog deployment https://slashroot.cc
|
||||||
|
|
||||||
AMG Petronas green themed personal blog built with Astro.
|
AMG Petronas green themed personal blog built with Astro.
|
||||||
|
|
||||||
@@ -82,7 +84,9 @@ For a custom FastAPI endpoint (like your FC Porto fixture scraper pattern):
|
|||||||
|
|
||||||
```typescript
|
```typescript
|
||||||
// Example: GET /api/homelab/status
|
// Example: GET /api/homelab/status
|
||||||
const data = await fetch('https://api.h0melab.uk/homelab/status').then(r => r.json());
|
const data = await fetch("https://api.h0melab.uk/homelab/status").then((r) =>
|
||||||
|
r.json(),
|
||||||
|
);
|
||||||
```
|
```
|
||||||
|
|
||||||
## Colour Variables
|
## Colour Variables
|
||||||
@@ -90,10 +94,8 @@ const data = await fetch('https://api.h0melab.uk/homelab/status').then(r => r.js
|
|||||||
All theme colours live in `src/styles/global.css`:
|
All theme colours live in `src/styles/global.css`:
|
||||||
|
|
||||||
```css
|
```css
|
||||||
--petronas-teal: #00D2BE
|
--petronas-teal: #00d2be --petronas-green: #00a19c --petronas-dark: #007a76
|
||||||
--petronas-green: #00A19C
|
--bg-void: #050a0a;
|
||||||
--petronas-dark: #007A76
|
|
||||||
--bg-void: #050A0A
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Deployment
|
## Deployment
|
||||||
@@ -104,5 +106,6 @@ npm run build # outputs to dist/
|
|||||||
```
|
```
|
||||||
|
|
||||||
For Cloudflare Pages (recommended for rcosta.uk):
|
For Cloudflare Pages (recommended for rcosta.uk):
|
||||||
|
|
||||||
- Build command: `npm run build`
|
- Build command: `npm run build`
|
||||||
- Output directory: `dist`
|
- Output directory: `dist`
|
||||||
|
|||||||
Reference in New Issue
Block a user