Merge branch 'master' into next

This commit is contained in:
Daniel Bulant 2022-05-16 10:54:13 +02:00
commit 6f5dc3c9f0
12 changed files with 22 additions and 23 deletions

View file

@ -1,14 +0,0 @@
name: rebuild website daily
on:
schedule:
- cron: '0 23 * * *'
jobs:
daily-rebuild:
runs-on: ubuntu-latest
steps:
- name: send digests
uses: wei/curl@v1
with:
args: 'https://api.cloudflare.com/client/v4/pages/webhooks/deploy_hooks/${{secrets.DEPLOY_HOOK}}'

View file

@ -1,3 +1,4 @@
/*
Content-Security-Policy: default-src 'self'
X-Content-Type-Options: nosniff
X-Content-Type-Options: nosniff
cache-control: public, max-age=3600, must-revalidate

View file

@ -2,6 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<script data-goatcounter="https://danbulant.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script>
<link rel="icon" href="%svelte.assets%/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="%svelte.assets%/prism/dark.css" />

View file

@ -21,7 +21,6 @@
<div class="content">
<slot name="desc" />
</div>
<div class="bottom">Click to open in new tab</div>
</div>
{/if}
</div>
@ -31,7 +30,6 @@
<span>{tag}</span>{#if i !== tags.length - 1}<span>&middot;&ZeroWidthSpace;</span>{/if}
{/each}
</div>
<a href={link || "#"} rel="noreferrer noopener" target="_blank">View</a>
</div>
</a>

View file

@ -72,7 +72,7 @@
<h2>
I helped many projects come to life. Here are some examples:
</h2>
<Project link="https://top.gg/bot/739864286775738399" tags={["Discord bot", "Backend", "Discord.js", "Typescript"]} image="/screenshots/ignibg.png" grayscale={appTypeHover && appTypeHover === "applications"}>
<Project link="https://top.gg/bot/739864286775738399" tags={["Discord bot", "Backend", "Discord.js", "Typescript"]} image="/screenshots/ignibg.webp" grayscale={appTypeHover && appTypeHover === "applications"}>
<b>igni</b> - The universal Discord bot
<svelte:fragment slot="desc">
<p>
@ -83,7 +83,7 @@
</p>
</svelte:fragment>
</Project>
<Project tags={["Backend", "Website", "Svelte", "React", "Typescript"]} image="/screenshots/animasher.png" grayscale={appTypeHover && appTypeHover !== "websites"} extradark>
<Project tags={["Backend", "Website", "Svelte", "React", "Typescript"]} image="/screenshots/animasher.webp" grayscale={appTypeHover && appTypeHover !== "websites"} extradark>
<b>Animasher</b> - Platform for creating and sharing animations
<svelte:fragment slot="desc">
<p>
@ -97,7 +97,7 @@
</div>
<div>
<div class="pad"></div>
<Project link="https://danbulant.itch.io/heaventaker" tags={["Website", "Application", "Phaser", "Svelte"]} image="/screenshots/heaventaker.png" grayscale={appTypeHover && appTypeHover === "bots"}>
<Project link="https://danbulant.itch.io/heaventaker" tags={["Website", "Application", "Phaser", "Svelte"]} image="/screenshots/heaventaker.webp" grayscale={appTypeHover && appTypeHover === "bots"}>
<b>Heaventaker</b> - Helltaker fan game
<svelte:fragment slot="desc">
<p>
@ -108,7 +108,7 @@
</p>
</svelte:fragment>
</Project>
<Project link="https://manga.danbulant.eu" tags={["Website", "Svelte"]} image="/screenshots/mangadex.jfif" grayscale={appTypeHover && appTypeHover !== "websites"}>
<Project link="https://manga.danbulant.eu" tags={["Website", "Svelte"]} image="/screenshots/mangadex.webp" grayscale={appTypeHover && appTypeHover !== "websites"}>
<b>Mangades</b> - Mangadex downloader
<svelte:fragment slot="desc">
<p>

View file

@ -77,6 +77,8 @@
<Post {...post} bind:currentHover />
</div>
{/each}
<small>There's also RSS feed available <a href="/posts/rss.xml">here</a>.</small>
</div>
<style>
@ -118,4 +120,13 @@
.dark hr {
background: white;
}
small {
display: block;
text-align: center;
width: 100%;
margin: 30px 0;
}
small a {
color: rgb(4, 192, 192)
}
</style>

View file

@ -1,8 +1,10 @@
<script>
var name = "world";
let funny = { "amogus": "ඞ", "AMOGUS": "sussy baka", "discord": "proprietary matrix", "never gonna give you up": "never gonna let you down" };
</script>
<h1>Hello {name}</h1>
<h1>Hello {funny[name] || name}</h1>
<input type=text bind:value={name}>
@ -10,4 +12,4 @@
h1 {
padding-top: 0;
}
</style>
</style>

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB