mirror of
https://github.com/danbulant/design
synced 2026-05-19 04:08:46 +00:00
Merge branch 'master' of github.com:danbulant/design
This commit is contained in:
commit
2ee030590d
2 changed files with 5 additions and 2 deletions
|
|
@ -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" />
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue