Compare commits
38 commits
0.1.16pre3
...
main
Author | SHA1 | Date | |
---|---|---|---|
f5bb4bf78e | |||
5181739230 | |||
449006320c | |||
483b2cc84b | |||
9daf38e537 | |||
da8564f01a | |||
dd9d0a662f | |||
2a258ac60b | |||
0494694cc9 | |||
764c5750a6 | |||
b7db7dd512 | |||
fcd05dcb09 | |||
7ed78bceff | |||
e406bd8764 | |||
064eb975b9 | |||
d7eb7e9c49 | |||
3347d2eaf2 | |||
3dbdca627e | |||
f2ff4e47cf | |||
340f39710e | |||
4b3a8898f6 | |||
b03eba2bd5 | |||
336c0c0db5 | |||
11b12e55b8 | |||
bb0fe0bece | |||
b4702278d2 | |||
9a84cf7fc2 | |||
eeabc4e66f | |||
be896ca00c | |||
ed9af00592 | |||
141b1cffc6 | |||
e8e6733c9f | |||
0cac39ba78 | |||
76c723d516 | |||
a24a7af3d8 | |||
91f8c1834a | |||
719a9ff3de | |||
8e4b169404 |
|
@ -40,13 +40,14 @@ jobs:
|
|||
runs-on: docker
|
||||
steps:
|
||||
- name: Release New Version
|
||||
uses: actions/forgejo-release@v1
|
||||
uses: https://code.forgejo.org/actions/forgejo-release@v1
|
||||
with:
|
||||
direction: upload
|
||||
url: https://forgejo.neshweb.net
|
||||
release-dir: release
|
||||
token: ${{ secrets.FORGEJO_TOKEN }}
|
||||
tag: ${{ github.ref_name }}
|
||||
prerelease: true
|
||||
|
||||
# doesn't work atm
|
||||
# unlighthouse:
|
||||
|
|
|
@ -40,7 +40,7 @@ jobs:
|
|||
runs-on: docker
|
||||
steps:
|
||||
- name: Release New Version
|
||||
uses: actions/forgejo-release@v1
|
||||
uses: https://code.forgejo.org/actions/forgejo-release@v1
|
||||
with:
|
||||
direction: upload
|
||||
url: https://forgejo.neshweb.net
|
||||
|
|
|
@ -23,6 +23,7 @@ jobs:
|
|||
|
||||
deploy-unlighthouse-files:
|
||||
needs: [ unlighthouse ]
|
||||
if: success()
|
||||
runs-on: docker
|
||||
env:
|
||||
DEPLOY_USER: ${{ secrets.DEPLOY_USER }}
|
||||
|
@ -67,6 +68,7 @@ jobs:
|
|||
|
||||
deploy-unlighthouse-site:
|
||||
needs: [ deploy-unlighthouse-files ]
|
||||
if: success()
|
||||
runs-on: docker
|
||||
env:
|
||||
DEPLOY_USER: ${{ secrets.DEPLOY_USER }}
|
||||
|
@ -91,5 +93,6 @@ jobs:
|
|||
key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
script: |
|
||||
PATH="$HOME/.local/bin:$PATH"
|
||||
screen -ls | grep 'firq_dev-unlighthouse' | awk '{print $1}' | xargs -I % -t screen -X -S % quit
|
||||
cd firq_dev
|
||||
screen -S firq_dev-unlighthouse -dm serve unlighthouse/ -p ${{ secrets.UNLIGHTHOUSE_DEPLOY_PORT }}
|
||||
|
|
12
.vscode/settings.json
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"files.exclude": {
|
||||
"**/.git": true,
|
||||
"**/.svn": true,
|
||||
"**/.hg": true,
|
||||
"**/CVS": true,
|
||||
"**/.DS_Store": true,
|
||||
"**/Thumbs.db": true,
|
||||
"**/__pycache__": true
|
||||
},
|
||||
"hide-files.files": []
|
||||
}
|
|
@ -1,8 +1,6 @@
|
|||
import { defineConfig } from 'astro/config';
|
||||
|
||||
import sitemap from "@astrojs/sitemap";
|
||||
|
||||
// https://astro.build/config
|
||||
import mdx from "@astrojs/mdx";
|
||||
|
||||
// https://astro.build/config
|
||||
|
|
3373
package-lock.json
generated
12
package.json
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@firq/fgosite",
|
||||
"type": "module",
|
||||
"version": "0.1.15",
|
||||
"version": "0.1.27",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "astro dev",
|
||||
|
@ -15,8 +15,14 @@
|
|||
"@astrojs/check": "^0.3.3",
|
||||
"@astrojs/mdx": "^2.0.3",
|
||||
"@astrojs/sitemap": "^3.0.3",
|
||||
"astro": "^4.0.7",
|
||||
"astro": "^4.2.1",
|
||||
"autoprefixer": "^10.4.16",
|
||||
"iconoir": "^7.2.0",
|
||||
"postcss-preset-env": "^9.3.0",
|
||||
"typescript": "^5.3.3"
|
||||
}
|
||||
},
|
||||
"browserslist": [
|
||||
"last 2 versions",
|
||||
">0.5% and not dead"
|
||||
]
|
||||
}
|
||||
|
|
13
postcss.config.cjs
Normal file
|
@ -0,0 +1,13 @@
|
|||
module.exports = {
|
||||
plugins: {
|
||||
"postcss-preset-env": {
|
||||
autoprefixer: { flexbox: "no-2009" },
|
||||
stage: 2,
|
||||
features: {
|
||||
"custom-properties": false,
|
||||
"custom-media-queries": true,
|
||||
"nesting-rules": true
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
BIN
src/assets/ce/bond-ce/scathach.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
src/assets/ce/bond-ce/sherlock.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
src/assets/ce/bond-ce/taigong.png
Normal file
After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 20 KiB |
BIN
src/assets/servant/scathach_03.png
Normal file
After Width: | Height: | Size: 69 KiB |
BIN
src/assets/servant/sherlock_03.png
Normal file
After Width: | Height: | Size: 44 KiB |
BIN
src/assets/servant/taigong_03.png
Normal file
After Width: | Height: | Size: 68 KiB |
BIN
src/assets/ta_icons/beast_4_l.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
src/assets/ta_icons/koyanskayaofdark.png
Normal file
After Width: | Height: | Size: 36 KiB |
BIN
src/assets/thumbnails/O1f-go7uJQM.jpg
Normal file
After Width: | Height: | Size: 91 KiB |
BIN
src/assets/thumbnails/WrHudtdfivA.jpg
Normal file
After Width: | Height: | Size: 144 KiB |
|
@ -1,29 +1,26 @@
|
|||
---
|
||||
import type { ImageMetadata } from 'astro'
|
||||
import { Image } from 'astro:assets'
|
||||
import mlb_ce from '../assets/ce/mlb.webp'
|
||||
import type { GlobImage } from '../types/generic'
|
||||
import { plsLoadImage } from '../utils/tools'
|
||||
|
||||
export interface Props {
|
||||
name: string
|
||||
imageFile: string
|
||||
mlb: string
|
||||
mlb: boolean
|
||||
}
|
||||
|
||||
const { mlb, imageFile, name } = Astro.props
|
||||
const imagePath = `/src/assets/ce/${imageFile}`
|
||||
const images_ces = import.meta.glob<{ default: ImageMetadata }>(
|
||||
'/src/assets/ce/*.{png,webp}'
|
||||
)
|
||||
const images_ces = import.meta.glob<GlobImage>('/src/assets/ce/*.png')
|
||||
const loadedCEImage = plsLoadImage(images_ces, imagePath)
|
||||
|
||||
let mlb_image: string = 'mlbalign'
|
||||
if (mlb === 'false') {
|
||||
mlb_image = 'hidemlb'
|
||||
}
|
||||
const mlb_image = mlb ? 'mlbalign' : 'hidemlb'
|
||||
---
|
||||
|
||||
<article>
|
||||
<div>
|
||||
<Image src={images_ces[imagePath]()} alt={name} class="ce-crop" />
|
||||
<Image src={loadedCEImage} alt={name} class="ce-crop" />
|
||||
</div>
|
||||
<div class={mlb_image}>
|
||||
<Image src={mlb_ce} alt="Max-limit broken" class="mlb" />
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
import type { ImageMetadata } from 'astro'
|
||||
import { Image } from 'astro:assets'
|
||||
import type { GlobImage } from '../types/generic'
|
||||
import { plsLoadImage } from '../utils/tools'
|
||||
|
||||
export interface Props {
|
||||
site: string
|
||||
|
@ -9,19 +10,27 @@ export interface Props {
|
|||
}
|
||||
|
||||
const { imageFile, link, site } = Astro.props
|
||||
const logoAltText = `${site} Logo`
|
||||
const imagePath = `/src/assets/social/${imageFile}`
|
||||
const images_logos = import.meta.glob<{ default: ImageMetadata }>(
|
||||
const images_logos = import.meta.glob<GlobImage>(
|
||||
'/src/assets/social/*.{png,webp}'
|
||||
)
|
||||
const loadedLogoImage = plsLoadImage(images_logos, imagePath)
|
||||
---
|
||||
|
||||
<a href={link} target="_blank" rel="noopener noreferrer" aria-label={site}>
|
||||
<a
|
||||
href={link}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
aria-label=`${site} - new window`
|
||||
>
|
||||
<article class="contact do-hover">
|
||||
<Image src={images_logos[imagePath]()} alt="" />
|
||||
<Image src={loadedLogoImage} alt={logoAltText} />
|
||||
<div>
|
||||
<h2>{site}</h2>
|
||||
</div>
|
||||
</article>
|
||||
<span class="visually-hidden">{logoAltText}</span>
|
||||
</a>
|
||||
|
||||
<style>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
import type { ImageMetadata } from 'astro';
|
||||
import { Image } from 'astro:assets';
|
||||
import { Image } from 'astro:assets'
|
||||
import type { GlobImage } from '../types/generic'
|
||||
import { plsLoadImage } from '../utils/tools'
|
||||
|
||||
export interface Props {
|
||||
name: string
|
||||
|
@ -11,12 +12,20 @@ export interface Props {
|
|||
|
||||
const { link, imageFile, origin, name } = Astro.props
|
||||
const imagePath = `/src/assets/favourites/${imageFile}`
|
||||
const images = import.meta.glob<{ default: ImageMetadata }>('/src/assets/favourites/*.{png,webp}')
|
||||
const images = import.meta.glob<GlobImage>(
|
||||
'/src/assets/favourites/*.{png,webp}'
|
||||
)
|
||||
const loadedImage = plsLoadImage(images, imagePath)
|
||||
---
|
||||
|
||||
<a href={link} target="_blank" rel="noopener noreferrer">
|
||||
<a
|
||||
href={link}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
aria-label=`${name} - new window`
|
||||
>
|
||||
<div class="heading">{name}</div>
|
||||
<Image src={images[imagePath]()} alt={name} />
|
||||
<Image src={loadedImage} alt={name} />
|
||||
<h2 class="subtext">
|
||||
{origin}
|
||||
</h2>
|
||||
|
@ -36,10 +45,6 @@ const images = import.meta.glob<{ default: ImageMetadata }>('/src/assets/favouri
|
|||
align-items: center;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
transform: scale(var(--hover-scale));
|
||||
}
|
||||
|
||||
a {
|
||||
border-radius: 1rem;
|
||||
display: flex;
|
||||
|
@ -55,25 +60,27 @@ const images = import.meta.glob<{ default: ImageMetadata }>('/src/assets/favouri
|
|||
text-align: center;
|
||||
transition: transform var(--speed) var(--ease);
|
||||
text-decoration: none;
|
||||
|
||||
&:hover {
|
||||
transform: scale(var(--hover-scale));
|
||||
}
|
||||
|
||||
a > img {
|
||||
img {
|
||||
padding: 0px 0.25em;
|
||||
width: 90%;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 512px) {
|
||||
a {
|
||||
padding: 10px 10px;
|
||||
width: auto;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
a > img {
|
||||
img {
|
||||
padding: 0px 1.5em;
|
||||
width: 200px;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
27
src/components/fgotaHero.astro
Normal file
|
@ -0,0 +1,27 @@
|
|||
---
|
||||
---
|
||||
|
||||
<div>
|
||||
<span>
|
||||
I am currently working on a site to catalogue past and future TAs.<br/>
|
||||
Check it out at <a href="https://fgo-ta.com">fgo-ta.com</a>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
div {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
height: 5em;
|
||||
background-color: var(--c-gray);
|
||||
text-align: center;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: white;
|
||||
font-size: 1.5em;
|
||||
}
|
||||
a {
|
||||
color: var(--c-darkpurple);
|
||||
text-decoration: none;
|
||||
}
|
||||
</style>
|
|
@ -1,25 +1,28 @@
|
|||
---
|
||||
import { Image } from 'astro:assets';
|
||||
import logo from '../assets/logo.svg'
|
||||
import hamburger from 'iconoir/icons/menu.svg'
|
||||
const hamburger_src_url = `url("${hamburger.src}")`;
|
||||
---
|
||||
|
||||
<header>
|
||||
<a href="/" rel="noopener noreferrer" aria-label="Home">
|
||||
<Image src={logo} alt="Website Logo"/>
|
||||
<a href="/" rel="noopener noreferrer" aria-label="Home" role="navigation">
|
||||
<Image src={logo} alt="Firq Website Logo"/>
|
||||
<span class="visually-hidden">Firq Website Logo</span>
|
||||
</a>
|
||||
<ul class="desktop">
|
||||
<slot />
|
||||
<slot name="desktop"/>
|
||||
</ul>
|
||||
<button class="mobile" aria-label="Navigation Button" tabindex="0" onclick="this.focus()">
|
||||
<button class="mobile" aria-label="Navigation Button" tabindex="0" onclick="this.focus()" role="navigation">
|
||||
<ul>
|
||||
<slot />
|
||||
<slot name="mobile"/>
|
||||
</ul>
|
||||
<div class="placeholder"></div>
|
||||
<i class="iconoir-menu"></i>
|
||||
<div class="hamburger-menu" role="navigation"></div>
|
||||
</button>
|
||||
</header>
|
||||
|
||||
<style>
|
||||
<style define:vars={{ hamburger_src_url }}>
|
||||
header {
|
||||
z-index: 1000;
|
||||
position: sticky;
|
||||
|
@ -32,7 +35,7 @@ import logo from '../assets/logo.svg'
|
|||
line-height: 1.5em;
|
||||
}
|
||||
header > a {
|
||||
padding-left: 16px;
|
||||
margin-left: 16px;
|
||||
padding-top: 8px;
|
||||
display: block;
|
||||
height: 48px;
|
||||
|
@ -81,16 +84,6 @@ import logo from '../assets/logo.svg'
|
|||
height: 64px;
|
||||
}
|
||||
|
||||
.mobile > i {
|
||||
position: static;
|
||||
color: white;
|
||||
font-weight: bold;
|
||||
font-size: 2em;
|
||||
align-self: flex-start;
|
||||
padding-right: 1em;
|
||||
padding-top: 1.15rem;
|
||||
}
|
||||
|
||||
.mobile > ul {
|
||||
display: none;
|
||||
padding: 0px;
|
||||
|
@ -113,6 +106,17 @@ import logo from '../assets/logo.svg'
|
|||
justify-self: top;
|
||||
}
|
||||
|
||||
.hamburger-menu {
|
||||
mask: var(--hamburger_src_url) no-repeat center;
|
||||
background-color: white;
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
position: static;
|
||||
align-self: flex-start;
|
||||
margin-right: 1rem;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
@media (min-width: 1140px) {
|
||||
.mobile {
|
||||
display: none;
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
---
|
||||
export interface Props {
|
||||
currentPage?: string
|
||||
navtype: "mobile" | "desktop"
|
||||
link: string
|
||||
text: string
|
||||
icon: string
|
||||
icon: ImageMetadata
|
||||
}
|
||||
|
||||
const { icon, text, link, currentPage } = Astro.props
|
||||
const { icon, text, link, navtype, currentPage } = Astro.props
|
||||
|
||||
let currPage = ''
|
||||
const slug = link.replace(new RegExp('/', 'g'), '')
|
||||
|
@ -17,7 +18,10 @@ if (currentPage === slug) {
|
|||
currPage = 'current'
|
||||
}
|
||||
|
||||
const icon_src_url = `url("${icon.src}")`;
|
||||
const fulllink = `/${slug}`
|
||||
|
||||
let extraattributes = navtype === "mobile" ? { tabindex: "0"} : {}
|
||||
---
|
||||
|
||||
<li>
|
||||
|
@ -26,14 +30,15 @@ const fulllink = `/${slug}`
|
|||
rel="noopener noreferrer"
|
||||
aria-label={text}
|
||||
class={currPage}
|
||||
tabindex="0"
|
||||
role="navigation"
|
||||
{...extraattributes}
|
||||
>
|
||||
<i class={icon}></i>
|
||||
<div class="icon"></div>
|
||||
{text}
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<style>
|
||||
<style define:vars={{ icon_src_url }}>
|
||||
li {
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
@ -41,6 +46,7 @@ const fulllink = `/${slug}`
|
|||
display: flex;
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
li > a {
|
||||
display: inline-flex;
|
||||
color: white;
|
||||
|
@ -52,10 +58,27 @@ const fulllink = `/${slug}`
|
|||
font-weight: bold;
|
||||
gap: 0.2em;
|
||||
}
|
||||
|
||||
li > a:hover {
|
||||
color: var(--c-purplepink);
|
||||
}
|
||||
|
||||
li > a:hover > .icon {
|
||||
background-color: var(--c-purplepink);
|
||||
}
|
||||
|
||||
.current {
|
||||
color: var(--c-darkpurple) !important;
|
||||
}
|
||||
|
||||
.current > .icon {
|
||||
background-color: var(--c-darkpurple) !important;
|
||||
}
|
||||
|
||||
.icon {
|
||||
mask: var(--icon_src_url) no-repeat center;
|
||||
background-color: white;
|
||||
width: 1.4em;
|
||||
height: 1.4em;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
import type { ImageMetadata } from 'astro';
|
||||
import { Image } from 'astro:assets';
|
||||
import type { GlobImage } from '../types/generic'
|
||||
import { plsLoadImage } from '../utils/tools'
|
||||
|
||||
export interface Props {
|
||||
name: string
|
||||
|
@ -16,8 +17,10 @@ export interface Props {
|
|||
const { bond10, ml, bondceImageFile, servantImageFile, np, skills, level, name } = Astro.props
|
||||
const servantImagePath = `/src/assets/servant/${servantImageFile}`
|
||||
const bondceImagePath = `/src/assets/ce/bond-ce/${bondceImageFile}`
|
||||
const images_servants = import.meta.glob<{ default: ImageMetadata }>('/src/assets/servant/*.{png,webp}')
|
||||
const images_bond_ces = import.meta.glob<{ default: ImageMetadata }>('/src/assets/ce/bond-ce/*.{png,webp}')
|
||||
const images_servants = import.meta.glob<GlobImage>('/src/assets/servant/*.{png,webp}')
|
||||
const images_bond_ces = import.meta.glob<GlobImage>('/src/assets/ce/bond-ce/*.{png,webp}')
|
||||
const loadedServantImage = plsLoadImage(images_servants, servantImagePath)
|
||||
const loadedBondCEImage = plsLoadImage(images_bond_ces, bondceImagePath)
|
||||
|
||||
let bondce_css: string = 'bond-ce'
|
||||
|
||||
|
@ -27,14 +30,14 @@ if (bond10 === false) {
|
|||
---
|
||||
|
||||
<article>
|
||||
<Image src={images_servants[servantImagePath]()} alt={name} />
|
||||
<Image src={loadedServantImage} alt={name} />
|
||||
<h2 class="subtext">
|
||||
Level {level}<br />
|
||||
{skills}<br />
|
||||
NP {np}
|
||||
</h2>
|
||||
<div class="expand-on-hover">
|
||||
<Image src={images_bond_ces[bondceImagePath]()} alt="" class={bondce_css}/>
|
||||
<Image src={loadedBondCEImage} alt="" class={bondce_css}/>
|
||||
<h2 class="subtext">Mana Loading: {ml === 'Not Unlocked' && <br />}{ml}</h2>
|
||||
</div>
|
||||
</article>
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
---
|
||||
import type { ImageMetadata } from 'astro'
|
||||
import { Image } from 'astro:assets'
|
||||
import type { GlobImage } from '../types/generic'
|
||||
import { plsLoadImage } from '../utils/tools'
|
||||
|
||||
export interface Props {
|
||||
date: string
|
||||
title: string
|
||||
|
@ -24,13 +26,16 @@ const targetImagePath = `/src/assets/ta_icons/${targetImageFile}`
|
|||
const servantImagePath = `/src/assets/ta_icons/ta_servants/${servantImageFile}`
|
||||
|
||||
const formatted_date = new Date(date).toLocaleDateString('de-DE', options_date)
|
||||
const target_images = import.meta.glob<{ default: ImageMetadata }>(
|
||||
const target_images = import.meta.glob<GlobImage>(
|
||||
'/src/assets/ta_icons/*.{png,webp}'
|
||||
)
|
||||
const servant_images = import.meta.glob<{ default: ImageMetadata }>(
|
||||
const servant_images = import.meta.glob<GlobImage>(
|
||||
'/src/assets/ta_icons/ta_servants/*.{png,webp}'
|
||||
)
|
||||
|
||||
const loadedServantImage = plsLoadImage(servant_images, servantImagePath)
|
||||
const loadedTargetImage = plsLoadImage(target_images, targetImagePath)
|
||||
|
||||
let hasuser = ''
|
||||
if (user !== undefined) {
|
||||
hasuser = 'hasuser'
|
||||
|
@ -39,7 +44,7 @@ if (user !== undefined) {
|
|||
|
||||
<a href={link} target="_blank" rel="noopener noreferrer" aria-label={title}>
|
||||
<article>
|
||||
<Image src={target_images[targetImagePath]()} alt={title} class="icon" />
|
||||
<Image src={loadedTargetImage} alt={title} class="icon" />
|
||||
<div class="title">
|
||||
<h2>{title}</h2>
|
||||
</div>
|
||||
|
@ -50,7 +55,7 @@ if (user !== undefined) {
|
|||
{formatted_date}
|
||||
</p>
|
||||
<div class="expand-on-hover">
|
||||
<Image src={servant_images[servantImagePath ?? 'undefined']()} alt="" />
|
||||
<Image src={loadedServantImage} alt="" />
|
||||
<h2>{turns}</h2>
|
||||
</div>
|
||||
</article>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
import type { ImageMetadata } from 'astro'
|
||||
import { Image } from 'astro:assets'
|
||||
import type { GlobImage } from '../types/generic'
|
||||
import { plsLoadImage } from '../utils/tools'
|
||||
|
||||
export interface Props {
|
||||
title: string
|
||||
|
@ -9,19 +10,22 @@ export interface Props {
|
|||
}
|
||||
|
||||
const { imageFile, link, title } = Astro.props
|
||||
const logoAltText = `${title} Logo`
|
||||
const imagePath = `/src/assets/technologies/${imageFile}`
|
||||
const images_logos = import.meta.glob<{ default: ImageMetadata }>(
|
||||
const images_logos = import.meta.glob<GlobImage>(
|
||||
'/src/assets/technologies/*.{png,webp}'
|
||||
)
|
||||
const loadedImage = plsLoadImage(images_logos, imagePath)
|
||||
---
|
||||
|
||||
<a href={link} target="_blank" rel="noopener noreferrer" aria-label={title}>
|
||||
<article>
|
||||
<Image src={images_logos[imagePath]()} alt="" />
|
||||
<Image src={loadedImage} alt={logoAltText} />
|
||||
<div>
|
||||
<h2>{title}</h2>
|
||||
</div>
|
||||
</article>
|
||||
<span class="visually-hidden">{logoAltText}</span>
|
||||
</a>
|
||||
|
||||
<style>
|
||||
|
|
|
@ -3,7 +3,12 @@ import Navbar from '../components/navbar.astro'
|
|||
import NavbarEntry from '../components/navbarEntry.astro'
|
||||
import navdata from '../../static/data/_navdata.json'
|
||||
import embed from '../assets/embed.png'
|
||||
import "iconoir/css/iconoir.css"
|
||||
|
||||
import home from 'iconoir/icons/home.svg'
|
||||
import servants from 'iconoir/icons/task-list.svg'
|
||||
import ta_collection from 'iconoir/icons/database.svg'
|
||||
import blog from 'iconoir/icons/bookmark-book.svg'
|
||||
import about from 'iconoir/icons/mail.svg'
|
||||
|
||||
export interface Props {
|
||||
title: string
|
||||
|
@ -11,6 +16,18 @@ export interface Props {
|
|||
descriptionOverride?: string
|
||||
}
|
||||
|
||||
interface IconsLookup {
|
||||
[key: string]: ImageMetadata
|
||||
}
|
||||
|
||||
const icons: IconsLookup = {
|
||||
home: home,
|
||||
servants: servants,
|
||||
ta_collection: ta_collection,
|
||||
blog: blog,
|
||||
about: about,
|
||||
}
|
||||
|
||||
const { descriptionOverride, currentpage, title } = Astro.props
|
||||
let description
|
||||
|
||||
|
@ -24,9 +41,14 @@ let currPage = 'https://firq.dev/'
|
|||
if (currentpage !== 'home') {
|
||||
currPage += currentpage
|
||||
}
|
||||
|
||||
const mapped_navdata = navdata.map((item) => ({
|
||||
...item,
|
||||
...{ icon: icons[item.icon] },
|
||||
}))
|
||||
---
|
||||
|
||||
<!DOCTYPE html>
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>{title}</title>
|
||||
|
@ -54,8 +76,13 @@ if (currentpage !== 'home') {
|
|||
<body>
|
||||
<Navbar>
|
||||
{
|
||||
navdata.map((item) => (
|
||||
<NavbarEntry currentPage={currentpage} {...item} />
|
||||
mapped_navdata.map((item) => (
|
||||
<NavbarEntry currentPage={currentpage} navtype="desktop" {...item} slot="desktop"/>
|
||||
))
|
||||
}
|
||||
{
|
||||
mapped_navdata.map((item) => (
|
||||
<NavbarEntry currentPage={currentpage} navtype="mobile" {...item} slot="mobile"/>
|
||||
))
|
||||
}
|
||||
</Navbar>
|
||||
|
@ -80,4 +107,15 @@ if (currentpage !== 'home') {
|
|||
background: var(--c-lightgray);
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.visually-hidden {
|
||||
border: 0;
|
||||
clip: rect(0 0 0 0);
|
||||
height: 1px;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -3,23 +3,27 @@ import okita from '../assets/okita.png'
|
|||
import atlas from '../assets/atlas.png'
|
||||
import foxcat from '../assets/lurker.png'
|
||||
import padoru from '../assets/padoru.png'
|
||||
import { Image } from 'astro:assets';
|
||||
import { Image } from 'astro:assets'
|
||||
|
||||
import packagejson from '../../package.json'
|
||||
const version = packagejson.version
|
||||
const release = `https://forgejo.neshweb.net/Firq/firq-dev-website/releases/tag/${version}`
|
||||
---
|
||||
|
||||
<footer>
|
||||
<div>
|
||||
“Fate/Grand Order” is a trademark of Notes Co., Ltd. | Game Assets © Aniplex
|
||||
Inc. used under fair use. | View <a
|
||||
“Fate/Grand Order” is a trademark of Notes Co., Ltd. | Game Assets ©
|
||||
Aniplex Inc. used under fair use. | View <a
|
||||
class="linker"
|
||||
href="https://fate-go.us"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer">the official website</a
|
||||
> for more information.<br />
|
||||
I am in no way affiliated with Fate/Grand Order, Aniplex, Type Moon or Lasengle.
|
||||
I claim no ownership of any of the assets used that are created by any of the
|
||||
mentioned companies.<br />
|
||||
All of the opinions expressed are my own and may not reflect those of the asset
|
||||
providers.
|
||||
I am in no way affiliated with Fate/Grand Order, Aniplex, Type Moon or
|
||||
Lasengle. I claim no ownership of any of the assets used that are created by
|
||||
any of the mentioned companies.<br />
|
||||
All of the opinions expressed are my own and may not reflect those of the
|
||||
asset providers.
|
||||
</div>
|
||||
<br />
|
||||
<div>
|
||||
|
@ -38,8 +42,8 @@ import { Image } from 'astro:assets';
|
|||
href="https://mitsunee.com"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer">Mitsunee</a
|
||||
> for the support when building this site. I could not have done it without you
|
||||
🧡 Check out <a
|
||||
> for the support when building this site. I could not have done it without
|
||||
you 🧡 Check out <a
|
||||
href="https://fgo.mitsunee.com"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer">FGO Timers here</a
|
||||
|
@ -54,7 +58,8 @@ import { Image } from 'astro:assets';
|
|||
href="https://mastodon.neshweb.net/@neshura"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer">Neshura</a
|
||||
> for providing me with a place to develop, store and host this site. Check out
|
||||
> for providing me with a place to develop, store and host this site. Check
|
||||
out
|
||||
<a href="https://www.neshweb.net" target="_blank" rel="noopener noreferrer"
|
||||
>his site here</a
|
||||
>
|
||||
|
@ -73,6 +78,12 @@ import { Image } from 'astro:assets';
|
|||
<Image src={padoru} alt="Hashire sori yo ..." />
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<div>
|
||||
Website version: <a href={release} target="_blank" rel="noopener noreferrer"
|
||||
>{version}</a
|
||||
>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<style>
|
||||
|
|
|
@ -17,7 +17,7 @@ const description = "Error. This shouldn't happen :/"
|
|||
<Image src={sadshishou} alt="Sad Shishou" />
|
||||
<h2>Well ... you were not supposed to end up here.</h2>
|
||||
<a href="/" aria-label="Home" rel="noopener noreferrer">
|
||||
<i class="iconoir-fast-arrow-left"></i>Go back home
|
||||
<< Go back home
|
||||
</a>
|
||||
</div>
|
||||
</BaseSection>
|
||||
|
@ -50,11 +50,11 @@ const description = "Error. This shouldn't happen :/"
|
|||
text-decoration: none;
|
||||
font-size: 1.5rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
&:hover {
|
||||
color: var(--c-darkpurple);
|
||||
}
|
||||
}
|
||||
|
||||
img {
|
||||
width: 256px;
|
||||
|
|
|
@ -6,6 +6,9 @@ description: 'A handful of observations from the cernunnos fight'
|
|||
author: 'Requiem & Firq'
|
||||
tags: ['fgo', 'lostbelt 6', 'cernunnos']
|
||||
---
|
||||
import thumbnail_firq from "../../assets/thumbnails/WrHudtdfivA.jpg"
|
||||
import thumbnail_requiem from "../../assets/thumbnails/O1f-go7uJQM.jpg"
|
||||
import YoutubeEmbed from "../../components/youtubeEmbed.astro"
|
||||
|
||||
## Foreword
|
||||
|
||||
|
@ -45,3 +48,19 @@ On the first break Cernunnos skill seals your servants. This means on turn 2 you
|
|||
As an example:
|
||||
Let's say I used Alteras third skill turn 1. She has to wait 5 turns to reuse it and on turn 3 Vitch gives her 2 times cooldown reduction.
|
||||
Ideally you would be able to reuse her third skill on turn 4 but because she gets skill sealed she can't do it.
|
||||
|
||||
## Resulting runs
|
||||
|
||||
Both Requiem and I managed to get unique TAs done with Scathach (Requiem even with more servants). Those runs are embedded here:
|
||||
|
||||
### Firq
|
||||
|
||||
This run doesn't use the support Castoria provided by the game and instead makes use of Sherlock instead.
|
||||
|
||||
<YoutubeEmbed id="WrHudtdfivA" thumbnail={thumbnail_firq.src}/>
|
||||
|
||||
### Requiem
|
||||
|
||||
A frontline only run with double Castoria
|
||||
|
||||
<YoutubeEmbed id="O1f-go7uJQM" thumbnail={thumbnail_requiem.src}/>
|
|
@ -11,6 +11,7 @@ import TaSection from '../layouts/taSection.astro'
|
|||
import TaCard from '../components/taCard.astro'
|
||||
import tadata from '../../static/data/_tadata.json'
|
||||
import featured_data from '../../static/data/_featureddata.json'
|
||||
import FgotaHero from '../components/fgotaHero.astro'
|
||||
|
||||
const important_data = tadata.filter(function (el) {
|
||||
return [
|
||||
|
@ -36,6 +37,7 @@ const description = 'A collection of TAs previously completed be Firq.'
|
|||
currentpage="ta-collection"
|
||||
descriptionOverride={description}
|
||||
>
|
||||
<FgotaHero />
|
||||
<TaSection title="Notable TAs" abovetext="My most notable TAs">
|
||||
{important_data.map((item) => <TaCard {...item} />)}
|
||||
</TaSection>
|
||||
|
|
10
src/types/generic.ts
Normal file
|
@ -0,0 +1,10 @@
|
|||
export interface IconsLookup {
|
||||
[key: string]: ImageMetadata
|
||||
}
|
||||
|
||||
interface GlobGeneric<T> {
|
||||
default: T
|
||||
}
|
||||
|
||||
export type GlobAny = GlobGeneric<any>
|
||||
export type GlobImage = GlobGeneric<ImageMetadata>
|
5
src/utils/tools.ts
Normal file
|
@ -0,0 +1,5 @@
|
|||
export function plsLoadImage(record: Record<string, () => Promise<{default: ImageMetadata}>>, path: string) {
|
||||
const loadedImage = record[path]?.();
|
||||
if (!loadedImage) throw new Error("Asset was not found:" + path);
|
||||
return loadedImage;
|
||||
}
|
|
@ -2,56 +2,56 @@
|
|||
{
|
||||
"name": "The Merciless One",
|
||||
"imageFile": "merciless_one.png",
|
||||
"mlb": "true"
|
||||
"mlb": true
|
||||
},
|
||||
{
|
||||
"name": "Ox-Demon King",
|
||||
"imageFile": "ox-demon.png",
|
||||
"mlb": "true"
|
||||
"mlb": true
|
||||
},
|
||||
{
|
||||
"name": "Holy Maiden's Teachings",
|
||||
"imageFile": "maidens_teachings.png",
|
||||
"mlb": "true"
|
||||
"mlb": true
|
||||
},
|
||||
{
|
||||
"name": "Kaleidoscope",
|
||||
"imageFile": "kaleidoscope.png",
|
||||
"mlb": "true"
|
||||
"mlb": true
|
||||
},
|
||||
{
|
||||
"name": "The Black Grail",
|
||||
"imageFile": "black_grail.png",
|
||||
"mlb": "true"
|
||||
"mlb": true
|
||||
},
|
||||
{
|
||||
"name": "A Fragment Of 2030",
|
||||
"imageFile": "2030.png",
|
||||
"mlb": "true"
|
||||
"mlb": true
|
||||
},
|
||||
{
|
||||
"name": "Outrage",
|
||||
"imageFile": "outrage.png",
|
||||
"mlb": "false"
|
||||
"mlb": false
|
||||
},
|
||||
{
|
||||
"name": "Vessel of the Saint",
|
||||
"imageFile": "vessel.png",
|
||||
"mlb": "false"
|
||||
"mlb": false
|
||||
},
|
||||
{
|
||||
"name": "Devilish Bodhisattva",
|
||||
"imageFile": "devilish_bodhisattva.png",
|
||||
"mlb": "true"
|
||||
"mlb": true
|
||||
},
|
||||
{
|
||||
"name": "500-Year Obsession",
|
||||
"imageFile": "500.png",
|
||||
"mlb": "true"
|
||||
"mlb": true
|
||||
},
|
||||
{
|
||||
"name": "Prisma Cosmos",
|
||||
"imageFile": "prisma_cosmos.png",
|
||||
"mlb": "true"
|
||||
"mlb": true
|
||||
}
|
||||
]
|
||||
|
|
|
@ -2,26 +2,26 @@
|
|||
{
|
||||
"link": "/",
|
||||
"text": "Home",
|
||||
"icon": "iconoir-home"
|
||||
"icon": "home"
|
||||
},
|
||||
{
|
||||
"link": "/servants",
|
||||
"text": "Servants",
|
||||
"icon": "iconoir-task-list"
|
||||
"icon": "servants"
|
||||
},
|
||||
{
|
||||
"link": "/ta-collection",
|
||||
"text": "TA Collection",
|
||||
"icon": "iconoir-database"
|
||||
"icon": "ta_collection"
|
||||
},
|
||||
{
|
||||
"link": "/blog",
|
||||
"text": "Blog",
|
||||
"icon": "iconoir-bookmark-book"
|
||||
"icon": "blog"
|
||||
},
|
||||
{
|
||||
"link": "/about",
|
||||
"text": "About",
|
||||
"icon": "iconoir-mail"
|
||||
"icon": "about"
|
||||
}
|
||||
]
|
|
@ -1,4 +1,14 @@
|
|||
[
|
||||
{
|
||||
"name": "Scathach",
|
||||
"level": "120",
|
||||
"np": "5",
|
||||
"skills": "10 / 10 / 10",
|
||||
"ml": "10",
|
||||
"servantImageFile": "scathach_03.png",
|
||||
"bondceImageFile": "scathach.png",
|
||||
"bond10": true
|
||||
},
|
||||
{
|
||||
"name": "Skadi",
|
||||
"level": "120",
|
||||
|
@ -37,14 +47,14 @@
|
|||
"ml": "Not Unlocked",
|
||||
"servantImageFile": "koyanlight_01.png",
|
||||
"bondceImageFile": "koyanlight.png",
|
||||
"bond10": false
|
||||
"bond10": true
|
||||
},
|
||||
{
|
||||
"name": "Castoria",
|
||||
"level": "90",
|
||||
"np": "1",
|
||||
"skills": "10 / 10 / 10",
|
||||
"ml": "7",
|
||||
"ml": "10",
|
||||
"servantImageFile": "castoria_02.png",
|
||||
"bondceImageFile": "castoria.png",
|
||||
"bond10": true
|
||||
|
@ -64,10 +74,10 @@
|
|||
"level": "90",
|
||||
"np": "1",
|
||||
"skills": "10 / 10 / 10",
|
||||
"ml": "Not Unlocked",
|
||||
"ml": "1",
|
||||
"servantImageFile": "oberon_02.png",
|
||||
"bondceImageFile": "oberon.png",
|
||||
"bond10": false
|
||||
"bond10": true
|
||||
},
|
||||
{
|
||||
"name": "Merlin",
|
||||
|
@ -144,7 +154,7 @@
|
|||
"level": "90",
|
||||
"np": "1",
|
||||
"skills": "9 / 9 / 10",
|
||||
"ml": "Not Unlocked",
|
||||
"ml": "10",
|
||||
"servantImageFile": "douman_01.png",
|
||||
"bondceImageFile": "douman.png",
|
||||
"bond10": false
|
||||
|
@ -159,21 +169,41 @@
|
|||
"bondceImageFile": "himiko.png",
|
||||
"bond10": false
|
||||
},
|
||||
{
|
||||
"name": "Sherlock Holmes",
|
||||
"level": "90",
|
||||
"np": "1",
|
||||
"skills": "9 / 10 / 9",
|
||||
"ml": "Not Unlocked",
|
||||
"servantImageFile": "sherlock_03.png",
|
||||
"bondceImageFile": "sherlock.png",
|
||||
"bond10": false
|
||||
},
|
||||
{
|
||||
"name": "Nero (Bride)",
|
||||
"level": "90",
|
||||
"np": "1",
|
||||
"skills": "10 / 10 / 9 ",
|
||||
"skills": "10 / 10 / 10",
|
||||
"ml": "Not Unlocked",
|
||||
"servantImageFile": "bride_03.png",
|
||||
"bondceImageFile": "bride.png",
|
||||
"bond10": false
|
||||
},
|
||||
{
|
||||
"name": "Taigon Wang",
|
||||
"level": "70",
|
||||
"np": "1",
|
||||
"skills": "10 / 9 / 10",
|
||||
"ml": "Not Unlocked",
|
||||
"servantImageFile": "taigong_03.png",
|
||||
"bondceImageFile": "taigong.png",
|
||||
"bond10": false
|
||||
},
|
||||
{
|
||||
"name": "Nightingale (Santa)",
|
||||
"level": "80",
|
||||
"np": "5",
|
||||
"skills": "9 / 10 / 10 ",
|
||||
"skills": "9 / 10 / 9",
|
||||
"ml": "Not Unlocked",
|
||||
"servantImageFile": "santagale_01.png",
|
||||
"bondceImageFile": "santagale.png",
|
||||
|
@ -203,7 +233,7 @@
|
|||
"name": "Wu Zetian",
|
||||
"level": "60",
|
||||
"np": "1",
|
||||
"skills": "9 / 1 / 9 ",
|
||||
"skills": "10 / 9 / 10",
|
||||
"ml": "Not Unlocked",
|
||||
"servantImageFile": "wu_01.png",
|
||||
"bondceImageFile": "wu.png",
|
||||
|
@ -213,7 +243,7 @@
|
|||
"name": "Ibaraki-Douji",
|
||||
"level": "40",
|
||||
"np": "1",
|
||||
"skills": "8 / 8 / X ",
|
||||
"skills": "9 / 10 / X ",
|
||||
"ml": "Not Unlocked",
|
||||
"servantImageFile": "ibaraki_02.png",
|
||||
"bondceImageFile": "ibaraki.png",
|
||||
|
@ -233,7 +263,7 @@
|
|||
"name": "Chiron",
|
||||
"level": "60",
|
||||
"np": "1",
|
||||
"skills": "1 / 9 / 9 ",
|
||||
"skills": "1 / 10 / 10",
|
||||
"ml": "Not Unlocked",
|
||||
"servantImageFile": "chiron_01.png",
|
||||
"bondceImageFile": "chiron.png",
|
||||
|
|
|
@ -310,5 +310,21 @@
|
|||
"date": "2023-12-16",
|
||||
"servantImageFile": "shishou.png",
|
||||
"turns": "3T"
|
||||
},
|
||||
{
|
||||
"title": "Tunguska - Beast of Taming 4T (FLO)",
|
||||
"link": "https://www.youtube.com/watch?v=g6aASJeL-ao",
|
||||
"targetImageFile": "koyanskayaofdark.png",
|
||||
"date": "2023-12-26",
|
||||
"servantImageFile": "shishou.png",
|
||||
"turns": "4T"
|
||||
},
|
||||
{
|
||||
"title": "Tunguska - Beast IV:L 4T",
|
||||
"link": "https://www.youtube.com/watch?v=brz21NKMMsY",
|
||||
"targetImageFile": "beast_4_l.png",
|
||||
"date": "2023-12-31",
|
||||
"servantImageFile": "shishou.png",
|
||||
"turns": "4T"
|
||||
}
|
||||
]
|
||||
|
|