config files, etc
This commit is contained in:
parent
e6a2c2f7d6
commit
dc735a1256
8 changed files with 3574 additions and 2970 deletions
|
@ -7,7 +7,7 @@ import react from "@astrojs/react";
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
integrations: [tailwind(), react()],
|
integrations: [tailwind(), react()],
|
||||||
output: "server",
|
output: "hybrid",
|
||||||
adapter: node({
|
adapter: node({
|
||||||
mode: "standalone",
|
mode: "standalone",
|
||||||
}),
|
}),
|
||||||
|
|
13
config.yaml
Normal file
13
config.yaml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
title: Gallery
|
||||||
|
description: this is a very long description so i can test if my css for this works fine
|
||||||
|
icon: /avatar.jpg
|
||||||
|
background: /bg.png
|
||||||
|
socials:
|
||||||
|
- name: bsky
|
||||||
|
url: https://lio.to/bluesky
|
||||||
|
- name: twitter
|
||||||
|
url: https://lio.to/twitter
|
||||||
|
- name: furaffinity
|
||||||
|
url: https://lio.to/bluesky
|
||||||
|
- name: mastodon
|
||||||
|
url: https://lio.to/mastodon
|
15
package.json
15
package.json
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "",
|
"name": "phobos",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -11,19 +11,24 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/check": "^0.7.0",
|
"@astrojs/check": "^0.7.0",
|
||||||
"@astrojs/node": "^8.2.5",
|
"@astrojs/node": "^8.3.2",
|
||||||
"@astrojs/react": "^3.4.0",
|
"@astrojs/react": "^3.6.0",
|
||||||
"@astrojs/tailwind": "^5.1.0",
|
"@astrojs/tailwind": "^5.1.0",
|
||||||
"@types/react": "^18.3.2",
|
"@types/react": "^18.3.2",
|
||||||
"@types/react-dom": "^18.3.0",
|
"@types/react-dom": "^18.3.0",
|
||||||
"astro": "^4.9.1",
|
"astro": "^4.11.3",
|
||||||
|
"nanostores": "^0.10.3",
|
||||||
"pocketbase": "^0.21.2",
|
"pocketbase": "^0.21.2",
|
||||||
"react": "^18.3.1",
|
"react": "^18.3.1",
|
||||||
"react-dom": "^18.3.1",
|
"react-dom": "^18.3.1",
|
||||||
|
"react-icons": "^5.2.1",
|
||||||
"tailwindcss": "^3.4.3",
|
"tailwindcss": "^3.4.3",
|
||||||
"typescript": "^5.4.5"
|
"typescript": "^5.4.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@rollup/plugin-yaml": "^4.1.2"
|
"@rollup/plugin-yaml": "^4.1.2",
|
||||||
|
"prettier": "^3.2.5",
|
||||||
|
"prettier-plugin-tailwindcss": "^0.5.14",
|
||||||
|
"sass": "^1.77.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
6493
pnpm-lock.yaml
generated
6493
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
BIN
public/avatar.jpg
Normal file
BIN
public/avatar.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 48 KiB |
BIN
public/bg.png
Normal file
BIN
public/bg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 892 KiB |
14
src/config.d.ts
vendored
14
src/config.d.ts
vendored
|
@ -1,4 +1,18 @@
|
||||||
declare module "*config.yaml" {
|
declare module "*config.yaml" {
|
||||||
|
const value: {
|
||||||
|
title?: string;
|
||||||
|
description?: string;
|
||||||
|
icon?: string;
|
||||||
|
background?: string;
|
||||||
|
socials: {
|
||||||
|
name: string;
|
||||||
|
url: string;
|
||||||
|
icon?: string;
|
||||||
|
}[];
|
||||||
|
};
|
||||||
|
export default value;
|
||||||
|
}
|
||||||
|
declare module "*config.yml" {
|
||||||
const value: {
|
const value: {
|
||||||
title?: string;
|
title?: string;
|
||||||
description?: string;
|
description?: string;
|
||||||
|
|
7
src/lib/pb.ts
Normal file
7
src/lib/pb.ts
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
import PB from "pocketbase";
|
||||||
|
const pb = new PB(import.meta.env.POCKETBASE_URL)
|
||||||
|
|
||||||
|
// pb.admins.authWithPassword(import.meta.env.POCKETBASE_USERNAME, import.meta.env.POCKETBASE_PASSWORD)
|
||||||
|
// pb.autoCancellation(false);
|
||||||
|
|
||||||
|
export default pb
|
Loading…
Add table
Reference in a new issue