Compare commits
97 commits
main
...
0.2.0-pre.
Author | SHA1 | Date | |
---|---|---|---|
5dfbd2cccd | |||
8c425d8690 | |||
4a4d5434f5 | |||
d6fb3bccbe | |||
0e637384b6 | |||
f4e8a39c08 | |||
cf84c65beb | |||
90ac6d527c | |||
da582980b9 | |||
c0588ee760 | |||
e11130ce1a | |||
500080be9f | |||
9922507975 | |||
e4252aa6dc | |||
4cb0f2db10 | |||
031d057811 | |||
aaa9611b1c | |||
8e6be5ae82 | |||
d93d0416e5 | |||
564e902b69 | |||
ed91be36d7 | |||
3d729731a5 | |||
2bd68c106c | |||
34421fdb76 | |||
d906df3fec | |||
8a84de8807 | |||
014ea40dce | |||
0473c836d7 | |||
3587ee38a7 | |||
c0d6d8a516 | |||
4387207c14 | |||
f26fdbe579 | |||
2696d0e146 | |||
0b7b7fa071 | |||
2d07dbbbdb | |||
6e3d23e8f7 | |||
86ee37e441 | |||
9f225b0708 | |||
4f16151149 | |||
9718bc07b6 | |||
f82341135c | |||
acbb7489e5 | |||
ab2b69aff3 | |||
ee6c695d33 | |||
974f259804 | |||
f3ff40b6f1 | |||
58ae955f66 | |||
7948fac47a | |||
7ad7efe0e2 | |||
37a7e99e78 | |||
d91e9c4af5 | |||
45f8b2bfd8 | |||
52923ad819 | |||
e020bb1c18 | |||
aad69a3e77 | |||
93ea52b3a6 | |||
4d4271a5da | |||
1575997c4d | |||
3fbb0d0196 | |||
e859576215 | |||
8ab6361b6d | |||
950eb1d9f3 | |||
61ce9f8575 | |||
3b307e48c7 | |||
96a9c2593c | |||
1f7709031c | |||
9d8493273d | |||
676e5e2b00 | |||
ab5630602d | |||
6b1b3ab6f3 | |||
d75fd91634 | |||
a7bb38b89a | |||
c72ffef3fc | |||
5007af517b | |||
a9568375c1 | |||
de68104603 | |||
245cac7d87 | |||
60330800f9 | |||
7a425c4fda | |||
186b797bb6 | |||
bc5f43802f | |||
be1416a74a | |||
1cee0efcad | |||
45fd654ef1 | |||
e4b0b87e9f | |||
cc55ec3a87 | |||
08ae371dbf | |||
a73afacf6c | |||
0dca43eb19 | |||
9cb6ff6ed7 | |||
700aa1d223 | |||
d06655296b | |||
beae91e5fd | |||
394e575ca6 | |||
1aa9753d8b | |||
c4d73c2f98 | |||
2decf6604b |
|
@ -1,41 +1,57 @@
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- '[0-9]+\.[0-9]+\.[0-9]+pre[0-9]+'
|
- '[0-9]+\.[0-9]+\.[0-9]+-pre\.[0-9]+'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
checking:
|
check-tag:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container: node:lts
|
steps:
|
||||||
|
- name: Checking Out Repository Code
|
||||||
|
uses: https://code.forgejo.org/actions/checkout@v3
|
||||||
|
- name: Check if Version in package.json matches Tag
|
||||||
|
run: |
|
||||||
|
VERSION=$(npm pkg get version --workspaces=false | tr -d \")
|
||||||
|
if test $VERSION != "${{ github.ref_name }}"; then
|
||||||
|
echo "Expected Version is: '${{ github.ref_name }}' actual Version is: '$VERSION'";
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
echo "Version is: '$VERSION'";
|
||||||
|
fi
|
||||||
|
|
||||||
|
checking:
|
||||||
|
needs: [ check-tag ]
|
||||||
|
runs-on: docker
|
||||||
|
container: forgejo.neshweb.net/ci-docker-images/node-alpine-git:latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout source code
|
- name: Checkout source code
|
||||||
uses: https://code.forgejo.org/actions/checkout@v3
|
uses: https://code.forgejo.org/actions/checkout@v3
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
run: npm install
|
run: npm i
|
||||||
- name: Run astro check (linting + static analysis)
|
- name: Run astro check (linting + static analysis)
|
||||||
run: npm run astro check
|
run: npm run astro check
|
||||||
|
|
||||||
build-site:
|
build-site:
|
||||||
needs: [checking]
|
needs: [ checking ]
|
||||||
if: success()
|
if: success()
|
||||||
runs-on: dind
|
runs-on: dind
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
- name: Login to Docker Hub
|
- name: Log into Docker Package Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: forgejo.neshweb.net
|
registry: forgejo.neshweb.net
|
||||||
username: ${{ secrets.FORGEJO_USERNAME }}
|
username: ${{ secrets.FORGEJO_USERNAME }}
|
||||||
password: ${{ secrets.FORGEJO_TOKEN }}
|
password: ${{ secrets.FORGEJO_TOKEN }}
|
||||||
- name: Push to Package Registry
|
- name: Build and push to Docker Package Registry
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
tags: forgejo.neshweb.net/firq/firq-dev-website:${{ github.ref_name }}, forgejo.neshweb.net/firq/firq-dev-website:preview
|
tags: forgejo.neshweb.net/firq/firq-dev-website:${{ github.ref_name }}, forgejo.neshweb.net/firq/firq-dev-website:preview
|
||||||
|
|
||||||
publish:
|
create-release:
|
||||||
needs: [build-site]
|
needs: [ build-site ]
|
||||||
if: success()
|
if: success()
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
steps:
|
steps:
|
||||||
|
@ -49,22 +65,33 @@ jobs:
|
||||||
tag: ${{ github.ref_name }}
|
tag: ${{ github.ref_name }}
|
||||||
prerelease: true
|
prerelease: true
|
||||||
|
|
||||||
# doesn't work atm
|
auto-deploy-dockge:
|
||||||
# unlighthouse:
|
needs: [ build-site ]
|
||||||
# needs: [publish]
|
if: success()
|
||||||
# if: success()
|
runs-on: docker
|
||||||
# runs-on: docker
|
container: forgejo.neshweb.net/firq/dockge-cli:0.1.2
|
||||||
# container: registry.gitlab.com/gitlab-ci-utils/lighthouse:latest
|
steps:
|
||||||
# services:
|
- name: Configure Dockge CLI
|
||||||
# website:
|
run: |
|
||||||
# image: forgejo.neshweb.net/firq/firq-dev-website:preview
|
dockge host '${{ vars.DOCKGE_HOST }}'
|
||||||
# steps:
|
dockge login --user '${{ secrets.DOCKGE_USER }}' --password '${{ secrets.DOCKGE_CREDENTIAL }}'
|
||||||
# - name: Install Dependencies
|
- name: Check status and redeploy
|
||||||
# run: npm install @unlighthouse/cli puppeteer
|
run: |
|
||||||
# - name: Run unlighthouse
|
dockge status firq-dev-preview
|
||||||
# run: node_modules/.bin/unlighthouse-ci
|
dockge update firq-dev-preview
|
||||||
# - name: Upload reports
|
dockge status firq-dev-preview
|
||||||
# uses: actions/upload-artifact@v3
|
|
||||||
# with:
|
run-unlighthouse:
|
||||||
# name: unlighthouse-reports
|
needs: [ build-site ]
|
||||||
# path: unlighthouse-reports/
|
if: success()
|
||||||
|
runs-on: docker
|
||||||
|
steps:
|
||||||
|
- name: Launch workflow
|
||||||
|
run: |
|
||||||
|
payload="{\"ref\": \"${GITHUB_REF_NAME}\", \"inputs\": { \"containertag\": \"${GITHUB_REF_NAME}\" }}"
|
||||||
|
curl -X "POST" \
|
||||||
|
-H "accept: application/json" \
|
||||||
|
-H "Content-Type: application/json" \
|
||||||
|
-H "Authorization: token ${GITHUB_TOKEN}" \
|
||||||
|
-d "${payload}" \
|
||||||
|
"${GITHUB_API_URL}/repos/${GITHUB_REPOSITORY}/actions/workflows/unlighthouse.yml/dispatches" -v
|
||||||
|
|
|
@ -4,38 +4,85 @@ on:
|
||||||
- '[0-9]+\.[0-9]+\.[0-9]+'
|
- '[0-9]+\.[0-9]+\.[0-9]+'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
checking:
|
check-tag:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container: node:lts
|
steps:
|
||||||
|
- name: Checking Out Repository Code
|
||||||
|
uses: https://code.forgejo.org/actions/checkout@v3
|
||||||
|
- name: Check if Version in package.json matches Tag
|
||||||
|
run: |
|
||||||
|
VERSION=$(npm pkg get version --workspaces=false | tr -d \")
|
||||||
|
if test $VERSION != "${{ github.ref_name }}"; then
|
||||||
|
echo "Expected Version is: '${{ github.ref_name }}' actual Version is: '$VERSION'";
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
echo "Version is: '$VERSION'";
|
||||||
|
fi
|
||||||
|
|
||||||
|
checking:
|
||||||
|
needs: [ check-tag ]
|
||||||
|
runs-on: docker
|
||||||
|
container: forgejo.neshweb.net/ci-docker-images/node-alpine-git:latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout source code
|
- name: Checkout source code
|
||||||
uses: https://code.forgejo.org/actions/checkout@v3
|
uses: https://code.forgejo.org/actions/checkout@v3
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
run: npm install
|
run: npm i
|
||||||
- name: Run astro check (linting + static analysis)
|
- name: Run astro check (linting + static analysis)
|
||||||
run: npm run astro check
|
run: npm run astro check
|
||||||
|
|
||||||
build-site:
|
build-site:
|
||||||
needs: [checking]
|
needs: [ checking ]
|
||||||
if: success()
|
if: success()
|
||||||
runs-on: dind
|
runs-on: dind
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
- name: Login to Docker Hub
|
- name: Log into Docker Package Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: forgejo.neshweb.net
|
registry: forgejo.neshweb.net
|
||||||
username: ${{ secrets.FORGEJO_USERNAME }}
|
username: ${{ secrets.FORGEJO_USERNAME }}
|
||||||
password: ${{ secrets.FORGEJO_TOKEN }}
|
password: ${{ secrets.FORGEJO_TOKEN }}
|
||||||
- name: Push to Package Registry
|
- name: Build and push to Docker Package Registry
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
tags: forgejo.neshweb.net/firq/firq-dev-website:${{ github.ref_name }}, forgejo.neshweb.net/firq/firq-dev-website:latest
|
tags: forgejo.neshweb.net/firq/firq-dev-website:${{ github.ref_name }}, forgejo.neshweb.net/firq/firq-dev-website:latest
|
||||||
|
|
||||||
release:
|
auto-deploy-dockge:
|
||||||
needs: [build-site]
|
needs: [ build-site ]
|
||||||
|
if: success()
|
||||||
|
runs-on: docker
|
||||||
|
container: forgejo.neshweb.net/firq/dockge-cli:0.1.2
|
||||||
|
steps:
|
||||||
|
- name: Configure Dockge CLI
|
||||||
|
run: |
|
||||||
|
dockge host '${{ vars.DOCKGE_HOST }}'
|
||||||
|
dockge login --user '${{ secrets.DOCKGE_USER }}' --password '${{ secrets.DOCKGE_CREDENTIAL }}'
|
||||||
|
- name: Check status and redeploy
|
||||||
|
run: |
|
||||||
|
dockge status firq-dev
|
||||||
|
dockge update firq-dev
|
||||||
|
dockge status firq-dev
|
||||||
|
|
||||||
|
run-unlighthouse:
|
||||||
|
needs: [ build-site ]
|
||||||
|
if: success()
|
||||||
|
runs-on: docker
|
||||||
|
steps:
|
||||||
|
- name: Launch workflow
|
||||||
|
run: |
|
||||||
|
payload="{\"ref\": \"${GITHUB_REF_NAME}\", \"inputs\": { \"containertag\": \"${GITHUB_REF_NAME}\" }}"
|
||||||
|
curl -X "POST" \
|
||||||
|
-H "accept: application/json" \
|
||||||
|
-H "Content-Type: application/json" \
|
||||||
|
-H "Authorization: token ${GITHUB_TOKEN}" \
|
||||||
|
-d "${payload}" \
|
||||||
|
"${GITHUB_API_URL}/repos/${GITHUB_REPOSITORY}/actions/workflows/unlighthouse.yml/dispatches" -v
|
||||||
|
|
||||||
|
create-release:
|
||||||
|
needs: [ build-site ]
|
||||||
if: success()
|
if: success()
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
steps:
|
steps:
|
||||||
|
|
|
@ -1,16 +1,25 @@
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- "**"
|
- '**'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
checking:
|
get-version:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container: node:lts
|
steps:
|
||||||
|
- name: Checking Out Repository Code
|
||||||
|
uses: https://code.forgejo.org/actions/checkout@v3
|
||||||
|
- name: Check if Version in package.json matches Tag
|
||||||
|
run: |
|
||||||
|
VERSION=$(npm pkg get version --workspaces=false | tr -d \")
|
||||||
|
echo "Version is: '$VERSION'";
|
||||||
|
astro-check:
|
||||||
|
runs-on: docker
|
||||||
|
container: forgejo.neshweb.net/ci-docker-images/node-alpine-git:latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout source code
|
- name: Checkout source code
|
||||||
uses: https://code.forgejo.org/actions/checkout@v3
|
uses: https://code.forgejo.org/actions/checkout@v3
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
run: npm install
|
run: npm i
|
||||||
- name: Run astro check (linting + static analysis)
|
- name: Run astro check (linting + static analysis)
|
||||||
run: npm run astro check
|
run: npm run astro check
|
||||||
|
|
|
@ -1,18 +1,30 @@
|
||||||
on:
|
on:
|
||||||
push:
|
workflow_dispatch:
|
||||||
tags:
|
inputs:
|
||||||
- '[0-9]+\.[0-9]+\.[0-9]+unlighthouse[0-9]+'
|
containertag:
|
||||||
- '[0-9]+\.[0-9]+\.[0-9]+ulh[0-9]+'
|
description: "Tag of the container to test"
|
||||||
|
default: "preview"
|
||||||
|
type: "string"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
unlighthouse:
|
unlighthouse:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container: forgejo.neshweb.net/ci-docker-images/unlighthouse:latest
|
container:
|
||||||
|
image: forgejo.neshweb.net/ci-docker-images/unlighthouse:0.3.0
|
||||||
|
services:
|
||||||
|
website:
|
||||||
|
image: forgejo.neshweb.net/firq/firq-dev-website:${{ inputs.containertag }}
|
||||||
|
options: >-
|
||||||
|
--workdir /
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: https://code.forgejo.org/actions/checkout@v3
|
uses: https://code.forgejo.org/actions/checkout@v3
|
||||||
|
- name: Check availability
|
||||||
|
run: curl "http://localhost:8081/"
|
||||||
- name: Run unlighthouse
|
- name: Run unlighthouse
|
||||||
run: unlighthouse-ci --site "https://preview.firq.dev/"
|
run: unlighthouse-ci --site "http://localhost:8081/"
|
||||||
|
- name: Replace URLs
|
||||||
|
run: find ./unlighthouse-reports -type f | xargs sed -i "s|http://localhost:8081|https://preview.firq.dev|g";
|
||||||
- name: Prepare artifacts
|
- name: Prepare artifacts
|
||||||
run: cp serve.json unlighthouse-reports
|
run: cp serve.json unlighthouse-reports
|
||||||
- name: Upload reports
|
- name: Upload reports
|
||||||
|
|
6
.gitignore
vendored
|
@ -4,6 +4,12 @@ dist/
|
||||||
public/
|
public/
|
||||||
maintenance/
|
maintenance/
|
||||||
|
|
||||||
|
# astro stuff
|
||||||
|
.astro/
|
||||||
|
|
||||||
|
# config stuff
|
||||||
|
.vscode/
|
||||||
|
|
||||||
# Temp Scripts
|
# Temp Scripts
|
||||||
scripts/
|
scripts/
|
||||||
|
|
||||||
|
|
4
.vscode/extensions.json
vendored
|
@ -1,4 +0,0 @@
|
||||||
{
|
|
||||||
"recommendations": ["astro-build.astro-vscode"],
|
|
||||||
"unwantedRecommendations": []
|
|
||||||
}
|
|
11
.vscode/launch.json
vendored
|
@ -1,11 +0,0 @@
|
||||||
{
|
|
||||||
"version": "0.2.0",
|
|
||||||
"configurations": [
|
|
||||||
{
|
|
||||||
"command": "./node_modules/.bin/astro dev",
|
|
||||||
"name": "Development server",
|
|
||||||
"request": "launch",
|
|
||||||
"type": "node-terminal"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
12
.vscode/settings.json
vendored
|
@ -1,12 +0,0 @@
|
||||||
{
|
|
||||||
"files.exclude": {
|
|
||||||
"**/.git": true,
|
|
||||||
"**/.svn": true,
|
|
||||||
"**/.hg": true,
|
|
||||||
"**/CVS": true,
|
|
||||||
"**/.DS_Store": true,
|
|
||||||
"**/Thumbs.db": true,
|
|
||||||
"**/__pycache__": true
|
|
||||||
},
|
|
||||||
"hide-files.files": []
|
|
||||||
}
|
|
|
@ -1,16 +1,15 @@
|
||||||
FROM node:lts AS build
|
FROM node:22-alpine AS build
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN npm i
|
RUN npm i
|
||||||
|
RUN npm run astro telemetry disable
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
FROM forgejo.neshweb.net/ci-docker-images/website-serve:latest AS runtime
|
FROM forgejo.neshweb.net/ci-docker-images/website-serve:2 AS runtime
|
||||||
|
|
||||||
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/data/
|
RUN rm -r /public/data/
|
||||||
|
|
||||||
ENV PORT 8081
|
|
||||||
EXPOSE 8081
|
EXPOSE 8081
|
||||||
|
CMD serve public/ -p 8081
|
||||||
CMD [ "serve", "public/", "-p", "8081" ]
|
|
||||||
|
|
38
README.md
|
@ -2,43 +2,6 @@
|
||||||
|
|
||||||
This is build using [Astro](https://astro.build)
|
This is build using [Astro](https://astro.build)
|
||||||
|
|
||||||
|
|
||||||
## 🚀 Project Structure
|
|
||||||
|
|
||||||
```
|
|
||||||
/
|
|
||||||
├── static/
|
|
||||||
│ ├── favicon.svg
|
|
||||||
│ └── other files ...
|
|
||||||
│
|
|
||||||
├── src/
|
|
||||||
│ ├── components/
|
|
||||||
│ │ ├── servantCard.astro
|
|
||||||
│ │ ├── ceCard.astro
|
|
||||||
│ │ ├── contactCard.astro
|
|
||||||
│ │ └── taCard.astro
|
|
||||||
│ │
|
|
||||||
│ ├── layouts/
|
|
||||||
│ │ ├── customFooter.astro
|
|
||||||
│ │ ├── baseSection.astro
|
|
||||||
│ │ ├── taSection.astro
|
|
||||||
│ │ ├── contactSection.astro
|
|
||||||
│ │ └── Layout.astro
|
|
||||||
│ │
|
|
||||||
│ └── pages/
|
|
||||||
│ └── index.astro
|
|
||||||
│
|
|
||||||
├── .gitlab-ci.yml
|
|
||||||
├── astro.config.mjs
|
|
||||||
└── package.json
|
|
||||||
```
|
|
||||||
|
|
||||||
Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name.
|
|
||||||
|
|
||||||
More routes will follow soon
|
|
||||||
|
|
||||||
Any static assets, like images, can be placed in the `static/` directory.
|
|
||||||
|
|
||||||
## 🧞 Astro-Specific Commands
|
## 🧞 Astro-Specific Commands
|
||||||
|
|
||||||
All commands are run from the root of the project, from a terminal:
|
All commands are run from the root of the project, from a terminal:
|
||||||
|
@ -51,4 +14,3 @@ All commands are run from the root of the project, from a terminal:
|
||||||
| `npm run preview` | Preview your build locally, before deploying |
|
| `npm run preview` | Preview your build locally, before deploying |
|
||||||
| `npm run astro ...` | Run CLI commands like `astro add`, `astro preview` |
|
| `npm run astro ...` | Run CLI commands like `astro add`, `astro preview` |
|
||||||
| `npm run astro --help` | Get help using the Astro CLI |
|
| `npm run astro --help` | Get help using the Astro CLI |
|
||||||
|
|
||||||
|
|
9565
package-lock.json
generated
22
package.json
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@firq/fgosite",
|
"name": "@firq/fgosite",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "0.1.27",
|
"version": "0.2.0-pre.30",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "astro dev",
|
"dev": "astro dev",
|
||||||
|
@ -11,15 +11,17 @@
|
||||||
"astro": "astro"
|
"astro": "astro"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astro-community/astro-embed-youtube": "^0.4.3",
|
"@astro-community/astro-embed-youtube": "^0.5.2",
|
||||||
"@astrojs/check": "^0.3.3",
|
"@astrojs/check": "^0.9.4",
|
||||||
"@astrojs/mdx": "^2.0.3",
|
"@astrojs/mdx": "^3.1.8",
|
||||||
"@astrojs/sitemap": "^3.0.3",
|
"@astrojs/sitemap": "^3.2.1",
|
||||||
"astro": "^4.2.1",
|
"@fontsource-variable/work-sans": "^5.1.0",
|
||||||
"autoprefixer": "^10.4.16",
|
"astro": "^4.16.6",
|
||||||
"iconoir": "^7.2.0",
|
"astro-meta-tags": "^0.3.0",
|
||||||
"postcss-preset-env": "^9.3.0",
|
"autoprefixer": "^10.4.19",
|
||||||
"typescript": "^5.3.3"
|
"iconoir": "^7.7.0",
|
||||||
|
"postcss-preset-env": "^9.6.0",
|
||||||
|
"typescript": "^5.5.3"
|
||||||
},
|
},
|
||||||
"browserslist": [
|
"browserslist": [
|
||||||
"last 2 versions",
|
"last 2 versions",
|
||||||
|
|
|
@ -17,6 +17,15 @@
|
||||||
"value" : "max-age=31536000"
|
"value" : "max-age=31536000"
|
||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"source": "**/*.woff2",
|
||||||
|
"headers": [
|
||||||
|
{
|
||||||
|
"key": "Cache-Control",
|
||||||
|
"value" : "max-age=31536000"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"source" : "**/*.@(jpg|jpeg|gif|png|webp|svg)",
|
"source" : "**/*.@(jpg|jpeg|gif|png|webp|svg)",
|
||||||
"headers" : [{
|
"headers" : [{
|
||||||
|
|
BIN
src/assets/ce/bond-ce/summerskadi.png
Normal file
After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 554 KiB After Width: | Height: | Size: 425 KiB |
Before Width: | Height: | Size: 565 KiB After Width: | Height: | Size: 421 KiB |
BIN
src/assets/favourites/summerskadi.png
Normal file
After Width: | Height: | Size: 436 KiB |
BIN
src/assets/servant/koyanlight_02.png
Normal file
After Width: | Height: | Size: 122 KiB |
BIN
src/assets/servant/liz_02.png
Normal file
After Width: | Height: | Size: 120 KiB |
BIN
src/assets/servant/summerskadi_02.png
Normal file
After Width: | Height: | Size: 86 KiB |
BIN
src/assets/servant/summerskadi_03.png
Normal file
After Width: | Height: | Size: 107 KiB |
|
@ -1,8 +1,9 @@
|
||||||
---
|
---
|
||||||
export interface Props {
|
export interface Props {
|
||||||
url: string | undefined
|
url: string
|
||||||
|
slug: string
|
||||||
title: string
|
title: string
|
||||||
pubdate: string
|
pubdate: Date
|
||||||
description: string
|
description: string
|
||||||
author: string
|
author: string
|
||||||
}
|
}
|
||||||
|
@ -12,11 +13,11 @@ const options_date: Intl.DateTimeFormatOptions = {
|
||||||
month: 'long',
|
month: 'long',
|
||||||
day: '2-digit',
|
day: '2-digit',
|
||||||
}
|
}
|
||||||
const { author, description, pubdate, url, title } = Astro.props
|
const { author, description, pubdate, url, title, slug } = Astro.props
|
||||||
const date = new Date(pubdate).toLocaleDateString('en-GB', options_date)
|
const date = new Date(pubdate).toLocaleDateString('en-GB', options_date)
|
||||||
---
|
---
|
||||||
|
|
||||||
<a href={url} rel="noopener noreferrer">
|
<a href={`${url}/${slug}`} rel="noopener noreferrer">
|
||||||
<div class="circle"></div>
|
<div class="circle"></div>
|
||||||
<article>
|
<article>
|
||||||
<h2>{title}</h2>
|
<h2>{title}</h2>
|
||||||
|
@ -29,38 +30,14 @@ const date = new Date(pubdate).toLocaleDateString('en-GB', options_date)
|
||||||
.circle {
|
.circle {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
@media (min-width: 900px) {
|
|
||||||
.circle {
|
|
||||||
margin: 1rem 1rem 1rem 0rem;
|
|
||||||
position: relative;
|
|
||||||
display: flex;
|
|
||||||
visibility: visible;
|
|
||||||
height: 1.5rem;
|
|
||||||
width: 1.5rem;
|
|
||||||
border-radius: 40%;
|
|
||||||
background-color: var(--c-darkpurple);
|
|
||||||
transition: transform var(--speed) var(--ease);
|
|
||||||
}
|
|
||||||
|
|
||||||
a:hover > .circle {
|
|
||||||
height: 1.75rem;
|
|
||||||
width: 1.75rem;
|
|
||||||
translate: -0.125rem;
|
|
||||||
margin-right: 0.825rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
article {
|
|
||||||
margin-left: 0.5rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
a {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
display: flex;
|
display: flex;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
height: auto;
|
height: fit-content;
|
||||||
margin: 0.5rem;
|
margin: 0px 0.5rem;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
p {
|
p {
|
||||||
|
@ -88,8 +65,8 @@ const date = new Date(pubdate).toLocaleDateString('en-GB', options_date)
|
||||||
flex: 1;
|
flex: 1;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: flex-start;
|
align-items: center;
|
||||||
align-content: flex-start;
|
align-content: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
background-color: var(--c-darkergray);
|
background-color: var(--c-darkergray);
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
@ -98,7 +75,47 @@ const date = new Date(pubdate).toLocaleDateString('en-GB', options_date)
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
border-radius: 1.25rem;
|
border-radius: 1.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover > article {
|
a:hover > article {
|
||||||
transform: scaleY(102.5%) scaleX(101%);
|
transform: scaleY(102.5%) scaleX(101%);
|
||||||
|
transition: transform var(--speed) var(--ease);
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 900px) {
|
||||||
|
.circle {
|
||||||
|
margin: 1rem 0.5rem 1rem 0.5rem;
|
||||||
|
position: relative;
|
||||||
|
display: flex;
|
||||||
|
visibility: visible;
|
||||||
|
height: 1rem;
|
||||||
|
width: 1rem;
|
||||||
|
background-color: var(--c-darkpurple);
|
||||||
|
border-style: solid;
|
||||||
|
border-width: 0.25rem;
|
||||||
|
border-color: var(--c-lightgray);
|
||||||
|
border-radius: 40%;
|
||||||
|
transition: transform var(--speed) var(--ease);
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover > .circle {
|
||||||
|
height: 1.25rem;
|
||||||
|
width: 1.25rem;
|
||||||
|
translate: -0.125rem;
|
||||||
|
margin-right: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover article {
|
||||||
|
border-color: var(--c-darkpurple);
|
||||||
|
transform: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
article {
|
||||||
|
border-style: solid;
|
||||||
|
border-width: 2px;
|
||||||
|
border-color: var(--c-darkergray);
|
||||||
|
align-items: flex-start;
|
||||||
|
align-content: flex-start;
|
||||||
|
margin-left: 0.5rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
|
@ -1,8 +1,8 @@
|
||||||
---
|
---
|
||||||
import { Image } from 'astro:assets'
|
import { Image } from 'astro:assets'
|
||||||
import mlb_ce from '../assets/ce/mlb.webp'
|
import mlb_ce from '../../assets/ce/mlb.webp'
|
||||||
import type { GlobImage } from '../types/generic'
|
import type { GlobImage } from '../../types/generic'
|
||||||
import { plsLoadImage } from '../utils/tools'
|
import { plsLoadImage } from '../../utils/tools'
|
||||||
|
|
||||||
export interface Props {
|
export interface Props {
|
||||||
name: string
|
name: string
|
||||||
|
@ -35,14 +35,12 @@ const mlb_image = mlb ? 'mlbalign' : 'hidemlb'
|
||||||
|
|
||||||
article {
|
article {
|
||||||
border-radius: 1.25rem;
|
border-radius: 1.25rem;
|
||||||
|
border: 2px var(--c-darkgray) solid;
|
||||||
background-color: var(--c-darkergray);
|
background-color: var(--c-darkergray);
|
||||||
padding: 20px;
|
|
||||||
padding-top: 5px;
|
|
||||||
width: 35%;
|
width: 35%;
|
||||||
height: auto;
|
height: auto;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
transition: transform var(--speed) var(--ease);
|
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 100%;
|
grid-template-columns: 100%;
|
||||||
|
@ -55,11 +53,11 @@ const mlb_image = mlb ? 'mlbalign' : 'hidemlb'
|
||||||
}
|
}
|
||||||
|
|
||||||
article:hover {
|
article:hover {
|
||||||
transform: scale(var(--hover-scale));
|
border: 2px var(--c-darkpurple) solid;
|
||||||
}
|
}
|
||||||
|
|
||||||
article div {
|
article div {
|
||||||
margin: 0.5em auto;
|
margin: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
|
@ -70,27 +68,17 @@ const mlb_image = mlb ? 'mlbalign' : 'hidemlb'
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.heading-center {
|
|
||||||
display: flex;
|
|
||||||
height: 4rem;
|
|
||||||
width: 100%;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
font-size: 1.25em;
|
|
||||||
color: white;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ce-crop {
|
.ce-crop {
|
||||||
width: 6em;
|
width: min(85%, 85px);
|
||||||
height: 6em;
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mlb {
|
.mlb {
|
||||||
width: 5.5rem;
|
width: min(85%, 85px);
|
||||||
height: auto;
|
height: auto;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
|
margin-top: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mlbalign {
|
.mlbalign {
|
||||||
|
@ -101,18 +89,18 @@ const mlb_image = mlb ? 'mlbalign' : 'hidemlb'
|
||||||
|
|
||||||
@media (min-width: 512px) {
|
@media (min-width: 512px) {
|
||||||
.ce-crop {
|
.ce-crop {
|
||||||
width: 7.5em;
|
width: 100px;
|
||||||
height: 7.5em;
|
height: 100px;
|
||||||
}
|
}
|
||||||
article {
|
article {
|
||||||
width: 10em;
|
width: 128px;
|
||||||
}
|
}
|
||||||
.mlbalign {
|
.mlbalign {
|
||||||
width: 7.5em;
|
width: 85px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mlb {
|
.mlb {
|
||||||
width: 7rem;
|
width: 85px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
import { Image } from 'astro:assets'
|
import { Image } from 'astro:assets'
|
||||||
import type { GlobImage } from '../types/generic'
|
import type { GlobImage } from '../../types/generic'
|
||||||
import { plsLoadImage } from '../utils/tools'
|
import { plsLoadImage } from '../../utils/tools'
|
||||||
|
|
||||||
export interface Props {
|
export interface Props {
|
||||||
site: string
|
site: string
|
||||||
|
@ -25,7 +25,7 @@ const loadedLogoImage = plsLoadImage(images_logos, imagePath)
|
||||||
aria-label=`${site} - new window`
|
aria-label=`${site} - new window`
|
||||||
>
|
>
|
||||||
<article class="contact do-hover">
|
<article class="contact do-hover">
|
||||||
<Image src={loadedLogoImage} alt={logoAltText} />
|
<Image src={loadedLogoImage} alt="" loading={'eager'} width={150} height={150} quality={100}/>
|
||||||
<div>
|
<div>
|
||||||
<h2>{site}</h2>
|
<h2>{site}</h2>
|
||||||
</div>
|
</div>
|
||||||
|
@ -63,6 +63,7 @@ const loadedLogoImage = plsLoadImage(images_logos, imagePath)
|
||||||
article:hover div {
|
article:hover div {
|
||||||
border-radius: 1.25rem;
|
border-radius: 1.25rem;
|
||||||
padding: 0 0.5rem;
|
padding: 0 0.5rem;
|
||||||
|
margin: unset;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
@ -71,6 +72,9 @@ const loadedLogoImage = plsLoadImage(images_logos, imagePath)
|
||||||
height: calc(var(--size-value));
|
height: calc(var(--size-value));
|
||||||
width: calc(var(--size-value) - 1rem);
|
width: calc(var(--size-value) - 1rem);
|
||||||
opacity: 90%;
|
opacity: 90%;
|
||||||
|
border-style: solid;
|
||||||
|
border-width: 10px;
|
||||||
|
border-color: var(--c-darkgray);
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
}
|
}
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
import { Image } from 'astro:assets'
|
import { Image } from 'astro:assets'
|
||||||
import type { GlobImage } from '../types/generic'
|
import type { GlobImage } from '../../types/generic'
|
||||||
import { plsLoadImage } from '../utils/tools'
|
import { plsLoadImage } from '../../utils/tools'
|
||||||
|
|
||||||
export interface Props {
|
export interface Props {
|
||||||
name: string
|
name: string
|
||||||
|
@ -25,7 +25,7 @@ const loadedImage = plsLoadImage(images, imagePath)
|
||||||
aria-label=`${name} - new window`
|
aria-label=`${name} - new window`
|
||||||
>
|
>
|
||||||
<div class="heading">{name}</div>
|
<div class="heading">{name}</div>
|
||||||
<Image src={loadedImage} alt={name} />
|
<Image src={loadedImage} alt={name} loading={'eager'} width={192} height={192} quality={100}/>
|
||||||
<h2 class="subtext">
|
<h2 class="subtext">
|
||||||
{origin}
|
{origin}
|
||||||
</h2>
|
</h2>
|
||||||
|
@ -34,7 +34,9 @@ const loadedImage = plsLoadImage(images, imagePath)
|
||||||
<style>
|
<style>
|
||||||
.heading {
|
.heading {
|
||||||
display: flex;
|
display: flex;
|
||||||
height: 4rem;
|
height: fit-content;
|
||||||
|
min-height: 2.5rem;
|
||||||
|
line-height: 1.75rem;
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
color: white;
|
color: white;
|
||||||
max-width: 200px;
|
max-width: 200px;
|
||||||
|
@ -51,24 +53,25 @@ const loadedImage = plsLoadImage(images, imagePath)
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
background-color: var(--c-darkergray);
|
background-color: var(--c-darkergray);
|
||||||
border-color: var(--c-darkgray);
|
padding: 0em 0.25em;
|
||||||
padding: 0em 0.75em;
|
width: max(40%, 128px);
|
||||||
width: 40%;
|
|
||||||
height: auto;
|
height: auto;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
transition: transform var(--speed) var(--ease);
|
transition: transform var(--speed) var(--ease);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
border: 2px var(--c-darkgray) solid;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
transform: scale(var(--hover-scale));
|
border: 2px var(--c-darkpurple) solid;
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
padding: 0px 0.25em;
|
width: min(90%, 100px);
|
||||||
width: 90%;
|
margin: 0px 0.5rem;
|
||||||
height: auto;
|
height: auto;
|
||||||
|
border-radius: 1rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -78,8 +81,7 @@ const loadedImage = plsLoadImage(images, imagePath)
|
||||||
width: auto;
|
width: auto;
|
||||||
height: auto;
|
height: auto;
|
||||||
img {
|
img {
|
||||||
padding: 0px 1.5em;
|
width: 160px;
|
||||||
width: 200px;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -88,7 +90,7 @@ const loadedImage = plsLoadImage(images, imagePath)
|
||||||
color: white;
|
color: white;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
margin: 5;
|
margin: 0.5rem;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
import { Image } from 'astro:assets';
|
import { Image } from 'astro:assets';
|
||||||
import type { GlobImage } from '../types/generic'
|
import type { GlobImage } from '../../types/generic'
|
||||||
import { plsLoadImage } from '../utils/tools'
|
import { plsLoadImage } from '../../utils/tools'
|
||||||
|
|
||||||
export interface Props {
|
export interface Props {
|
||||||
name: string
|
name: string
|
||||||
|
@ -12,9 +12,10 @@ export interface Props {
|
||||||
bondceImageFile: string
|
bondceImageFile: string
|
||||||
ml: string
|
ml: string
|
||||||
bond10: boolean
|
bond10: boolean
|
||||||
|
index: number
|
||||||
}
|
}
|
||||||
|
|
||||||
const { bond10, ml, bondceImageFile, servantImageFile, np, skills, level, name } = Astro.props
|
const { bond10, ml, bondceImageFile, servantImageFile, np, skills, level, name, index } = Astro.props
|
||||||
const servantImagePath = `/src/assets/servant/${servantImageFile}`
|
const servantImagePath = `/src/assets/servant/${servantImageFile}`
|
||||||
const bondceImagePath = `/src/assets/ce/bond-ce/${bondceImageFile}`
|
const bondceImagePath = `/src/assets/ce/bond-ce/${bondceImageFile}`
|
||||||
const images_servants = import.meta.glob<GlobImage>('/src/assets/servant/*.{png,webp}')
|
const images_servants = import.meta.glob<GlobImage>('/src/assets/servant/*.{png,webp}')
|
||||||
|
@ -27,10 +28,12 @@ let bondce_css: string = 'bond-ce'
|
||||||
if (bond10 === false) {
|
if (bond10 === false) {
|
||||||
bondce_css += ' unobtained'
|
bondce_css += ' unobtained'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
let loading: "eager" | "lazy" = index <= 3 ? "eager" : "lazy";
|
||||||
---
|
---
|
||||||
|
|
||||||
<article>
|
<article>
|
||||||
<Image src={loadedServantImage} alt={name} />
|
<Image src={loadedServantImage} width={128} height={128} alt={name} quality={100} loading={loading}/>
|
||||||
<h2 class="subtext">
|
<h2 class="subtext">
|
||||||
Level {level}<br />
|
Level {level}<br />
|
||||||
{skills}<br />
|
{skills}<br />
|
||||||
|
@ -64,7 +67,8 @@ if (bond10 === false) {
|
||||||
}
|
}
|
||||||
|
|
||||||
article:hover {
|
article:hover {
|
||||||
transform: scale(var(--hover-scale));
|
transform: scale(1);
|
||||||
|
border-color: var(--c-darkpurple);
|
||||||
}
|
}
|
||||||
|
|
||||||
article {
|
article {
|
||||||
|
@ -72,20 +76,19 @@ if (bond10 === false) {
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
background-color: var(--c-darkergray);
|
background-color: var(--c-darkergray);
|
||||||
border-color: var(--c-darkgray);
|
border: 2px var(--c-darkgray) solid;
|
||||||
padding: 0em 0.75em 0.5rem 0.75em;
|
padding: 10px;
|
||||||
width: 40%;
|
width: max(30%, 100px);
|
||||||
height: auto;
|
height: auto;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
transition: transform var(--speed) var(--ease);
|
|
||||||
border-radius: 1.25rem;
|
border-radius: 1.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
article > img {
|
article > img {
|
||||||
width: 7.5rem;
|
width: 90%;
|
||||||
height: 7.5rem;
|
height: auto;
|
||||||
border-radius: 2.5rem;
|
border-radius: 2.5rem;
|
||||||
margin-top: 0.75rem;
|
margin-top: 0.75rem;
|
||||||
}
|
}
|
||||||
|
@ -98,25 +101,25 @@ if (bond10 === false) {
|
||||||
}
|
}
|
||||||
|
|
||||||
.expand-on-hover {
|
.expand-on-hover {
|
||||||
background-color: var(--c-duskgray);
|
background-color: var(--c-darkergray);
|
||||||
|
border: 2px var(--c-darkpurple) solid;
|
||||||
|
border-top: 0px;
|
||||||
z-index: 99;
|
z-index: 99;
|
||||||
transform: scaleY(0);
|
transform: scaleY(0);
|
||||||
transform-origin: top;
|
transform-origin: top;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 92.5%;
|
top: 92.5%;
|
||||||
left: 0px;
|
|
||||||
right: 0px;
|
|
||||||
border-radius: 0px 0px 1.25rem 1.25rem;
|
border-radius: 0px 0px 1.25rem 1.25rem;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
article:hover .expand-on-hover {
|
article:hover .expand-on-hover {
|
||||||
transform: scaleY(1);
|
transform: scaleY(1);
|
||||||
transition: transform 200ms ease-in-out;
|
transition: transform 200ms ease-in-out;
|
||||||
background-color: var(--c-duskgray);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.bond-ce {
|
.bond-ce {
|
||||||
padding-top: 0.75rem;
|
padding-top: 0.25rem;
|
||||||
width: auto;
|
width: auto;
|
||||||
height: 3rem;
|
height: 3rem;
|
||||||
}
|
}
|
||||||
|
@ -133,16 +136,12 @@ if (bond10 === false) {
|
||||||
}
|
}
|
||||||
|
|
||||||
article > img {
|
article > img {
|
||||||
width: 200px;
|
width: 128px;
|
||||||
height: 200px;
|
height: 128px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bond-ce {
|
.bond-ce {
|
||||||
height: 3.5rem;
|
height: 3rem;
|
||||||
}
|
|
||||||
|
|
||||||
.expand-on-hover {
|
|
||||||
top: 95%;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
import { Image } from 'astro:assets'
|
import { Image } from 'astro:assets'
|
||||||
import type { GlobImage } from '../types/generic'
|
import type { GlobImage } from '../../types/generic'
|
||||||
import { plsLoadImage } from '../utils/tools'
|
import { plsLoadImage } from '../../utils/tools'
|
||||||
|
|
||||||
export interface Props {
|
export interface Props {
|
||||||
date: string
|
date: string
|
||||||
|
@ -80,10 +80,9 @@ if (user !== undefined) {
|
||||||
|
|
||||||
article {
|
article {
|
||||||
background-color: var(--c-darkergray);
|
background-color: var(--c-darkergray);
|
||||||
border-color: var(--c-darkgray);
|
border: 2px var(--c-darkgray) solid;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
transition: transform var(--speed) var(--ease);
|
|
||||||
height: auto;
|
height: auto;
|
||||||
width: auto;
|
width: auto;
|
||||||
max-width: 8rem;
|
max-width: 8rem;
|
||||||
|
@ -97,7 +96,8 @@ if (user !== undefined) {
|
||||||
}
|
}
|
||||||
|
|
||||||
article:hover {
|
article:hover {
|
||||||
transform: scale(var(--hover-scale));
|
transform: scale(1);
|
||||||
|
border-color: var(--c-darkpurple);
|
||||||
}
|
}
|
||||||
|
|
||||||
article > .icon {
|
article > .icon {
|
||||||
|
@ -114,11 +114,12 @@ if (user !== undefined) {
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background-color: var(--c-darkgray);
|
background-color: var(--c-darkgray);
|
||||||
height: calc(var(--size-value) + 0.1rem);
|
height: var(--size-value);
|
||||||
width: calc(var(--size-value) + 0.1rem);
|
width: var(--size-value);
|
||||||
|
padding: 1px;
|
||||||
opacity: 90%;
|
opacity: 90%;
|
||||||
border-radius: 1.25rem;
|
border-radius: 1.25rem;
|
||||||
top: 1.1em;
|
top: calc(0.5rem + 9px);
|
||||||
}
|
}
|
||||||
|
|
||||||
article:hover .title h2 {
|
article:hover .title h2 {
|
||||||
|
@ -165,24 +166,24 @@ if (user !== undefined) {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
align-items: center;
|
align-items: top;
|
||||||
justify-content: space-evenly;
|
justify-content: space-evenly;
|
||||||
background-color: var(--c-duskgray);
|
background-color: var(--c-darkergray);
|
||||||
|
border: 2px var(--c-darkpurple) solid;
|
||||||
|
border-top: 0px;
|
||||||
z-index: 99;
|
z-index: 99;
|
||||||
transform: scaleY(0);
|
transform: scaleY(0);
|
||||||
transform-origin: top;
|
transform-origin: top;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 90%;
|
top: 90%;
|
||||||
left: 0px;
|
|
||||||
right: 0px;
|
|
||||||
color: white;
|
color: white;
|
||||||
border-radius: 0px 0px 1.25rem 1.25rem;
|
border-radius: 0px 0px 1.25rem 1.25rem;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.expand-on-hover img {
|
.expand-on-hover img {
|
||||||
width: 3rem;
|
width: 3rem;
|
||||||
height: 3rem;
|
height: 3rem;
|
||||||
margin-top: 0.5rem;
|
|
||||||
margin-bottom: 0.5rem;
|
margin-bottom: 0.5rem;
|
||||||
border-radius: 0.5rem;
|
border-radius: 0.5rem;
|
||||||
}
|
}
|
||||||
|
@ -194,6 +195,6 @@ if (user !== undefined) {
|
||||||
article:hover .expand-on-hover {
|
article:hover .expand-on-hover {
|
||||||
transform: scaleY(1);
|
transform: scaleY(1);
|
||||||
transition: transform 200ms ease-in-out;
|
transition: transform 200ms ease-in-out;
|
||||||
background-color: var(--c-duskgray);
|
background-color: var(--c-darkergray);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
import { Image } from 'astro:assets'
|
import { Image } from 'astro:assets'
|
||||||
import type { GlobImage } from '../types/generic'
|
import type { GlobImage } from '../../types/generic'
|
||||||
import { plsLoadImage } from '../utils/tools'
|
import { plsLoadImage } from '../../utils/tools'
|
||||||
|
|
||||||
export interface Props {
|
export interface Props {
|
||||||
title: string
|
title: string
|
||||||
|
@ -10,7 +10,6 @@ export interface Props {
|
||||||
}
|
}
|
||||||
|
|
||||||
const { imageFile, link, title } = Astro.props
|
const { imageFile, link, title } = Astro.props
|
||||||
const logoAltText = `${title} Logo`
|
|
||||||
const imagePath = `/src/assets/technologies/${imageFile}`
|
const imagePath = `/src/assets/technologies/${imageFile}`
|
||||||
const images_logos = import.meta.glob<GlobImage>(
|
const images_logos = import.meta.glob<GlobImage>(
|
||||||
'/src/assets/technologies/*.{png,webp}'
|
'/src/assets/technologies/*.{png,webp}'
|
||||||
|
@ -20,12 +19,12 @@ const loadedImage = plsLoadImage(images_logos, imagePath)
|
||||||
|
|
||||||
<a href={link} target="_blank" rel="noopener noreferrer" aria-label={title}>
|
<a href={link} target="_blank" rel="noopener noreferrer" aria-label={title}>
|
||||||
<article>
|
<article>
|
||||||
<Image src={loadedImage} alt={logoAltText} />
|
<Image src={loadedImage} alt="" loading={'eager'} width={150} height={150} quality={100}/>
|
||||||
<div>
|
<div>
|
||||||
<h2>{title}</h2>
|
<h2>{title}</h2>
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
<span class="visually-hidden">{logoAltText}</span>
|
<span class="visually-hidden">{title}</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
@ -70,6 +69,9 @@ const loadedImage = plsLoadImage(images_logos, imagePath)
|
||||||
opacity: 90%;
|
opacity: 90%;
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
border-style: solid;
|
||||||
|
border-width: 10px;
|
||||||
|
border-color: var(--c-darkgray);
|
||||||
}
|
}
|
||||||
|
|
||||||
article:hover h2 {
|
article:hover h2 {
|
|
@ -1,27 +1,68 @@
|
||||||
---
|
---
|
||||||
|
export interface Props {
|
||||||
|
fadeout?: boolean
|
||||||
|
}
|
||||||
|
const { fadeout } = Astro.props
|
||||||
|
const display = fadeout ? "": "display: none"
|
||||||
---
|
---
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<span>
|
<span>
|
||||||
I am currently working on a site to catalogue past and future TAs.<br/>
|
I am currently creating a site to catalogue past and future TAs for the whole community.
|
||||||
Check it out at <a href="https://fgo-ta.com">fgo-ta.com</a>
|
|
||||||
</span>
|
</span>
|
||||||
|
<a href=`https://fgo-ta.com/`><span class="fancy">Visit fgo-ta.com >></span></a>
|
||||||
|
<div class="fade" style={display}></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
div {
|
div {
|
||||||
display: flex;
|
display: flex;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 5em;
|
flex-wrap: nowrap;
|
||||||
background-color: var(--c-gray);
|
flex-flow: column;
|
||||||
|
background-color: var(--c-darkergray);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
color: white;
|
color: white;
|
||||||
font-size: 1.5em;
|
font-size: 1.5em;
|
||||||
|
padding: 2rem 0rem 0rem 0rem;
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 1.3rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: var(--c-darkpurple);
|
font-weight: 500;
|
||||||
|
font-family: 'Work Sans Variable', sans-serif;
|
||||||
|
color: white;
|
||||||
|
margin: 1rem 0px 0px;
|
||||||
|
padding: 0.5rem 0.75rem;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
background-color: var(--c-duskgray);
|
||||||
|
border-radius: 10px;
|
||||||
|
border: 2px var(--c-darkpurple) solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
border-color: var(--c-purplepink);
|
||||||
|
}
|
||||||
|
|
||||||
|
.fade {
|
||||||
|
margin-top: 3rem;
|
||||||
|
background: linear-gradient(to bottom, transparent, var(--c-lightgray));
|
||||||
|
height: 2.5rem;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.fancy {
|
||||||
|
color: var(--c-darkpurple);
|
||||||
|
}
|
||||||
|
|
||||||
|
@supports (background-clip: text) {
|
||||||
|
a:hover .fancy {
|
||||||
|
background: linear-gradient(125deg, var(--c-darkpurple), var(--c-purplepink), var(--c-reddish) );
|
||||||
|
background-clip: text;
|
||||||
|
color: transparent;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -1,21 +1,27 @@
|
||||||
---
|
---
|
||||||
import { Image } from 'astro:assets';
|
import { Image } from 'astro:assets'
|
||||||
import logo from '../assets/logo.svg'
|
import logo from '../../assets/logo.svg'
|
||||||
import hamburger from 'iconoir/icons/menu.svg'
|
import hamburger from 'iconoir/icons/menu.svg'
|
||||||
const hamburger_src_url = `url("${hamburger.src}")`;
|
const hamburger_src_url = `url("${hamburger.src}")`
|
||||||
---
|
---
|
||||||
|
|
||||||
<header>
|
<header>
|
||||||
<a href="/" rel="noopener noreferrer" aria-label="Home" role="navigation">
|
<a href="/" rel="noopener noreferrer" aria-label="Home" role="button">
|
||||||
<Image src={logo} alt="Firq Website Logo"/>
|
<Image src={logo} alt="" loading="eager"/>
|
||||||
<span class="visually-hidden">Firq Website Logo</span>
|
<span class="visually-hidden">Logo</span>
|
||||||
</a>
|
</a>
|
||||||
<ul class="desktop">
|
<ul class="desktop">
|
||||||
<slot name="desktop"/>
|
<slot name="desktop" />
|
||||||
</ul>
|
</ul>
|
||||||
<button class="mobile" aria-label="Navigation Button" tabindex="0" onclick="this.focus()" role="navigation">
|
<button
|
||||||
|
class="mobile"
|
||||||
|
aria-label="Navigation Button"
|
||||||
|
tabindex="0"
|
||||||
|
onclick="this.focus()"
|
||||||
|
role="button"
|
||||||
|
>
|
||||||
<ul>
|
<ul>
|
||||||
<slot name="mobile"/>
|
<slot name="mobile" />
|
||||||
</ul>
|
</ul>
|
||||||
<div class="placeholder"></div>
|
<div class="placeholder"></div>
|
||||||
<div class="hamburger-menu" role="navigation"></div>
|
<div class="hamburger-menu" role="navigation"></div>
|
||||||
|
@ -27,12 +33,13 @@ const hamburger_src_url = `url("${hamburger.src}")`;
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 0px;
|
top: 0px;
|
||||||
background-color: var(--c-darkgray);
|
background-color: var(--c-darkergray);
|
||||||
display: flex;
|
display: flex;
|
||||||
height: auto;
|
height: auto;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
|
border-bottom: 2px solid var(--c-darkpurple) ;
|
||||||
}
|
}
|
||||||
header > a {
|
header > a {
|
||||||
margin-left: 16px;
|
margin-left: 16px;
|
||||||
|
@ -61,7 +68,7 @@ const hamburger_src_url = `url("${hamburger.src}")`;
|
||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
}
|
}
|
||||||
.mobile > ul {
|
.mobile > ul {
|
||||||
background-color: var(--c-darkgray);
|
background-color: var(--c-darkergray);
|
||||||
align-items: center;
|
align-items: center;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
@ -78,7 +85,7 @@ const hamburger_src_url = `url("${hamburger.src}")`;
|
||||||
|
|
||||||
.mobile {
|
.mobile {
|
||||||
display: flex;
|
display: flex;
|
||||||
background-color: var(--c-darkgray);
|
background-color: var(--c-darkergray);
|
||||||
border: 0px;
|
border: 0px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 64px;
|
height: 64px;
|
||||||
|
@ -108,13 +115,14 @@ const hamburger_src_url = `url("${hamburger.src}")`;
|
||||||
|
|
||||||
.hamburger-menu {
|
.hamburger-menu {
|
||||||
mask: var(--hamburger_src_url) no-repeat center;
|
mask: var(--hamburger_src_url) no-repeat center;
|
||||||
|
mask-size: cover;
|
||||||
background-color: white;
|
background-color: white;
|
||||||
width: 2rem;
|
width: 2.25rem;
|
||||||
height: 2rem;
|
height: 2.25rem;
|
||||||
position: static;
|
position: static;
|
||||||
align-self: flex-start;
|
align-self: flex-start;
|
||||||
margin-right: 1rem;
|
margin-right: 1rem;
|
||||||
margin-top: 1rem;
|
margin-top: 0.825rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 1140px) {
|
@media (min-width: 1140px) {
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
export interface Props {
|
export interface Props {
|
||||||
currentPage?: string
|
currentPage?: string
|
||||||
navtype: "mobile" | "desktop"
|
navtype: 'mobile' | 'desktop'
|
||||||
link: string
|
link: string
|
||||||
text: string
|
text: string
|
||||||
icon: ImageMetadata
|
icon: ImageMetadata
|
||||||
|
@ -18,10 +18,10 @@ if (currentPage === slug) {
|
||||||
currPage = 'current'
|
currPage = 'current'
|
||||||
}
|
}
|
||||||
|
|
||||||
const icon_src_url = `url("${icon.src}")`;
|
const icon_src_url = `url("${icon.src}")`
|
||||||
const fulllink = `/${slug}`
|
const fulllink = `/${slug}`
|
||||||
|
|
||||||
let extraattributes = navtype === "mobile" ? { tabindex: "0"} : {}
|
let extraattributes = navtype === 'mobile' ? { tabindex: '0' } : {}
|
||||||
---
|
---
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
@ -30,7 +30,7 @@ let extraattributes = navtype === "mobile" ? { tabindex: "0"} : {}
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
aria-label={text}
|
aria-label={text}
|
||||||
class={currPage}
|
class={currPage}
|
||||||
role="navigation"
|
role="button"
|
||||||
{...extraattributes}
|
{...extraattributes}
|
||||||
>
|
>
|
||||||
<div class="icon"></div>
|
<div class="icon"></div>
|
||||||
|
@ -60,11 +60,11 @@ let extraattributes = navtype === "mobile" ? { tabindex: "0"} : {}
|
||||||
}
|
}
|
||||||
|
|
||||||
li > a:hover {
|
li > a:hover {
|
||||||
color: var(--c-purplepink);
|
color: var(--c-purplepink) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
li > a:hover > .icon {
|
li > a:hover > .icon {
|
||||||
background-color: var(--c-purplepink);
|
background-color: var(--c-purplepink) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.current {
|
.current {
|
105
src/components/titles/smallTitle.astro
Normal file
|
@ -0,0 +1,105 @@
|
||||||
|
---
|
||||||
|
export interface Props {
|
||||||
|
maintext: string
|
||||||
|
subtext: string
|
||||||
|
fadeout?: boolean
|
||||||
|
baseurl?: string
|
||||||
|
returnbutton?: boolean
|
||||||
|
}
|
||||||
|
const { maintext, subtext, fadeout, baseurl, returnbutton } = Astro.props
|
||||||
|
const displayFadeout = fadeout ? "": "display: none"
|
||||||
|
const displayBackButton = returnbutton ? "": "display: none"
|
||||||
|
---
|
||||||
|
|
||||||
|
<div class="wrap">
|
||||||
|
<div class="head">{maintext}</div>
|
||||||
|
<div class="sub">{subtext}</div>
|
||||||
|
<a href=`/${baseurl}` style={displayBackButton}><< Back to {baseurl}</a>
|
||||||
|
<div class="fade" style={displayFadeout}></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
a {
|
||||||
|
font-weight: 500;
|
||||||
|
font-family: 'Work Sans Variable', sans-serif;
|
||||||
|
color: white;
|
||||||
|
margin: 1rem 0px 0px;
|
||||||
|
padding: 0.5rem 0.75rem;
|
||||||
|
text-decoration: none;
|
||||||
|
background-color: var(--c-lightgray);
|
||||||
|
border-radius: 10px;
|
||||||
|
border-style: solid;
|
||||||
|
border-width: 2px;
|
||||||
|
border-color: var(--c-lightgray);
|
||||||
|
text-transform: capitalize;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
border-color: var(--c-darkpurple);
|
||||||
|
}
|
||||||
|
|
||||||
|
.wrap {
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
text-align: center;
|
||||||
|
align-items: center;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
flex-direction: column;
|
||||||
|
color: var(--c-lighter);
|
||||||
|
background-color: var(--c-darkergray);
|
||||||
|
}
|
||||||
|
|
||||||
|
.fade {
|
||||||
|
margin-top: 2rem;
|
||||||
|
background: linear-gradient(to bottom, transparent, var(--c-lightgray));
|
||||||
|
height: 2.5rem;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.head {
|
||||||
|
hyphens: auto;
|
||||||
|
padding-top: 2rem;
|
||||||
|
font-size: 3.25rem;
|
||||||
|
font-weight: 700;
|
||||||
|
font-family: 'Work Sans Variable', sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sub {
|
||||||
|
margin-top: 0.5em;
|
||||||
|
font-size: 0.9rem;
|
||||||
|
font-weight: 500;
|
||||||
|
font-family: 'Work Sans Variable', sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
.head {
|
||||||
|
color: var(--c-darkpurple);
|
||||||
|
}
|
||||||
|
|
||||||
|
@supports (background-clip: text) {
|
||||||
|
.head {
|
||||||
|
background: linear-gradient(125deg, var(--c-darkpurple), var(--c-purplepink), var(--c-reddish) );
|
||||||
|
background-clip: text;
|
||||||
|
color: transparent;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 620px) {
|
||||||
|
.head {
|
||||||
|
hyphens: none;
|
||||||
|
font-size: 3.75rem;
|
||||||
|
}
|
||||||
|
.sub {
|
||||||
|
font-size: 1rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 1000px) {
|
||||||
|
.head {
|
||||||
|
font-size: 4rem;
|
||||||
|
}
|
||||||
|
.sub {
|
||||||
|
font-size: 1.2rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
72
src/components/titles/title.astro
Normal file
|
@ -0,0 +1,72 @@
|
||||||
|
---
|
||||||
|
---
|
||||||
|
|
||||||
|
<div class="wrap">
|
||||||
|
<div class="head">Hi, I'm <span class="fancy">Firq</span></div>
|
||||||
|
<div class="sub"></ Software dev / Scathach enthusiast / Germany /></div>
|
||||||
|
<div class="fade"></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.wrap {
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
text-align: center;
|
||||||
|
align-items: center;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
flex-direction: column;
|
||||||
|
color: var(--c-lighter);
|
||||||
|
background-color: var(--c-darkergray);
|
||||||
|
}
|
||||||
|
|
||||||
|
.fade {
|
||||||
|
margin-top: 1.5rem;
|
||||||
|
background: linear-gradient(to bottom, transparent, var(--c-lightgray));
|
||||||
|
height: 2.5rem;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.head {
|
||||||
|
padding-top: 2rem;
|
||||||
|
font-size: 3rem;
|
||||||
|
font-weight: 700;
|
||||||
|
font-family: 'Work Sans Variable', sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sub {
|
||||||
|
font-size: 1rem;
|
||||||
|
font-weight: 500;
|
||||||
|
font-family: 'Work Sans Variable', sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
.fancy {
|
||||||
|
color: var(--c-darkpurple);
|
||||||
|
}
|
||||||
|
|
||||||
|
@supports (background-clip: text) {
|
||||||
|
.fancy {
|
||||||
|
background: linear-gradient(125deg, var(--c-darkpurple), var(--c-purplepink), var(--c-reddish) );
|
||||||
|
background-clip: text;
|
||||||
|
color: transparent;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 620px) {
|
||||||
|
.head {
|
||||||
|
font-size: 3rem;
|
||||||
|
}
|
||||||
|
.sub {
|
||||||
|
font-size: 1rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 1000px) {
|
||||||
|
.head {
|
||||||
|
font-size: 4rem;
|
||||||
|
}
|
||||||
|
.sub {
|
||||||
|
font-size: 1.25rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
|
@ -89,7 +89,7 @@ The container is also published to the docker registry that the Forgejo instance
|
||||||
|
|
||||||
Since my website is now using a docker container instead of the previous `rsync` + `screen` approach, a new deployment solution was needed.
|
Since my website is now using a docker container instead of the previous `rsync` + `screen` approach, a new deployment solution was needed.
|
||||||
|
|
||||||
In the end, Neshura proposed to use <a href="https://github.com/louislam/dockge" target="_blank" rel="noopener noreferrer" style="font-style: unset">Dockge</a>, a new, simple container management tool build by the developer of the beloved uptime-kuma. With that set up, getting the website only was really really easy:
|
In the end, Neshura proposed to use <a href="https://github.com/louislam/dockge" target="_blank" rel="noopener noreferrer" >Dockge</a>, a new, simple container management tool build by the developer of the beloved uptime-kuma. With that set up, getting the website only was really really easy:
|
||||||
|
|
||||||
1. Create a new stack
|
1. Create a new stack
|
||||||
2. Add a container entry
|
2. Add a container entry
|
||||||
|
@ -161,4 +161,4 @@ In the end, I must say migrating was a lot more painless than expected. Sure, Fo
|
||||||
|
|
||||||
I also updated my about page to now reflect the migration, as the old technologies weren't up-to-date anymore.
|
I also updated my about page to now reflect the migration, as the old technologies weren't up-to-date anymore.
|
||||||
|
|
||||||
If you want to check out the repository by yourself, feel free to do so. <a href="https://forgejo.neshweb.net/Firq/firq-dev-website" target="_blank" rel="noopener noreferrer" style="font-style: unset">It is available on Neshuras Forgejo instance</a>
|
If you want to check out the repository by yourself, feel free to do so. <a href="https://forgejo.neshweb.net/Firq/firq-dev-website" target="_blank" rel="noopener noreferrer" >It is available on Neshuras Forgejo instance</a>
|
|
@ -2,7 +2,7 @@
|
||||||
layout: ../../layouts/blogPost.astro
|
layout: ../../layouts/blogPost.astro
|
||||||
title: 'FGO Mechanics: Instant Death'
|
title: 'FGO Mechanics: Instant Death'
|
||||||
pubDate: 2023-08-19
|
pubDate: 2023-08-19
|
||||||
description: 'Blog post talking about instant death in FGO, how you can take advantage of it and what its limits are.'
|
description: 'Blog post talking about instant death in FGO and how you can take advantage.'
|
||||||
author: 'Firq'
|
author: 'Firq'
|
||||||
tags: ['fgo', 'games']
|
tags: ['fgo', 'games']
|
||||||
---
|
---
|
||||||
|
@ -18,10 +18,10 @@ it doesn't interact with the hitrate, but if you have proof that this is differe
|
||||||
|
|
||||||
Instant Kill & Instant Death: One of the most rejected systems to exist in FGO. Most players know of it, but discard it because of its unreliability and uselessness against stronger enemies. In this article, I want to dive a bit into the workings of Instant Kill and help you understand how you can, in specific scenarios, use it to your advantage.
|
Instant Kill & Instant Death: One of the most rejected systems to exist in FGO. Most players know of it, but discard it because of its unreliability and uselessness against stronger enemies. In this article, I want to dive a bit into the workings of Instant Kill and help you understand how you can, in specific scenarios, use it to your advantage.
|
||||||
|
|
||||||
There are a multitude of servants that have access to instant-kill, but I will only highlight a few here (You can view the full list on <a href="https://gamepress.gg/grandorder/instant-death" target="_blank" rel="noopener noreferrer" style="font-style: unset">Gamepress</a>)
|
There are a multitude of servants that have access to instant-kill, but I will only highlight a few here (You can view the full list on <a href="https://gamepress.gg/grandorder/instant-death" target="_blank" rel="noopener noreferrer" >Gamepress</a>)
|
||||||
|
|
||||||
- **Nitocris (Caster)**: The most prominent figure, as she has easy access to her instant-killing NP and a skill that increases her death hit rate
|
- **Nitocris (Caster)**: The most prominent figure, as she has easy access to her instant-killing NP and a skill that increases her death hit rate
|
||||||
- **Void Shiki (Saber)**: Another Example of an AOE Instant-Kill servant who also has access to Death Resist debuffs. One quest in her release event even specifically used the Instant Kill mechanic (<a href="https://apps.atlasacademy.io/db/NA/quest/94021308/1" target="_blank" rel="noopener noreferrer" style="font-style: unset">Quest Link here</a>)
|
- **Void Shiki (Saber)**: Another Example of an AOE Instant-Kill servant who also has access to Death Resist debuffs. One quest in her release event even specifically used the Instant Kill mechanic (<a href="https://apps.atlasacademy.io/db/NA/quest/94021308/1" target="_blank" rel="noopener noreferrer" >Quest Link here</a>)
|
||||||
- **King Hassan (Assassin)**: The only servant that can afflict enemies with instant death on normal attacks (Note: David can do this as well, but only if he has his Bond CE equipped)
|
- **King Hassan (Assassin)**: The only servant that can afflict enemies with instant death on normal attacks (Note: David can do this as well, but only if he has his Bond CE equipped)
|
||||||
|
|
||||||
But since Instant Kill is based on probability, most players are relucatant to use it in their farming compositions. This thems from the different death rates enemies have:
|
But since Instant Kill is based on probability, most players are relucatant to use it in their farming compositions. This thems from the different death rates enemies have:
|
||||||
|
@ -53,10 +53,10 @@ The parameters here are the following:
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
|
||||||
The main reason this came up was because of a farming comp used in <a href="https://apps.atlasacademy.io/db/NA/quest/94061820/1" target="_blank" rel="noopener noreferrer" style="font-style: unset">Hunting Quest XI - Day 5 - Pride+</a>. The node is structured
|
The main reason this came up was because of a farming comp used in <a href="https://apps.atlasacademy.io/db/NA/quest/94061820/1" target="_blank" rel="noopener noreferrer" >Hunting Quest XI - Day 5 - Pride+</a>. The node is structured
|
||||||
into a 2 - 1 - 1 Layout, meaning using a dual-DPS setup would be the way to go.
|
into a 2 - 1 - 1 Layout, meaning using a dual-DPS setup would be the way to go.
|
||||||
|
|
||||||
Looking at the stats for the first wave, it made sense to use Nitocris: Both Ghouls have a 100% Death Rate <a href="https://apps.atlasacademy.io/db/NA/enemy/9940700" target="_blank" rel="noopener noreferrer" style="font-style: unset">according to Atlas Academy</a>.
|
Looking at the stats for the first wave, it made sense to use Nitocris: Both Ghouls have a 100% Death Rate <a href="https://apps.atlasacademy.io/db/NA/enemy/9940700" target="_blank" rel="noopener noreferrer" >according to Atlas Academy</a>.
|
||||||
|
|
||||||
I went with using Nitocris, since she has a 100% NP charge and a skill that increases her Instant Death rate by 100%. Not needing any additional charge meant that no other buffs or AOE charges needed to be used on turn 1.
|
I went with using Nitocris, since she has a 100% NP charge and a skill that increases her Instant Death rate by 100%. Not needing any additional charge meant that no other buffs or AOE charges needed to be used on turn 1.
|
||||||
|
|
16
src/content/config.ts
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
import { z, defineCollection } from 'astro:content'
|
||||||
|
|
||||||
|
const blogCollection = defineCollection({
|
||||||
|
type: 'content', // v2.5.0 and later
|
||||||
|
schema: z.object({
|
||||||
|
title: z.string(),
|
||||||
|
tags: z.array(z.string()),
|
||||||
|
pubDate: z.date(),
|
||||||
|
description: z.string(),
|
||||||
|
author: z.string(),
|
||||||
|
}),
|
||||||
|
})
|
||||||
|
|
||||||
|
export const collections = {
|
||||||
|
blog: blogCollection,
|
||||||
|
}
|
1
src/env.d.ts
vendored
|
@ -1 +1,2 @@
|
||||||
|
/// <reference path="../.astro/types.d.ts" />
|
||||||
/// <reference types="astro/client" />
|
/// <reference types="astro/client" />
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
---
|
---
|
||||||
import Navbar from '../components/navbar.astro'
|
import "@fontsource-variable/work-sans";
|
||||||
import NavbarEntry from '../components/navbarEntry.astro'
|
import workSans from "@fontsource-variable/work-sans/files/work-sans-latin-wght-normal.woff2"
|
||||||
|
|
||||||
|
import Navbar from '../components/navbar/navbar.astro'
|
||||||
|
import NavbarEntry from '../components/navbar/navbarEntry.astro'
|
||||||
import navdata from '../../static/data/_navdata.json'
|
import navdata from '../../static/data/_navdata.json'
|
||||||
import embed from '../assets/embed.png'
|
import embed from '../assets/embed.png'
|
||||||
|
|
||||||
|
@ -68,7 +71,10 @@ const mapped_navdata = navdata.map((item) => ({
|
||||||
name="google-site-verification"
|
name="google-site-verification"
|
||||||
content="SmcWcewh7DCANcLeTe3ntU0R-LESbo_bsolICJnmulE"
|
content="SmcWcewh7DCANcLeTe3ntU0R-LESbo_bsolICJnmulE"
|
||||||
/>
|
/>
|
||||||
|
<!-- Disable DarkReader, as site is already in dark mode -->
|
||||||
|
<meta name="darkreader-lock" content="this site only has darkmode">
|
||||||
<!-- Links -->
|
<!-- Links -->
|
||||||
|
<link rel="preload" as="font" crossorigin="anonymous" href={workSans} type="font/woff2"/>
|
||||||
<link rel="icon" type="image/ico" href="/favicon.ico" />
|
<link rel="icon" type="image/ico" href="/favicon.ico" />
|
||||||
<link rel="sitemap" href="/sitemap-index.xml" />
|
<link rel="sitemap" href="/sitemap-index.xml" />
|
||||||
<link href="https://mastodon.neshweb.net/@Firq" rel="me" />
|
<link href="https://mastodon.neshweb.net/@Firq" rel="me" />
|
||||||
|
@ -77,12 +83,22 @@ const mapped_navdata = navdata.map((item) => ({
|
||||||
<Navbar>
|
<Navbar>
|
||||||
{
|
{
|
||||||
mapped_navdata.map((item) => (
|
mapped_navdata.map((item) => (
|
||||||
<NavbarEntry currentPage={currentpage} navtype="desktop" {...item} slot="desktop"/>
|
<NavbarEntry
|
||||||
|
currentPage={currentpage}
|
||||||
|
navtype="desktop"
|
||||||
|
{...item}
|
||||||
|
slot="desktop"
|
||||||
|
/>
|
||||||
))
|
))
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
mapped_navdata.map((item) => (
|
mapped_navdata.map((item) => (
|
||||||
<NavbarEntry currentPage={currentpage} navtype="mobile" {...item} slot="mobile"/>
|
<NavbarEntry
|
||||||
|
currentPage={currentpage}
|
||||||
|
navtype="mobile"
|
||||||
|
{...item}
|
||||||
|
slot="mobile"
|
||||||
|
/>
|
||||||
))
|
))
|
||||||
}
|
}
|
||||||
</Navbar>
|
</Navbar>
|
||||||
|
@ -98,10 +114,12 @@ const mapped_navdata = navdata.map((item) => ({
|
||||||
--c-darkgray: #1e1e1e;
|
--c-darkgray: #1e1e1e;
|
||||||
--c-duskgray: #242424;
|
--c-duskgray: #242424;
|
||||||
--c-gray: #2e2e2e;
|
--c-gray: #2e2e2e;
|
||||||
|
--c-lighter: #eee;
|
||||||
--c-lightgray: #3e3e3e;
|
--c-lightgray: #3e3e3e;
|
||||||
--c-darkpurple: #b86cff;
|
--c-darkpurple: #b86cff;
|
||||||
--c-purplepink: #c105ff;
|
--c-purplepink: #c105ff;
|
||||||
--c-darkergray: #1b1b1b;
|
--c-darkergray: #1b1b1b;
|
||||||
|
--c-reddish: #ff0077;
|
||||||
}
|
}
|
||||||
body {
|
body {
|
||||||
background: var(--c-lightgray);
|
background: var(--c-lightgray);
|
||||||
|
@ -117,5 +135,5 @@ const mapped_navdata = navdata.map((item) => ({
|
||||||
padding: 0;
|
padding: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 1px;
|
width: 1px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -52,11 +52,6 @@ const { title } = Astro.props
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.base {
|
|
||||||
margin-left: 1rem;
|
|
||||||
margin-right: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 1000px) {
|
@media (min-width: 1000px) {
|
||||||
.base {
|
.base {
|
||||||
margin-left: 3rem;
|
margin-left: 3rem;
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
---
|
---
|
||||||
|
import SmallTitle from '../components/titles/smallTitle.astro'
|
||||||
import Layout from './Layout.astro'
|
import Layout from './Layout.astro'
|
||||||
const { frontmatter } = Astro.props
|
const { frontmatter } = Astro.props
|
||||||
|
|
||||||
|
@ -13,15 +14,12 @@ const date = new Date(frontmatter.pubDate).toLocaleDateString(
|
||||||
'en-GB',
|
'en-GB',
|
||||||
options_date
|
options_date
|
||||||
)
|
)
|
||||||
|
const subtext = `Written by ${frontmatter.author} • Published on ${date}`
|
||||||
---
|
---
|
||||||
|
|
||||||
<Layout title={title} currentpage="blog" descriptionOverride={description}>
|
<Layout title={title} currentpage="blog" descriptionOverride={description}>
|
||||||
<a href="/blog"><i class="iconoir-fast-arrow-left"></i>Back to all posts</a>
|
<SmallTitle maintext={frontmatter.title} subtext={subtext} fadeout={true} returnbutton={true} baseurl='blog'/>
|
||||||
<div>
|
<div>
|
||||||
<h1>
|
|
||||||
{frontmatter.title}
|
|
||||||
</h1>
|
|
||||||
<p>by {frontmatter.author} • Published on {date}</p>
|
|
||||||
<article>
|
<article>
|
||||||
<slot />
|
<slot />
|
||||||
</article>
|
</article>
|
||||||
|
|
|
@ -1,36 +1,59 @@
|
||||||
---
|
---
|
||||||
export interface Props {
|
export interface Props {
|
||||||
title: string
|
title: string
|
||||||
|
titlehidden?: boolean
|
||||||
|
displayLine?: boolean
|
||||||
}
|
}
|
||||||
|
const { title, titlehidden, displayLine } = Astro.props
|
||||||
const { title } = Astro.props
|
const display = titlehidden ? "display: none" : ""
|
||||||
|
const line = displayLine ? "flex" : "none"
|
||||||
---
|
---
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<h1>{title}</h1>
|
<h1 style={display}>{title}</h1>
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
|
<div class="start hightlighter"></div>
|
||||||
<div class="line"></div>
|
<div class="line"></div>
|
||||||
<slot />
|
<slot />
|
||||||
<div class="drop"></div>
|
<div class="drop hightlighter"></div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<style>
|
<style define:vars={{ line }}>
|
||||||
.drop {
|
section {
|
||||||
|
padding-left: 0.25em;
|
||||||
|
padding-right: 0.25em;
|
||||||
|
padding-bottom: 5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hightlighter {
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
left: 0;
|
|
||||||
right: 0;
|
|
||||||
bottom: -5rem;
|
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
height: 1.5rem;
|
height: 1.5rem;
|
||||||
width: 1.5rem;
|
width: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.drop {
|
||||||
|
bottom: -5rem;
|
||||||
border-radius: 0% 50% 50% 50%;
|
border-radius: 0% 50% 50% 50%;
|
||||||
transform: rotate(45deg);
|
transform: rotate(45deg);
|
||||||
background-color: var(--c-darkpurple);
|
background-color: var(--c-darkpurple);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.start {
|
||||||
|
top: -2rem;
|
||||||
|
border-radius: 40%;
|
||||||
|
border-style: solid;
|
||||||
|
border-width: 0.25rem;
|
||||||
|
border-color: var(--c-lightgray);
|
||||||
|
background-color: var(--c-darkpurple);
|
||||||
|
}
|
||||||
|
|
||||||
.line {
|
.line {
|
||||||
display: flex;
|
display: flex;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -46,30 +69,31 @@ const { title } = Astro.props
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
}
|
}
|
||||||
h1 {
|
h1 {
|
||||||
font-size: 40px;
|
|
||||||
line-height: 48px;
|
line-height: 48px;
|
||||||
letter-spacing: -1px;
|
letter-spacing: -1px;
|
||||||
color: white;
|
color: white;
|
||||||
font-size: 2.25rem;
|
font-size: 1.6rem;
|
||||||
margin-top: 1rem;
|
margin-top: 1rem;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
padding: 0.25rem 0.75rem;
|
|
||||||
max-width: max-content;
|
max-width: max-content;
|
||||||
background-color: var(--c-darkgray);
|
background-color: var(--c-darkgray);
|
||||||
padding: 0.25rem 1.5rem;
|
padding: 0.25rem 1.5rem;
|
||||||
border-radius: 0.5rem;
|
border-radius: 0.5rem;
|
||||||
padding-bottom: 0.5rem;
|
padding-bottom: 0.5rem;
|
||||||
|
justify-self: center;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
.wrapper {
|
.wrapper {
|
||||||
margin: 2rem 3rem 0.5rem 3rem;
|
margin: 2rem 2rem 0.5rem 2rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-flow: column wrap;
|
flex-flow: column wrap;
|
||||||
row-gap: 1em;
|
row-gap: 1em;
|
||||||
column-gap: 1em;
|
column-gap: 1em;
|
||||||
align-self: center;
|
align-self: center;
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
|
align-content: center;
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
color: white;
|
color: white;
|
||||||
|
@ -80,21 +104,41 @@ const { title } = Astro.props
|
||||||
.drop {
|
.drop {
|
||||||
margin-left: 1.5rem;
|
margin-left: 1.5rem;
|
||||||
}
|
}
|
||||||
|
.start {
|
||||||
|
margin-left: 1.25rem;
|
||||||
|
}
|
||||||
.line {
|
.line {
|
||||||
margin-left: 2.1rem;
|
margin-left: 2.1rem;
|
||||||
}
|
}
|
||||||
h1 {
|
h1 {
|
||||||
margin-left: 3rem;
|
margin-left: 3rem;
|
||||||
|
font-size: 1.85rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media (min-width: 1500px) {
|
@media (min-width: 1500px) {
|
||||||
.wrapper {
|
.wrapper {
|
||||||
margin-left: 20rem;
|
margin-left: 15rem;
|
||||||
margin-right: 20rem;
|
margin-right: 15rem;
|
||||||
|
flex-direction: row;
|
||||||
|
}
|
||||||
|
section {
|
||||||
|
padding-bottom: unset;
|
||||||
|
}
|
||||||
|
.drop, .start, .line {
|
||||||
|
display: var(--line);
|
||||||
|
margin-left: 2rem;
|
||||||
|
}
|
||||||
|
.start {
|
||||||
|
margin-left: 1.75rem;
|
||||||
|
}
|
||||||
|
.line {
|
||||||
|
margin-left: 2.6rem;
|
||||||
|
height: calc(100% + 6rem);
|
||||||
|
translate: 0px -2rem;
|
||||||
}
|
}
|
||||||
h1 {
|
h1 {
|
||||||
margin-left: 20rem;
|
margin-left: 15rem;
|
||||||
margin-right: 20rem;
|
margin-right: 15rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -75,7 +75,7 @@ const release = `https://forgejo.neshweb.net/Firq/firq-dev-website/releases/tag/
|
||||||
rel="noopener noreferrer">AnthonyJ</a
|
rel="noopener noreferrer">AnthonyJ</a
|
||||||
> for providing me with the custom Shishou favicon.
|
> for providing me with the custom Shishou favicon.
|
||||||
<div class="sticky-image-wrapper">
|
<div class="sticky-image-wrapper">
|
||||||
<Image src={padoru} alt="Hashire sori yo ..." />
|
<Image src={padoru} alt="Hashire sori yo ..." width={64} height={64} quality={100}/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
|
|
|
@ -6,69 +6,59 @@ export interface Props {
|
||||||
const { title } = Astro.props
|
const { title } = Astro.props
|
||||||
---
|
---
|
||||||
|
|
||||||
<section class="base">
|
<div class="base">
|
||||||
<h1>{title}</h1>
|
<h1>{title}</h1>
|
||||||
<div>
|
<div>
|
||||||
<slot />
|
<slot />
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</div>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
h1 {
|
.base {
|
||||||
font-size: 40px;
|
display: flex;
|
||||||
line-height: 48px;
|
flex-direction: column;
|
||||||
letter-spacing: -1px;
|
justify-content: center;
|
||||||
color: white;
|
text-align: center;
|
||||||
font-size: 2.25rem;
|
|
||||||
margin-top: 1rem;
|
|
||||||
margin-bottom: 0;
|
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
|
||||||
padding: 0.25rem 0.75rem;
|
|
||||||
max-width: max-content;
|
|
||||||
background-color: var(--c-darkgray);
|
|
||||||
padding: 0.25rem 1.5rem;
|
|
||||||
border-radius: 0.5rem;
|
|
||||||
padding-bottom: 0.5rem;
|
|
||||||
}
|
}
|
||||||
div {
|
|
||||||
|
.base div {
|
||||||
|
display: flex;
|
||||||
|
position: relative;
|
||||||
|
flex-flow: row wrap;
|
||||||
row-gap: 1em;
|
row-gap: 1em;
|
||||||
column-gap: 1em;
|
column-gap: 1em;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-self: center;
|
align-self: center;
|
||||||
display: flex;
|
|
||||||
flex-flow: row wrap;
|
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.base h1 {
|
||||||
|
font-size: 40px;
|
||||||
|
line-height: 48px;
|
||||||
|
letter-spacing: -1px;
|
||||||
color: white;
|
color: white;
|
||||||
font-size: 1em;
|
margin-top: 2rem;
|
||||||
|
margin-bottom: 0px;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
padding: 0.25rem 1.5rem;
|
||||||
|
border-radius: 0.5rem;
|
||||||
|
max-width: max-content;
|
||||||
|
background-color: var(--c-darkgray);
|
||||||
|
padding-bottom: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.base {
|
@media (min-width: 1000px) {
|
||||||
margin-left: 1rem;
|
.base div {
|
||||||
margin-right: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 400px) {
|
|
||||||
.base {
|
|
||||||
margin-left: 3rem;
|
margin-left: 3rem;
|
||||||
margin-right: 3rem;
|
margin-right: 3rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 1500px) {
|
@media (min-width: 1500px) {
|
||||||
.base {
|
.base div {
|
||||||
margin-left: 10%;
|
margin-left: 10%;
|
||||||
margin-right: 10%;
|
margin-right: 10%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media (min-width: 512px) {
|
|
||||||
div {
|
|
||||||
justify-content: left;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 520px) {
|
|
||||||
h1 {
|
|
||||||
margin: 0.5rem 0.75rem 0.5rem 0.75rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
|
@ -1,8 +1,8 @@
|
||||||
---
|
---
|
||||||
import { Image } from 'astro:assets'
|
import { Image } from 'astro:assets'
|
||||||
import Layout from '../layouts/Layout.astro'
|
import Layout from '../layouts/Layout.astro'
|
||||||
import BaseSection from '../layouts/baseSection.astro'
|
|
||||||
import sadshishou from '../assets/shishousad.webp'
|
import sadshishou from '../assets/shishousad.webp'
|
||||||
|
import SmallTitle from '../components/titles/smallTitle.astro'
|
||||||
|
|
||||||
const description = "Error. This shouldn't happen :/"
|
const description = "Error. This shouldn't happen :/"
|
||||||
---
|
---
|
||||||
|
@ -12,7 +12,7 @@ const description = "Error. This shouldn't happen :/"
|
||||||
currentpage="404"
|
currentpage="404"
|
||||||
descriptionOverride={description}
|
descriptionOverride={description}
|
||||||
>
|
>
|
||||||
<BaseSection title="FirqhundredandFirq - Not Found">
|
<SmallTitle maintext='Error' subtext='FirqhundredandFirq - Not Found' fadeout={true}/>
|
||||||
<div>
|
<div>
|
||||||
<Image src={sadshishou} alt="Sad Shishou" />
|
<Image src={sadshishou} alt="Sad Shishou" />
|
||||||
<h2>Well ... you were not supposed to end up here.</h2>
|
<h2>Well ... you were not supposed to end up here.</h2>
|
||||||
|
@ -20,44 +20,51 @@ const description = "Error. This shouldn't happen :/"
|
||||||
<< Go back home
|
<< Go back home
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</BaseSection>
|
|
||||||
</Layout>
|
</Layout>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
div {
|
div {
|
||||||
|
padding: 0px 2rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: nowrap;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
h2 {
|
h2 {
|
||||||
|
font-family: 'Work Sans Variable', sans-serif;
|
||||||
|
font-weight: 500;
|
||||||
color: white;
|
color: white;
|
||||||
font-size: 2rem;
|
font-size: 1.25rem;
|
||||||
font-weight: bold;
|
|
||||||
margin-top: 1rem;
|
margin-top: 1rem;
|
||||||
max-width: max-content;
|
max-width: max-content;
|
||||||
}
|
|
||||||
a {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
width: 75%;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: white;
|
font-style: italic;
|
||||||
background-color: var(--c-gray);
|
}
|
||||||
padding: 0.5rem 0px;
|
|
||||||
margin-bottom: 2rem;
|
|
||||||
text-decoration: none;
|
|
||||||
font-size: 1.5rem;
|
|
||||||
font-weight: bold;
|
|
||||||
|
|
||||||
&:hover {
|
a {
|
||||||
color: var(--c-darkpurple);
|
text-align: center;
|
||||||
}
|
width: fit-content;
|
||||||
|
font-weight: 500;
|
||||||
|
font-family: 'Work Sans Variable', sans-serif;
|
||||||
|
color: white;
|
||||||
|
margin: 1rem 0px 0px;
|
||||||
|
padding: 0.5rem 0.75rem;
|
||||||
|
text-decoration: none;
|
||||||
|
background-color: var(--c-darkergray);
|
||||||
|
border-radius: 10px;
|
||||||
|
border-style: solid;
|
||||||
|
border-width: 2px;
|
||||||
|
border-color: var(--c-darkergray);
|
||||||
|
text-transform: capitalize;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
border-color: var(--c-darkpurple);
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
width: 256px;
|
width: 200px;
|
||||||
height: 256px;
|
height: auto;
|
||||||
|
border-radius: 10%;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -1,17 +1,19 @@
|
||||||
---
|
---
|
||||||
import Layout from '../layouts/Layout.astro'
|
import Layout from '../layouts/Layout.astro'
|
||||||
import AboutSection from '../layouts/aboutSection.astro'
|
|
||||||
|
|
||||||
import ContactSection from '../layouts/contactSection.astro'
|
import ContactSection from '../layouts/contactSection.astro'
|
||||||
import ContactCard from '../components/contactCard.astro'
|
import ContactCard from '../components/cards/contactCard.astro'
|
||||||
import contactdata from '../../static/data/_contactdata.json'
|
import contactdata from '../../static/data/_contactdata.json'
|
||||||
|
|
||||||
import CustomFooter from '../layouts/customFooter.astro'
|
import CustomFooter from '../layouts/customFooter.astro'
|
||||||
import TechnologyCard from '../components/technologyCard.astro'
|
import TechnologyCard from '../components/cards/technologyCard.astro'
|
||||||
import technologydata from '../../static/data/_technologydata.json'
|
import technologydata from '../../static/data/_technologydata.json'
|
||||||
|
import SmallTitle from '../components/titles/smallTitle.astro'
|
||||||
|
|
||||||
const description =
|
const description =
|
||||||
"A summary of the technologies used as well as my contact information. You'll also find disclaimers and thank you notes for the people that helped me."
|
"A summary of the technologies used as well as my contact information. You'll also find disclaimers and thank you notes for the people that helped me."
|
||||||
|
const subtext =
|
||||||
|
"This is a small sideproject that I'm creating. First time doing webdev in general, and first project using Typescript."
|
||||||
---
|
---
|
||||||
|
|
||||||
<Layout
|
<Layout
|
||||||
|
@ -19,10 +21,7 @@ const description =
|
||||||
currentpage="about"
|
currentpage="about"
|
||||||
descriptionOverride={description}
|
descriptionOverride={description}
|
||||||
>
|
>
|
||||||
<AboutSection title="About">
|
<SmallTitle maintext="About" subtext={subtext} fadeout={true} />
|
||||||
This is a small sideproject that I'm creating. First time doing webdev in
|
|
||||||
general, and first project using Typescript.
|
|
||||||
</AboutSection>
|
|
||||||
<ContactSection title="Technologies used">
|
<ContactSection title="Technologies used">
|
||||||
{technologydata.map((item) => <TechnologyCard {...item} />)}
|
{technologydata.map((item) => <TechnologyCard {...item} />)}
|
||||||
</ContactSection>
|
</ContactSection>
|
||||||
|
|
|
@ -1,35 +0,0 @@
|
||||||
---
|
|
||||||
import Layout from '../layouts/Layout.astro'
|
|
||||||
import BlogCard from '../components/blogCard.astro'
|
|
||||||
import BlogSection from '../layouts/blogSection.astro'
|
|
||||||
|
|
||||||
const description =
|
|
||||||
'My own small blog. Topics include FGO, TA, Programming, web technologies and more!'
|
|
||||||
const allPosts = await Astro.glob('../pages/blog/*.{md,mdx}')
|
|
||||||
allPosts.sort(
|
|
||||||
(a, b) =>
|
|
||||||
Date.parse(b.frontmatter.pubDate) - Date.parse(a.frontmatter.pubDate)
|
|
||||||
)
|
|
||||||
---
|
|
||||||
|
|
||||||
<Layout
|
|
||||||
title="Blog - Firq FGO Site"
|
|
||||||
currentpage="blog"
|
|
||||||
descriptionOverride={description}
|
|
||||||
>
|
|
||||||
<BlogSection title="Blog Articles">
|
|
||||||
{
|
|
||||||
allPosts.map((post) => (
|
|
||||||
<BlogCard
|
|
||||||
url={post.url}
|
|
||||||
title={post.frontmatter.title}
|
|
||||||
pubdate={post.frontmatter.pubDate}
|
|
||||||
description={post.frontmatter.description}
|
|
||||||
author={post.frontmatter.author}
|
|
||||||
/>
|
|
||||||
))
|
|
||||||
}
|
|
||||||
</BlogSection>
|
|
||||||
</Layout>
|
|
||||||
|
|
||||||
<style></style>
|
|
17
src/pages/blog/[...slug].astro
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
---
|
||||||
|
import { getCollection } from 'astro:content'
|
||||||
|
|
||||||
|
export async function getStaticPaths() {
|
||||||
|
const blogEntries = await getCollection('blog')
|
||||||
|
|
||||||
|
return blogEntries.map((entry) => ({
|
||||||
|
params: { slug: entry.slug },
|
||||||
|
props: { entry },
|
||||||
|
}))
|
||||||
|
}
|
||||||
|
|
||||||
|
const { entry } = Astro.props
|
||||||
|
const { Content } = await entry.render()
|
||||||
|
---
|
||||||
|
|
||||||
|
<Content />
|
39
src/pages/blog/index.astro
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
---
|
||||||
|
import Layout from '../../layouts/Layout.astro'
|
||||||
|
import BlogCard from '../../components/cards/blogCard.astro'
|
||||||
|
import BlogSection from '../../layouts/blogSection.astro'
|
||||||
|
import SmallTitle from '../../components/titles/smallTitle.astro'
|
||||||
|
import { getCollection } from 'astro:content'
|
||||||
|
|
||||||
|
const description =
|
||||||
|
'My own small blog. Topics include FGO, TA, Programming, web technologies and more!'
|
||||||
|
const blogEntries = await getCollection('blog')
|
||||||
|
blogEntries.sort(
|
||||||
|
(a, b) =>
|
||||||
|
(b.data.pubDate.valueOf() - a.data.pubDate.valueOf() )
|
||||||
|
)
|
||||||
|
---
|
||||||
|
|
||||||
|
<Layout
|
||||||
|
title="Blog - Firq FGO Site"
|
||||||
|
currentpage="blog"
|
||||||
|
descriptionOverride={description}
|
||||||
|
>
|
||||||
|
<SmallTitle maintext="Blog Articles" subtext="" fadeout={true} />
|
||||||
|
<BlogSection title="Blog Articles" displayLine={true} titlehidden={true}>
|
||||||
|
{
|
||||||
|
blogEntries.map((post) => (
|
||||||
|
<BlogCard
|
||||||
|
url="blog"
|
||||||
|
slug={post.slug}
|
||||||
|
title={post.data.title}
|
||||||
|
pubdate={post.data.pubDate}
|
||||||
|
description={post.data.description}
|
||||||
|
author={post.data.author}
|
||||||
|
/>
|
||||||
|
))
|
||||||
|
}
|
||||||
|
</BlogSection>
|
||||||
|
</Layout>
|
||||||
|
|
||||||
|
<style></style>
|
|
@ -1,9 +1,9 @@
|
||||||
---
|
---
|
||||||
import Layout from '../layouts/Layout.astro'
|
import Layout from '../layouts/Layout.astro'
|
||||||
import Hero from '../components/hero.astro'
|
|
||||||
import BaseSection from '../layouts/baseSection.astro'
|
import BaseSection from '../layouts/baseSection.astro'
|
||||||
import FavouriteCard from '../components/favouriteCard.astro'
|
import FavouriteCard from '../components/cards/favouriteCard.astro'
|
||||||
import favouritesdata from '../../static/data/_favouritesdata.json'
|
import favouritesdata from '../../static/data/_favouritesdata.json'
|
||||||
|
import Hi from '../components/titles/title.astro'
|
||||||
|
|
||||||
const description =
|
const description =
|
||||||
'The very own page of Firq for providing informating about TA servants, listing past TA achievements and hosting a blog for talking about FGO, Programming and other stuff'
|
'The very own page of Firq for providing informating about TA servants, listing past TA achievements and hosting a blog for talking about FGO, Programming and other stuff'
|
||||||
|
@ -14,8 +14,8 @@ const description =
|
||||||
currentpage="home"
|
currentpage="home"
|
||||||
descriptionOverride={description}
|
descriptionOverride={description}
|
||||||
>
|
>
|
||||||
<Hero />
|
<Hi />
|
||||||
<BaseSection title="Favourites">
|
<BaseSection title="Favourite Things">
|
||||||
{favouritesdata.map((item) => <FavouriteCard {...item} />)}
|
{favouritesdata.map((item) => <FavouriteCard {...item} />)}
|
||||||
</BaseSection>
|
</BaseSection>
|
||||||
</Layout>
|
</Layout>
|
||||||
|
|
|
@ -1,12 +1,13 @@
|
||||||
---
|
---
|
||||||
import Layout from '../layouts/Layout.astro'
|
import Layout from '../layouts/Layout.astro'
|
||||||
import BaseSection from '../layouts/baseSection.astro'
|
import ServantSection from '../layouts/servantSection.astro'
|
||||||
|
|
||||||
import ServantCard from '../components/servantCard.astro'
|
import ServantCard from '../components/cards/servantCard.astro'
|
||||||
import servantdata from '../../static/data/_servantdata.json'
|
import servantdata from '../../static/data/_servantdata.json'
|
||||||
|
|
||||||
import CeCard from '../components/ceCard.astro'
|
import CeCard from '../components/cards/ceCard.astro'
|
||||||
import cedata from '../../static/data/_cedata.json'
|
import cedata from '../../static/data/_cedata.json'
|
||||||
|
import SmallTitle from '../components/titles/smallTitle.astro'
|
||||||
|
|
||||||
const description =
|
const description =
|
||||||
'A list of all the servants and ces that Firq can offer up on support for TA.'
|
'A list of all the servants and ces that Firq can offer up on support for TA.'
|
||||||
|
@ -17,13 +18,14 @@ const description =
|
||||||
currentpage="servants"
|
currentpage="servants"
|
||||||
descriptionOverride={description}
|
descriptionOverride={description}
|
||||||
>
|
>
|
||||||
<BaseSection title="Servants">
|
<SmallTitle maintext='TA Offering' subtext='Servants and CEs I can offer for your TAs' fadeout={true}/>
|
||||||
{servantdata.map((item) => <ServantCard {...item} />)}
|
<ServantSection title="Servants">
|
||||||
</BaseSection>
|
{servantdata.map((item, index) => <ServantCard {...item} index={index} />)}
|
||||||
|
</ServantSection>
|
||||||
<div class="placeholder"></div>
|
<div class="placeholder"></div>
|
||||||
<BaseSection title="CEs">
|
<ServantSection title="CEs">
|
||||||
{cedata.map((item) => <CeCard {...item} />)}
|
{cedata.map((item) => <CeCard {...item} />)}
|
||||||
</BaseSection>
|
</ServantSection>
|
||||||
<div class="placeholder"></div>
|
<div class="placeholder"></div>
|
||||||
</Layout>
|
</Layout>
|
||||||
|
|
||||||
|
|
|
@ -8,10 +8,11 @@
|
||||||
import Layout from '../layouts/Layout.astro'
|
import Layout from '../layouts/Layout.astro'
|
||||||
|
|
||||||
import TaSection from '../layouts/taSection.astro'
|
import TaSection from '../layouts/taSection.astro'
|
||||||
import TaCard from '../components/taCard.astro'
|
import TaCard from '../components/cards/taCard.astro'
|
||||||
import tadata from '../../static/data/_tadata.json'
|
import tadata from '../../static/data/_tadata.json'
|
||||||
import featured_data from '../../static/data/_featureddata.json'
|
import featured_data from '../../static/data/_featureddata.json'
|
||||||
import FgotaHero from '../components/fgotaHero.astro'
|
import FgotaHero from '../components/fgotaHero.astro'
|
||||||
|
import SmallTitle from '../components/titles/smallTitle.astro'
|
||||||
|
|
||||||
const important_data = tadata.filter(function (el) {
|
const important_data = tadata.filter(function (el) {
|
||||||
return [
|
return [
|
||||||
|
@ -37,7 +38,8 @@ const description = 'A collection of TAs previously completed be Firq.'
|
||||||
currentpage="ta-collection"
|
currentpage="ta-collection"
|
||||||
descriptionOverride={description}
|
descriptionOverride={description}
|
||||||
>
|
>
|
||||||
<FgotaHero />
|
<SmallTitle maintext='TA Collection' subtext=''/>
|
||||||
|
<FgotaHero fadeout={true}/>
|
||||||
<TaSection title="Notable TAs" abovetext="My most notable TAs">
|
<TaSection title="Notable TAs" abovetext="My most notable TAs">
|
||||||
{important_data.map((item) => <TaCard {...item} />)}
|
{important_data.map((item) => <TaCard {...item} />)}
|
||||||
</TaSection>
|
</TaSection>
|
||||||
|
|
BIN
static/.original.favicon.ico
Normal file
After Width: | Height: | Size: 123 KiB |
|
@ -37,7 +37,7 @@
|
||||||
{
|
{
|
||||||
"name": "Vessel of the Saint",
|
"name": "Vessel of the Saint",
|
||||||
"imageFile": "vessel.png",
|
"imageFile": "vessel.png",
|
||||||
"mlb": false
|
"mlb": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Devilish Bodhisattva",
|
"name": "Devilish Bodhisattva",
|
||||||
|
|
|
@ -10,5 +10,11 @@
|
||||||
"origin": "Fate/Grand Order",
|
"origin": "Fate/Grand Order",
|
||||||
"imageFile": "skadi.png",
|
"imageFile": "skadi.png",
|
||||||
"link": "https://twitter.com/firq_ow/status/1544321985995489280"
|
"link": "https://twitter.com/firq_ow/status/1544321985995489280"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Summer Skadi",
|
||||||
|
"origin": "Fate/Grand Order",
|
||||||
|
"imageFile": "summerskadi.png",
|
||||||
|
"link": "https://twitter.com/firq_ow/status/1816355501216596073"
|
||||||
}
|
}
|
||||||
]
|
]
|
|
@ -9,6 +9,16 @@
|
||||||
"bondceImageFile": "scathach.png",
|
"bondceImageFile": "scathach.png",
|
||||||
"bond10": true
|
"bond10": true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "Summer Skadi",
|
||||||
|
"level": "120",
|
||||||
|
"np": "5",
|
||||||
|
"skills": "10 / 10 / 10",
|
||||||
|
"ml": "10",
|
||||||
|
"servantImageFile": "summerskadi_03.png",
|
||||||
|
"bondceImageFile": "summerskadi.png",
|
||||||
|
"bond10": true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "Skadi",
|
"name": "Skadi",
|
||||||
"level": "120",
|
"level": "120",
|
||||||
|
@ -19,6 +29,16 @@
|
||||||
"bondceImageFile": "skadi.png",
|
"bondceImageFile": "skadi.png",
|
||||||
"bond10": true
|
"bond10": true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "Summer Skadi",
|
||||||
|
"level": "70",
|
||||||
|
"np": "1",
|
||||||
|
"skills": "10 / 10 / 10",
|
||||||
|
"ml": "1",
|
||||||
|
"servantImageFile": "summerskadi_02.png",
|
||||||
|
"bondceImageFile": "summerskadi.png",
|
||||||
|
"bond10": true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "Skadi",
|
"name": "Skadi",
|
||||||
"level": "70",
|
"level": "70",
|
||||||
|
@ -49,6 +69,16 @@
|
||||||
"bondceImageFile": "koyanlight.png",
|
"bondceImageFile": "koyanlight.png",
|
||||||
"bond10": true
|
"bond10": true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "Koyanskaya of Light",
|
||||||
|
"level": "70",
|
||||||
|
"np": "1",
|
||||||
|
"skills": "10 / 10 / 10",
|
||||||
|
"ml": "Not Unlocked",
|
||||||
|
"servantImageFile": "koyanlight_02.png",
|
||||||
|
"bondceImageFile": "koyanlight.png",
|
||||||
|
"bond10": true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "Castoria",
|
"name": "Castoria",
|
||||||
"level": "90",
|
"level": "90",
|
||||||
|
@ -157,7 +187,7 @@
|
||||||
"ml": "10",
|
"ml": "10",
|
||||||
"servantImageFile": "douman_01.png",
|
"servantImageFile": "douman_01.png",
|
||||||
"bondceImageFile": "douman.png",
|
"bondceImageFile": "douman.png",
|
||||||
"bond10": false
|
"bond10": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Himiko",
|
"name": "Himiko",
|
||||||
|
@ -190,7 +220,7 @@
|
||||||
"bond10": false
|
"bond10": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Taigon Wang",
|
"name": "Taigong Wang",
|
||||||
"level": "70",
|
"level": "70",
|
||||||
"np": "1",
|
"np": "1",
|
||||||
"skills": "10 / 9 / 10",
|
"skills": "10 / 9 / 10",
|
||||||
|
@ -225,6 +255,16 @@
|
||||||
"np": "1",
|
"np": "1",
|
||||||
"skills": "9 / 9 / X",
|
"skills": "9 / 9 / X",
|
||||||
"ml": "Not Unlocked",
|
"ml": "Not Unlocked",
|
||||||
|
"servantImageFile": "liz_02.png",
|
||||||
|
"bondceImageFile": "liz.png",
|
||||||
|
"bond10": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Elisabeth Báthory",
|
||||||
|
"level": "1",
|
||||||
|
"np": "1",
|
||||||
|
"skills": "9 / X / X",
|
||||||
|
"ml": "Not Unlocked",
|
||||||
"servantImageFile": "liz_01.png",
|
"servantImageFile": "liz_01.png",
|
||||||
"bondceImageFile": "liz.png",
|
"bondceImageFile": "liz.png",
|
||||||
"bond10": false
|
"bond10": false
|
||||||
|
|
Before Width: | Height: | Size: 123 KiB After Width: | Height: | Size: 4.2 KiB |
|
@ -1,10 +1,35 @@
|
||||||
export default {
|
export default {
|
||||||
|
lighthouseOptions: {
|
||||||
|
throttlingMethod: "devtools",
|
||||||
|
throttling: {
|
||||||
|
cpuSlowdownMultiplier: 4,
|
||||||
|
requestLatencyMs: 150,
|
||||||
|
downloadThroughputKbps: 1638.4,
|
||||||
|
uploadThroughputKbps: 1638.4,
|
||||||
|
},
|
||||||
|
screenEmulation: {
|
||||||
|
width: 412,
|
||||||
|
height: 823,
|
||||||
|
deviceScaleFactor: 1.75,
|
||||||
|
}
|
||||||
|
},
|
||||||
puppeteerOptions: {
|
puppeteerOptions: {
|
||||||
args: ["--no-sandbox", "--disable-setuid-sandbox"],
|
args: [
|
||||||
|
"--no-sandbox",
|
||||||
|
"--disable-setuid-sandbox"
|
||||||
|
],
|
||||||
|
},
|
||||||
|
puppeteerClusterOptions: {
|
||||||
|
maxConcurrency: 1
|
||||||
},
|
},
|
||||||
ci: {
|
ci: {
|
||||||
budget: 50,
|
budget: 50,
|
||||||
buildStatic: true
|
buildStatic: true,
|
||||||
|
},
|
||||||
|
scanner: {
|
||||||
|
sitemap: true,
|
||||||
|
dynamicSampling: false,
|
||||||
|
samples: 3,
|
||||||
},
|
},
|
||||||
outputPath: "unlighthouse-reports",
|
outputPath: "unlighthouse-reports",
|
||||||
}
|
}
|
||||||
|
|