Compare commits

...

12 Commits

Author SHA1 Message Date
7c00f2537d partenaires 2025
All checks were successful
Deploy website / build (push) Successful in 25s
Deploy website / deploy (push) Successful in 5s
2025-03-11 10:00:05 -04:00
0daf9fa907 removed extra 2024
All checks were successful
Deploy website / build (push) Successful in 24s
Deploy website / deploy (push) Successful in 4s
2025-03-10 20:46:42 -04:00
7f04368035 resultats 24-25
All checks were successful
Deploy website / build (push) Successful in 2m31s
Deploy website / deploy (push) Successful in 14s
2025-03-10 20:42:47 -04:00
85c498584f it goes to public html by default
All checks were successful
Deploy website / build (push) Successful in 23s
Deploy website / deploy (push) Successful in 18s
2024-07-15 14:00:22 -04:00
3676128a6d i guess i need the path
All checks were successful
Deploy website / build (push) Successful in 24s
Deploy website / deploy (push) Successful in 18s
2024-07-15 13:58:50 -04:00
d3b27a5dde should probably download artifacts
Some checks failed
Deploy website / build (push) Successful in 23s
Deploy website / deploy (push) Failing after 9s
2024-07-15 13:56:21 -04:00
2a9bb0a649 wrong local dir
Some checks failed
Deploy website / build (push) Successful in 23s
Deploy website / deploy (push) Failing after 0s
2024-07-15 13:53:05 -04:00
2714507f91 added dirs
Some checks failed
Deploy website / build (push) Successful in 23s
Deploy website / deploy (push) Failing after 1s
2024-07-15 13:52:09 -04:00
de643de6df change upload version
All checks were successful
Deploy website / build (push) Successful in 1m13s
Deploy website / deploy (push) Successful in 2s
2024-07-15 13:36:30 -04:00
84e438511f test without runs-on
Some checks failed
Deploy website / build (push) Failing after 5m57s
Deploy website / deploy (push) Has been skipped
2024-07-14 15:38:19 -04:00
ac37b5e869 correct folder name 2024-07-14 15:37:13 -04:00
cea66409ba add action 2024-07-14 15:35:46 -04:00
33 changed files with 88 additions and 112 deletions

View File

@ -0,0 +1,49 @@
name: Deploy website
run-name: ${{ gitea.actor }} déploie 🚀
on: [push]
jobs:
build:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm install
- name: NPM build
run: npm run build
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: build
path: 'build/'
overwrite: true
deploy:
needs: build
environment:
name: pls5618.com
url: https://pls5618.com
steps:
- name: Download Artifacts
uses: actions/download-artifact@v3
with:
name: build
path: 'build/'
- name: FTP Deploy
uses: SamKirkland/FTP-Deploy-Action@v4.3.5
with:
server: pls5618.com
username: ${{ secrets.ftp_user }}
password: ${{ secrets.ftp_password }}
local-dir: ./build/

4
src/app.d.ts vendored
View File

@ -26,6 +26,10 @@ declare global {
const out: string; const out: string;
export default out; export default out;
} }
declare module '*.png?background=transparent&webp' {
const out: string;
export default out;
}
} }
} }

View File

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 50 KiB

View File

Before

Width:  |  Height:  |  Size: 151 KiB

After

Width:  |  Height:  |  Size: 151 KiB

View File

Before

Width:  |  Height:  |  Size: 96 KiB

After

Width:  |  Height:  |  Size: 96 KiB

View File

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 51 KiB

View File

Before

Width:  |  Height:  |  Size: 197 KiB

After

Width:  |  Height:  |  Size: 197 KiB

View File

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

Before

Width:  |  Height:  |  Size: 9.6 KiB

After

Width:  |  Height:  |  Size: 9.6 KiB

View File

Before

Width:  |  Height:  |  Size: 1.6 MiB

After

Width:  |  Height:  |  Size: 1.6 MiB

View File

Before

Width:  |  Height:  |  Size: 8.0 KiB

After

Width:  |  Height:  |  Size: 8.0 KiB

View File

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 49 KiB

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

Before

Width:  |  Height:  |  Size: 774 KiB

After

Width:  |  Height:  |  Size: 774 KiB

View File

Before

Width:  |  Height:  |  Size: 118 KiB

After

Width:  |  Height:  |  Size: 118 KiB

View File

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View File

Before

