Merge branch 'master' of github.com:danbulant/design

This commit is contained in:
Daniel Bulant 2022-05-16 09:38:19 +02:00
commit 2ee030590d
2 changed files with 5 additions and 2 deletions

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

@ -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>