Merge branch 'main' of https://git.hostux.fr/louis/homepage
All checks were successful
/ build (push) Successful in 20s
/ deploy (push) Successful in 15s

This commit is contained in:
lgpilot 2024-02-08 15:26:31 +01:00
commit 84f4b39d5d
2 changed files with 55 additions and 3 deletions

View file

@ -0,0 +1,39 @@
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: docker
container:
image: node:16-bullseye # Required by actions/checkout and actions/upload-artifact
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: npm install
- name: Build
run: npx @11ty/eleventy
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: dist
path: dist/
deploy:
needs: [build]
runs-on: docker
container:
image: node:16-bullseye # Required by actions/download-artifact
steps:
- uses: actions/download-artifact@v3
with:
name: dist
- name: rsync deployment
uses: https://git.hostux.fr/Hostux/rsync-deployments@6.0.0
with:
switches: -az --no-o --no-g --no-devices --no-specials --delete --progress --checksum
path: .
remote_path: ${{ secrets.DEPLOY_PATH }}
remote_host: ${{ secrets.DEPLOY_HOST }}
remote_user: ${{ secrets.DEPLOY_USER }}
remote_key: ${{ secrets.DEPLOY_KEY }}

View file

@ -112,13 +112,18 @@ h2#subtitle > span > span {
position: absolute; position: absolute;
left: 1rem; left: 1rem;
bottom: 0; bottom: 0;
height: min(80vh, 100vh - 10.5rem);
height: 80vh;
min-height: 15rem; min-height: 15rem;
width: auto; max-height: calc(100vh - 10.5rem);
max-width: calc(100vw - 15em);
object-fit: contain;
object-position: left bottom;
} }
i svg { i svg {
height: 2em; height: 2.5em;
color: #131721; color: #131721;
fill: currentColor; fill: currentColor;
} }
@ -142,8 +147,16 @@ ul#contact {
} }
#photo { #photo {
max-height: 50vh; max-height: 50vh;
max-width: none;
} }
ul#contact { ul#contact {
flex-direction: column; flex-direction: column;
} }
}
@media (pointer:coarse) {
i svg {
height: 3em;
padding: .5em 0;
}
} }