Width:  |  Height:  |  Size: 91 KiB

After

Width:  |  Height:  |  Size: 91 KiB

View File

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 80 KiB

View File

Before

Width:  |  Height:  |  Size: 9.6 KiB

After

Width:  |  Height:  |  Size: 9.6 KiB

View File

Before

Width:  |  Height:  |  Size: 136 KiB

After

Width:  |  Height:  |  Size: 136 KiB

View File

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 76 KiB

View File

Before

Width:  |  Height:  |  Size: 372 KiB

After

Width:  |  Height:  |  Size: 372 KiB

View File

Before

Width:  |  Height:  |  Size: 142 KiB

After

Width:  |  Height:  |  Size: 142 KiB

View File

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 35 KiB

View File

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 54 KiB

View File

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 198 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 993 KiB

View File

@ -1,121 +1,22 @@
<script lang="ts"> <script lang="ts">
import assnat from '$lib/assets/partenaires/assnat.png?width=1100&fit=contain&background=transparent&webp'; import or from '$lib/assets/partenaires/or-2025.png?background=transparent&webp';
import atocas from '$lib/assets/partenaires/atocas.png?height=600&width=600&fit=contain&background=transparent&webp'; import argent from '$lib/assets/partenaires/argent-2025.png?background=transparent&webp';
import belleripe from '$lib/assets/partenaires/belleripe.jpeg?height=600&width=600&fit=contain&background=transparent&webp'; import bronze from '$lib/assets/partenaires/bronze-2025.png?background=transparent&webp';
import boisdaction from '$lib/assets/partenaires/boisdaction.png?height=600&width=600&fit=contain&background=transparent&webp';
import bombardier from '$lib/assets/partenaires/bombardier.png?height=600&width=600&fit=contain&background=transparent&webp';
import carbotech from '$lib/assets/partenaires/carbotech.png?height=600&width=600&fit=contain&background=transparent&webp';
import fermeforestiere from '$lib/assets/partenaires/fermeforestiere.jpeg?height=600&width=600&fit=contain&background=transparent&webp';
import festivalduboeuf from '$lib/assets/partenaires/festivalduboeuf.png?height=600&width=600&fit=contain&background=transparent&webp';
import festo from '$lib/assets/partenaires/festo.png?height=600&width=600&fit=contain&background=transparent&webp';
import fruitdor from '$lib/assets/partenaires/fruitdor.jpeg?height=600&width=600&fit=contain&background=transparent&webp';
import fusee from '$lib/assets/partenaires/fusee.jpg?height=600&width=600&fit=contain&background=transparent&webp';
import homedepot from '$lib/assets/partenaires/homedepot.png?height=600&width=600&fit=contain&background=transparent&webp';
import hydroquebec from '$lib/assets/partenaires/hydroquebec.png?width=1100&fit=contain&background=transparent&webp';
import lumicom from '$lib/assets/partenaires/lumicom.png?height=600&width=600&fit=contain&background=transparent&webp';
import machinex from '$lib/assets/partenaires/machinex.png?height=600&width=600&fit=contain&background=transparent&webp';
import mcwane from '$lib/assets/partenaires/mcwane.jpeg?height=600&width=600&fit=contain&background=transparent&webp';
import metalpless from '$lib/assets/partenaires/metalpless.jpg?height=600&width=600&fit=contain&background=transparent&webp';
import mrc from '$lib/assets/partenaires/mrc.png?height=600&width=600&fit=contain&background=transparent&webp';
import primewood from '$lib/assets/partenaires/primewood.png?height=600&width=600&fit=contain&background=transparent&webp';
import robovic from '$lib/assets/partenaires/robovic.png?height=600&width=600&fit=contain&background=transparent&webp';
import rtaschereau from '$lib/assets/partenaires/rtaschereau.jpg?height=600&width=600&fit=contain&background=transparent&webp';
import usnr from '$lib/assets/partenaires/usnr.png?height=600&width=600&fit=contain&background=transparent&webp';
import vexco from '$lib/assets/partenaires/vexco.png?height=600&width=600&fit=contain&background=transparent&webp';
import ville from '$lib/assets/partenaires/ville.png?height=600&width=600&fit=contain&background=transparent&webp';
</script> </script>
<div class="container"> <div class="container">
<article> <img src={or} alt="Partenaires Or" />
<header>Platine</header> <img src={argent} alt="Partenaires Argent" />
<div class="partenaires" id="platine"> <img src={bronze} alt="Partenaires Bronze" />
<img
src={assnat}
alt="Assemblée Nationale"
style="padding-inline: 2rem; padding-bottom: 2rem"
/>
<img src={hydroquebec} alt="Hydro Québec" />
</div>
</article>
<article>
<header>Or</header>
<div class="partenaires" id="or">
<img src={atocas} alt="Atocas de l'érable" />
<img src={belleripe} alt="Belle-Ripe" />
<img src={boisdaction} alt="Boisdaction" />
<img src={bombardier} alt="Fondation J Armand Bombardier" />
<img src={festo} alt="Festo" />
<img src={mcwane} alt="McWane Canada" />
<img src={metalpless} alt="Metal Pless" />
<img src={primewood} alt="Primewood" />
<img src={usnr} alt="USNR" />
<img src={ville} alt="Ville de Plessisville" />
</div>
</article>
<article>
<header>Argent</header>
<div class="partenaires" id="argent">
<img src={carbotech} alt="Carbotech" />
<img src={fermeforestiere} alt="Ferme Forestière R Marcoux" />
<img src={festivalduboeuf} alt="Festival du boeuf" />
<img src={fruitdor} alt="Fruit d'or" />
<img src={lumicom} alt="Lumicom" />
<img src={machinex} alt="Machinex" />
<img src={mrc} alt="MRC de l'érable" />
<img src={rtaschereau} alt="Richard Taschereau" />
<img src={robovic} alt="Robovic" />
<img src={fusee} alt="Rotisserie Fusée" />
</div>
</article>
<article>
<header>Bronze</header>
<div class="partenaires" id="bronze">
<img src={homedepot} alt="Home Dépot" />
<img src={vexco} alt="Vexco" />
</div>
</article>
</div> </div>
<style lang="scss"> <style lang="scss">
article { .container {
background-color: white; margin-top: 2rem;
// background-color: var(--partenaires-background); display: flex;
border-radius: calc(var(--border-radius) + 3px) calc(var(--border-radius) + 3px) flex-flow: column nowrap;
var(--border-radius) var(--border-radius); width: fit-content;
} align-items: center;
gap: 2rem;
.partenaires {
display: grid;
gap: 1.5rem;
align-items: stretch;
justify-items: stretch;
&#platine {
grid-template-columns: repeat(1, 1fr);
}
&#or {
grid-template-columns: repeat(2, 1fr);
}
&#argent {
grid-template-columns: repeat(3, 1fr);
}
&#bronze {
grid-template-columns: repeat(4, 1fr);
}
@media (min-width: 576px) {
&#platine {
grid-template-columns: repeat(1, 1fr);
}
&#or {
grid-template-columns: repeat(3, 1fr);
}
&#argent {
grid-template-columns: repeat(4, 1fr);
}
&#bronze {
grid-template-columns: repeat(5, 1fr);
}
}
} }
</style> </style>

