Compare commits
72 commits
Author | SHA1 | Date | |
---|---|---|---|
f5bb4bf78e | |||
5181739230 | |||
449006320c | |||
483b2cc84b | |||
9daf38e537 | |||
da8564f01a | |||
dd9d0a662f | |||
2a258ac60b | |||
0494694cc9 | |||
764c5750a6 | |||
b7db7dd512 | |||
fcd05dcb09 | |||
7ed78bceff | |||
e406bd8764 | |||
064eb975b9 | |||
d7eb7e9c49 | |||
3347d2eaf2 | |||
3dbdca627e | |||
f2ff4e47cf | |||
340f39710e | |||
4b3a8898f6 | |||
b03eba2bd5 | |||
336c0c0db5 | |||
11b12e55b8 | |||
bb0fe0bece | |||
b4702278d2 | |||
9a84cf7fc2 | |||
eeabc4e66f | |||
be896ca00c | |||
ed9af00592 | |||
141b1cffc6 | |||
e8e6733c9f | |||
0cac39ba78 | |||
76c723d516 | |||
a24a7af3d8 | |||
91f8c1834a | |||
719a9ff3de | |||
8e4b169404 | |||
af83dfa7d8 | |||
5d1da2d3d8 | |||
cb8b53ea63 | |||
71a6ea0051 | |||
2b2ca46214 | |||
df9337c684 | |||
7e614b89a8 | |||
76e0674098 | |||
1592815835 | |||
736abd6a51 | |||
5bfdb277fc | |||
eaab523a2a | |||
ce6c660a76 | |||
353995a3e0 | |||
79fd73c368 | |||
58a49fe3fa | |||
273cd7b9b8 | |||
639ee165ba | |||
4b878fb113 | |||
48bbeac054 | |||
6d2cc3b996 | |||
3c97d6687c | |||
ac7e9f089e | |||
dc59b930ee | |||
aec4660bec | |||
709f459963 | |||
2a07a4ac19 | |||
4d5bf51566 | |||
dc6366703b | |||
c7e03bd105 | |||
72f6c3818b | |||
3086120b66 | |||
c1691a22d7 | |||
e2328bde46 |
|
@ -40,13 +40,14 @@ jobs:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
steps:
|
steps:
|
||||||
- name: Release New Version
|
- name: Release New Version
|
||||||
uses: actions/forgejo-release@v1
|
uses: https://code.forgejo.org/actions/forgejo-release@v1
|
||||||
with:
|
with:
|
||||||
direction: upload
|
direction: upload
|
||||||
url: https://forgejo.neshweb.net
|
url: https://forgejo.neshweb.net
|
||||||
release-dir: release
|
release-dir: release
|
||||||
token: ${{ secrets.FORGEJO_TOKEN }}
|
token: ${{ secrets.FORGEJO_TOKEN }}
|
||||||
tag: ${{ github.ref_name }}
|
tag: ${{ github.ref_name }}
|
||||||
|
prerelease: true
|
||||||
|
|
||||||
# doesn't work atm
|
# doesn't work atm
|
||||||
# unlighthouse:
|
# unlighthouse:
|
||||||
|
|
|
@ -2,9 +2,6 @@ on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- '[0-9]+\.[0-9]+\.[0-9]+'
|
- '[0-9]+\.[0-9]+\.[0-9]+'
|
||||||
- '[0-9]+\.[0-9]+\.[0-9]+a[0-9]+'
|
|
||||||
- '[0-9]+\.[0-9]+\.[0-9]+b[0-9]+'
|
|
||||||
- '[0-9]+\.[0-9]+\.[0-9]+rc[0-9]+'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
checking:
|
checking:
|
||||||
|
@ -43,7 +40,7 @@ jobs:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
steps:
|
steps:
|
||||||
- name: Release New Version
|
- name: Release New Version
|
||||||
uses: actions/forgejo-release@v1
|
uses: https://code.forgejo.org/actions/forgejo-release@v1
|
||||||
with:
|
with:
|
||||||
direction: upload
|
direction: upload
|
||||||
url: https://forgejo.neshweb.net
|
url: https://forgejo.neshweb.net
|
||||||
|
|
|
@ -7,7 +7,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
unlighthouse:
|
unlighthouse:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container: forgejo.neshweb.net/firq/unlighthouse-docker:latest
|
container: forgejo.neshweb.net/ci-docker-images/unlighthouse:latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: https://code.forgejo.org/actions/checkout@v3
|
uses: https://code.forgejo.org/actions/checkout@v3
|
||||||
|
@ -23,6 +23,7 @@ jobs:
|
||||||
|
|
||||||
deploy-unlighthouse-files:
|
deploy-unlighthouse-files:
|
||||||
needs: [ unlighthouse ]
|
needs: [ unlighthouse ]
|
||||||
|
if: success()
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
env:
|
env:
|
||||||
DEPLOY_USER: ${{ secrets.DEPLOY_USER }}
|
DEPLOY_USER: ${{ secrets.DEPLOY_USER }}
|
||||||
|
@ -67,6 +68,7 @@ jobs:
|
||||||
|
|
||||||
deploy-unlighthouse-site:
|
deploy-unlighthouse-site:
|
||||||
needs: [ deploy-unlighthouse-files ]
|
needs: [ deploy-unlighthouse-files ]
|
||||||
|
if: success()
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
env:
|
env:
|
||||||
DEPLOY_USER: ${{ secrets.DEPLOY_USER }}
|
DEPLOY_USER: ${{ secrets.DEPLOY_USER }}
|
||||||
|
@ -91,5 +93,6 @@ jobs:
|
||||||
key: ${{ secrets.SSH_PRIVATE_KEY }}
|
key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
script: |
|
script: |
|
||||||
PATH="$HOME/.local/bin:$PATH"
|
PATH="$HOME/.local/bin:$PATH"
|
||||||
|
screen -ls | grep 'firq_dev-unlighthouse' | awk '{print $1}' | xargs -I % -t screen -X -S % quit
|
||||||
cd firq_dev
|
cd firq_dev
|
||||||
screen -S firq_dev-unlighthouse -dm serve unlighthouse/ -p ${{ secrets.UNLIGHTHOUSE_DEPLOY_PORT }}
|
screen -S firq_dev-unlighthouse -dm serve unlighthouse/ -p ${{ secrets.UNLIGHTHOUSE_DEPLOY_PORT }}
|
||||||
|
|
12
.vscode/settings.json
vendored
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
"files.exclude": {
|
||||||
|
"**/.git": true,
|
||||||
|
"**/.svn": true,
|
||||||
|
"**/.hg": true,
|
||||||
|
"**/CVS": true,
|
||||||
|
"**/.DS_Store": true,
|
||||||
|
"**/Thumbs.db": true,
|
||||||
|
"**/__pycache__": true
|
||||||
|
},
|
||||||
|
"hide-files.files": []
|
||||||
|
}
|
|
@ -4,12 +4,11 @@ COPY . .
|
||||||
RUN npm i
|
RUN npm i
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
FROM node:lts AS runtime
|
FROM forgejo.neshweb.net/ci-docker-images/website-serve:latest AS runtime
|
||||||
RUN npm install --global "@warren-bank/serve"
|
|
||||||
|
|
||||||
COPY --from=build /app/dist /public
|
COPY --from=build /app/dist /public
|
||||||
COPY --from=build /app/serve.json /public/serve.json
|
COPY --from=build /app/serve.json /public/serve.json
|
||||||
RUN rm -r /public/assets/data/
|
RUN rm -r /public/data/
|
||||||
|
|
||||||
ENV PORT 8081
|
ENV PORT 8081
|
||||||
EXPOSE 8081
|
EXPOSE 8081
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { defineConfig } from 'astro/config';
|
import { defineConfig } from 'astro/config';
|
||||||
|
|
||||||
// https://astro.build/config
|
|
||||||
import sitemap from "@astrojs/sitemap";
|
import sitemap from "@astrojs/sitemap";
|
||||||
|
import mdx from "@astrojs/mdx";
|
||||||
|
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
|
@ -10,5 +10,5 @@ export default defineConfig({
|
||||||
outDir: 'dist',
|
outDir: 'dist',
|
||||||
publicDir: 'static',
|
publicDir: 'static',
|
||||||
site: 'https://firq.dev/',
|
site: 'https://firq.dev/',
|
||||||
integrations: [sitemap()]
|
integrations: [sitemap(), mdx()]
|
||||||
});
|
});
|
4510
package-lock.json
generated
16
package.json
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@firq/fgosite",
|
"name": "@firq/fgosite",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "0.1.7",
|
"version": "0.1.27",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "astro dev",
|
"dev": "astro dev",
|
||||||
|
@ -11,10 +11,18 @@
|
||||||
"astro": "astro"
|
"astro": "astro"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@astro-community/astro-embed-youtube": "^0.4.3",
|
||||||
"@astrojs/check": "^0.3.3",
|
"@astrojs/check": "^0.3.3",
|
||||||
|
"@astrojs/mdx": "^2.0.3",
|
||||||
"@astrojs/sitemap": "^3.0.3",
|
"@astrojs/sitemap": "^3.0.3",
|
||||||
"astro": "^4.0.7",
|
"astro": "^4.2.1",
|
||||||
"iconoir": "^6.1.0",
|
"autoprefixer": "^10.4.16",
|
||||||
|
"iconoir": "^7.2.0",
|
||||||
|
"postcss-preset-env": "^9.3.0",
|
||||||
"typescript": "^5.3.3"
|
"typescript": "^5.3.3"
|
||||||
}
|
},
|
||||||
|
"browserslist": [
|
||||||
|
"last 2 versions",
|
||||||
|
">0.5% and not dead"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
13
postcss.config.cjs
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
module.exports = {
|
||||||
|
plugins: {
|
||||||
|
"postcss-preset-env": {
|
||||||
|
autoprefixer: { flexbox: "no-2009" },
|
||||||
|
stage: 2,
|
||||||
|
features: {
|
||||||
|
"custom-properties": false,
|
||||||
|
"custom-media-queries": true,
|
||||||
|
"nesting-rules": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
|
@ -14,14 +14,14 @@
|
||||||
"source" : "**/*.css",
|
"source" : "**/*.css",
|
||||||
"headers" : [{
|
"headers" : [{
|
||||||
"key" : "Cache-Control",
|
"key" : "Cache-Control",
|
||||||
"value" : "max-age=86400"
|
"value" : "max-age=31536000"
|
||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"source" : "**/*.@(jpg|jpeg|gif|png|webp|svg)",
|
"source" : "**/*.@(jpg|jpeg|gif|png|webp|svg)",
|
||||||
"headers" : [{
|
"headers" : [{
|
||||||
"key" : "Cache-Control",
|
"key" : "Cache-Control",
|
||||||
"value" : "max-age=86400"
|
"value" : "max-age=31536000"
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Before Width: | Height: | Size: 81 KiB After Width: | Height: | Size: 81 KiB |
BIN
src/assets/ce/2030.png
Normal file
After Width: | Height: | Size: 38 KiB |
BIN
src/assets/ce/500.png
Normal file
After Width: | Height: | Size: 34 KiB |
BIN
src/assets/ce/black_grail.png
Normal file
After Width: | Height: | Size: 33 KiB |
BIN
src/assets/ce/bond-ce/bride.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
src/assets/ce/bond-ce/castoria.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
src/assets/ce/bond-ce/chiron.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
src/assets/ce/bond-ce/crane.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
src/assets/ce/bond-ce/douman.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
src/assets/ce/bond-ce/gogh.png
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
src/assets/ce/bond-ce/himiko.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
src/assets/ce/bond-ce/ibaraki.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
src/assets/ce/bond-ce/jane.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
src/assets/ce/bond-ce/koyanlight.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
src/assets/ce/bond-ce/liz.png
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
src/assets/ce/bond-ce/merlin.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
src/assets/ce/bond-ce/oberon.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
src/assets/ce/bond-ce/reines.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
src/assets/ce/bond-ce/santagale.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
src/assets/ce/bond-ce/scathach.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
src/assets/ce/bond-ce/sherlock.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
src/assets/ce/bond-ce/skadi.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
src/assets/ce/bond-ce/taigong.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
src/assets/ce/bond-ce/tamamo.png
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
src/assets/ce/bond-ce/waver.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
src/assets/ce/bond-ce/wu.png
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
src/assets/ce/devilish_bodhisattva.png
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
src/assets/ce/kaleidoscope.png
Normal file
After Width: | Height: | Size: 35 KiB |
BIN
src/assets/ce/maidens_teachings.png
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
src/assets/ce/merciless_one.png
Normal file
After Width: | Height: | Size: 38 KiB |
BIN
src/assets/ce/mlb.png
Normal file
After Width: | Height: | Size: 7.7 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
BIN
src/assets/ce/outrage.png
Normal file
After Width: | Height: | Size: 36 KiB |
BIN
src/assets/ce/ox-demon.png
Normal file
After Width: | Height: | Size: 41 KiB |
BIN
src/assets/ce/prisma_cosmos.png
Normal file
After Width: | Height: | Size: 36 KiB |
BIN
src/assets/ce/vessel.png
Normal file
After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 7 KiB After Width: | Height: | Size: 7 KiB |
BIN
src/assets/favourites/scathach.png
Normal file
After Width: | Height: | Size: 554 KiB |
BIN
src/assets/favourites/skadi.png
Normal file
After Width: | Height: | Size: 565 KiB |
Before Width: | Height: | Size: 9 KiB After Width: | Height: | Size: 9 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
BIN
src/assets/okita.png
Normal file
After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 152 KiB After Width: | Height: | Size: 152 KiB |
BIN
src/assets/servant/bride_03.png
Normal file
After Width: | Height: | Size: 97 KiB |
BIN
src/assets/servant/castoria_01.png
Normal file
After Width: | Height: | Size: 63 KiB |
BIN
src/assets/servant/castoria_02.png
Normal file
After Width: | Height: | Size: 70 KiB |
BIN
src/assets/servant/chiron_01.png
Normal file
After Width: | Height: | Size: 58 KiB |
BIN
src/assets/servant/crane_01.png
Normal file
After Width: | Height: | Size: 52 KiB |
BIN
src/assets/servant/douman_01.png
Normal file
After Width: | Height: | Size: 76 KiB |
BIN
src/assets/servant/gogh_01.png
Normal file
After Width: | Height: | Size: 75 KiB |
BIN
src/assets/servant/himiko_03.png
Normal file
After Width: | Height: | Size: 93 KiB |
BIN
src/assets/servant/ibaraki_02.png
Normal file
After Width: | Height: | Size: 72 KiB |
BIN
src/assets/servant/jane_02.png
Normal file
After Width: | Height: | Size: 73 KiB |
BIN
src/assets/servant/koyanlight_01.png
Normal file
After Width: | Height: | Size: 84 KiB |
BIN
src/assets/servant/liz_01.png
Normal file
After Width: | Height: | Size: 88 KiB |
BIN
src/assets/servant/merlin_01.png
Normal file
After Width: | Height: | Size: 56 KiB |
BIN
src/assets/servant/merlin_03.png
Normal file
After Width: | Height: | Size: 75 KiB |
BIN
src/assets/servant/oberon_02.png
Normal file
After Width: | Height: | Size: 69 KiB |
BIN
src/assets/servant/reines_01.png
Normal file
After Width: | Height: | Size: 52 KiB |
BIN
src/assets/servant/santagale_01.png
Normal file
After Width: | Height: | Size: 88 KiB |
BIN
src/assets/servant/scathach_03.png
Normal file
After Width: | Height: | Size: 69 KiB |
BIN
src/assets/servant/sherlock_03.png
Normal file
After Width: | Height: | Size: 44 KiB |
BIN
src/assets/servant/skadi_01.png
Normal file
After Width: | Height: | Size: 66 KiB |
BIN
src/assets/servant/skadi_02.png
Normal file
After Width: | Height: | Size: 66 KiB |
BIN
src/assets/servant/skadi_03.png
Normal file
After Width: | Height: | Size: 77 KiB |
BIN
src/assets/servant/taigong_03.png
Normal file
After Width: | Height: | Size: 68 KiB |
BIN
src/assets/servant/tamamo_03.png
Normal file
After Width: | Height: | Size: 101 KiB |
BIN
src/assets/servant/waver_02.png
Normal file
After Width: | Height: | Size: 48 KiB |
BIN
src/assets/servant/wu_01.png
Normal file
After Width: | Height: | Size: 67 KiB |
Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 52 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 6.9 KiB |
Before Width: | Height: | Size: 9.2 KiB After Width: | Height: | Size: 9.2 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
BIN
src/assets/ta_icons/abyssalworm.webp
Normal file
After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
BIN
src/assets/ta_icons/beast_4_l.png
Normal file
After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 8.8 KiB After Width: | Height: | Size: 8.8 KiB |
BIN
src/assets/ta_icons/cernnunos.webp
Normal file
After Width: | Height: | Size: 8.5 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |