From 90f7c118b7f43088070d71e4d9a41e40546a678a Mon Sep 17 00:00:00 2001 From: Aaron Czichon Date: Wed, 13 Mar 2024 15:00:40 -0300 Subject: [PATCH 1/5] Add files via upload --- web-canada/src/resources/touch-icon.png | Bin 0 -> 3595 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 web-canada/src/resources/touch-icon.png diff --git a/web-canada/src/resources/touch-icon.png b/web-canada/src/resources/touch-icon.png new file mode 100644 index 0000000000000000000000000000000000000000..edcc3e8e3726cd032936fadc46bc2565b3447b6f GIT binary patch literal 3595 zcmb_fc{r4N`+rQsF{F&Bbd)htB(vEX3}YEfg|Ukq4IT`$H8YIr&{$GhrIBRGQnr(| zqBw*?jSd|mbgU(HkR@4~@Eg5#&hL-&zVAQpb6wB(dw=ie{@nNHUY_T=o&>UkjhxIj z82|v}>};)^#e4nQEiENpo&TWyAl{U@Bu}mjGmy)putC5)fawP!?C6vr&>5rz96S0H zGy#Bh+EiChuBZJ$BY!3xMOm{!MbKGdGys^GMX)ITp&%FG2L@3Y1mslBLnMM4KtOuv z+hgommS8Z|_Bb1KIqu-~J5AAmG7MVLewi5<{EE(H-mr!hE25d`E{zeZwtO^rq( zzM61D3CMqu^0X%-ESYQ&fk$C={4p3D!Vr%N)YaDm1N{v#dl5JcP8W^EqA_?KEY1j{ zZ=|n__;w-10oeh8M$T5&-@=Jc1Y|Im%Q8Zvc|0D9r;B2;gV0z!9*@T0&^Vlq*g}VM zjKQTu=rB0y-#u7?9Dg>I#icSCh&7KCKV}%0fE1JcR~B@Zz5QQ~8Jusm5?2i!L1Ce> zC=8lTUrX()HHYgA{!QZ_tvRm8SRmRN!{{J` zYiC73iZ!SJYJiay&cG03iMO)C8t7xOBof|QPv1gMUsvA(W37wPwfK&;V{o_>hClcn zOZ^*b`5&=HmTZv1WwKqFOxpJbl7pFCCMTH5LReagyM@IgH0>$=RK}W8YpuZF_=0R| zI2d5fX3`N~D`Z6d2Nu@)2Kt72h9pD0wWT-%ytxI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AhDg>F&UBoz()`^YOuKC3u!5 z&J$~v1zD}T`q3vWij@QpkrqK7axT`Y-QDn>lJ#|Wi#C? z(sSqZuIyL9d{T#4sYm;e2GVD|(MeEVXQQ-yEHu2Ur)@4E(mE(%=lzSDt@&GbMtGbn zt^U&mey7pl7Agfg*74Qu|Ri zDyt!}dZ22xr6%gIwwuS`2yXX-H;#@6A8iHC?c8^Imo-0;7dyb|N~6ry@6es|u$v}% zZIiIbBeX1-dLMIFc$S?CN4WmfwzTZ%6r}@;f_JPdfCJSLw;WCemCPpXyq~_yhM!n4 z_DnwfLVX^0DH|7;XTz6YndXCded+E48<^&uNY7#vL(O03DwART3vq$`(H)b|_)V3Vagb=Ta zR>QOK$fQf5AJhA?s)wb4Ls*T9_Rt?%+EXUi!y#{4^x;u&IknI&>cAYh&=RlVcy{jf ztL0{IA+AVKVs`j|u>OqM!|n2BZc;FLgsPX!^!E4&SThp1IjSwWv}0F;lpRYALhM*R znf5H48(o(~=$vpQ5lCl&UfnwW;M2AZ#pn^AKI@A#NEf+sKrucLL+NiZ`F8C3-ZDvg9X?v^-gVOG7^EcDlnR1Tl3uT2Y!D;*blI z&w7TL+y|LU*tn^L7m`KCC$fdVu6>)LNi*=od_5|x}!ZBO5;5V)IL!W zoo@@z3JQNP-PU(Xn;)gMAr$-a(}&waJ@E8S&szseKbFCu`*w^!dQj&Wn_K8y2z|xg zGjPhw^X}df1KT1&y<`P;Qt_AtT literal 0 HcmV?d00001 From 74f576d36c9c6fa337b757c8c879ffdcdd185891 Mon Sep 17 00:00:00 2001 From: Aaron Czichon Date: Wed, 13 Mar 2024 18:07:31 +0000 Subject: [PATCH 2/5] feat: added find pengiuns logo to pengiuns page --- web-canada/src/pages/pengiun.astro | 10 +++++++--- .../{touch-icon.png => find-pengiun-logo.png} | Bin 2 files changed, 7 insertions(+), 3 deletions(-) rename web-canada/src/resources/{touch-icon.png => find-pengiun-logo.png} (100%) diff --git a/web-canada/src/pages/pengiun.astro b/web-canada/src/pages/pengiun.astro index f736ae2..7ed8bac 100644 --- a/web-canada/src/pages/pengiun.astro +++ b/web-canada/src/pages/pengiun.astro @@ -1,12 +1,16 @@ --- +import { Image } from 'astro:assets'; import Layout from '../layouts/Layout.astro'; + +import pengiunLogo from '../resources/find-pengiun-logo.png'; --- - +
-

Find Pengiun

+

Find Pengiuns

- Wir sind auch etwas in den sozialen Netzen aktiv. Speziell für den Urlaub nutzen wir die Urlaubsapp Find Pengiun. + Wir sind auch etwas in den sozialen Netzen aktiv. Speziell für den Urlaub nutzen wir die Urlaubsapp Logo of the Find Pengiun app Find Pengiuns.

Dort posten wir von Tag zu Tag Kleinigkeiten in Form eines Microblogs (wie man es von Twitter, Mastodon oder Facebook gewohnt ist). diff --git a/web-canada/src/resources/touch-icon.png b/web-canada/src/resources/find-pengiun-logo.png similarity index 100% rename from web-canada/src/resources/touch-icon.png rename to web-canada/src/resources/find-pengiun-logo.png From 1db0a05f80f47bb689f7f9e1c251bac81266a258 Mon Sep 17 00:00:00 2001 From: Aaron Czichon Date: Wed, 13 Mar 2024 18:09:54 +0000 Subject: [PATCH 3/5] ci: added PR build pipeline --- .github/workflows/pr.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/pr.yaml diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml new file mode 100644 index 0000000..537c258 --- /dev/null +++ b/.github/workflows/pr.yaml @@ -0,0 +1,23 @@ +name: Build and Deploy + +on: + pull_request: + branches: + - main + paths: + - 'web-canada/*/** + +env: + MAPBOX_TOKEN: '' + +jobs: + run-build: + name: Build Assets + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 + - run: cd web-canada && npm i + - run: cd web-canada && npm run build \ No newline at end of file From f4e08517b5cc64bc720052e4f14278b67e9ab484 Mon Sep 17 00:00:00 2001 From: Aaron Czichon Date: Wed, 13 Mar 2024 18:10:22 +0000 Subject: [PATCH 4/5] ci: pipeline fix --- .github/workflows/pr.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 537c258..0aa9a48 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -5,7 +5,7 @@ on: branches: - main paths: - - 'web-canada/*/** + - 'web-canada/*/**' env: MAPBOX_TOKEN: '' From f2a28e793fef62f79df5f40c85430c1799e69127 Mon Sep 17 00:00:00 2001 From: Aaron Czichon Date: Wed, 13 Mar 2024 18:11:46 +0000 Subject: [PATCH 5/5] fix: warnings --- web-canada/src/pages/rss.xml.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/web-canada/src/pages/rss.xml.js b/web-canada/src/pages/rss.xml.js index cd9fbfa..4e41ee6 100644 --- a/web-canada/src/pages/rss.xml.js +++ b/web-canada/src/pages/rss.xml.js @@ -1,10 +1,7 @@ import { getCollection } from 'astro:content'; import rss from '@astrojs/rss'; -import sanitizeHtml from 'sanitize-html'; -import MarkdownIt from 'markdown-it'; -const parser = new MarkdownIt(); -export async function GET(context) { +export async function GET(_context) { const blog = await getCollection('blog'); return rss({ title: 'Canada - Working Holiday für 12 Monate - Blog',