Image sizes
All checks were successful
/ get-version (push) Successful in 2s
/ astro-check (push) Successful in 18s
/ build-site (push) Successful in 1m9s
/ auto-deploy-dockge (push) Successful in 27s
/ check-tag (push) Successful in 2s
/ checking (push) Successful in 18s
/ create-release (push) Successful in 30s
/ run-unlighthouse (push) Successful in 0s
All checks were successful
/ get-version (push) Successful in 2s
/ astro-check (push) Successful in 18s
/ build-site (push) Successful in 1m9s
/ auto-deploy-dockge (push) Successful in 27s
/ check-tag (push) Successful in 2s
/ checking (push) Successful in 18s
/ create-release (push) Successful in 30s
/ run-unlighthouse (push) Successful in 0s
This commit is contained in:
parent
aaa9611b1c
commit
031d057811
5 changed files with 11 additions and 10 deletions
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@firq/fgosite",
|
"name": "@firq/fgosite",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "0.2.0-pre.16",
|
"version": "0.2.0-pre.17",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "astro dev",
|
"dev": "astro dev",
|
||||||
|
|
|
@ -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} loading={'eager'}/>
|
<Image src={loadedLogoImage} alt={logoAltText} loading={'eager'} width={100} height={100} quality={100}/>
|
||||||
<div>
|
<div>
|
||||||
<h2>{site}</h2>
|
<h2>{site}</h2>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -34,7 +34,9 @@ const loadedImage = plsLoadImage(images, imagePath)
|
||||||
<style>
|
<style>
|
||||||
.heading {
|
.heading {
|
||||||
display: flex;
|
display: flex;
|
||||||
height: 2.5rem;
|
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,8 +53,8 @@ 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);
|
||||||
padding: 0em 0.5em;
|
padding: 0em 0.25em;
|
||||||
width: max(40%, 200px);
|
width: max(40%, 128px);
|
||||||
height: auto;
|
height: auto;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
@ -66,7 +68,7 @@ const loadedImage = plsLoadImage(images, imagePath)
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
width: min(90%, 160px);
|
width: min(90%, 100px);
|
||||||
margin: 0px 0.5rem;
|
margin: 0px 0.5rem;
|
||||||
height: auto;
|
height: auto;
|
||||||
border-radius: 1rem;
|
border-radius: 1rem;
|
||||||
|
|
|
@ -30,7 +30,7 @@ if (bond10 === false) {
|
||||||
---
|
---
|
||||||
|
|
||||||
<article>
|
<article>
|
||||||
<Image src={loadedServantImage} alt={name} />
|
<Image src={loadedServantImage} width={128} height={128} alt={name} quality={100} />
|
||||||
<h2 class="subtext">
|
<h2 class="subtext">
|
||||||
Level {level}<br />
|
Level {level}<br />
|
||||||
{skills}<br />
|
{skills}<br />
|
||||||
|
|
|
@ -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} loading={'eager'}/>
|
<Image src={loadedImage} alt={title} loading={'eager'} width={100} height={100} 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>
|
||||||
|
|
Loading…
Reference in a new issue