View File

@ -1,4 +1,6 @@
<script lang="ts"> <script lang="ts">
import img2025 from '$lib/assets/resultats/2025.jpg?width=600&webp';
import img2024 from '$lib/assets/resultats/2024.jpg?width=600&webp';
import img2023 from '$lib/assets/resultats/2023.jpg?width=600&webp'; import img2023 from '$lib/assets/resultats/2023.jpg?width=600&webp';
import img2022 from '$lib/assets/resultats/2022.jpg?width=600&webp'; import img2022 from '$lib/assets/resultats/2022.jpg?width=600&webp';
import img2020 from '$lib/assets/resultats/2020.jpg?width=600&webp'; import img2020 from '$lib/assets/resultats/2020.jpg?width=600&webp';
@ -11,6 +13,26 @@
import Resultat from './Resultat.svelte'; import Resultat from './Resultat.svelte';
const resultats: Res[] = [ const resultats: Res[] = [
{
saison: '2025',
image: img2025,
events: [
{
nom: 'Festival de Robotique Regional',
resultats: ['16e en qualification', 'Alliance finaliste']
}
]
},
{
saison: '2024',
image: img2024,
events: [
{
nom: 'Festival de Robotique Regional',
resultats: ['6e en qualification', 'Prix de la durabilité']
}
]
},
{ {
saison: '2023', saison: '2023',
image: img2023, image: img2023,