|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 9.0 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 8.5 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 8.5 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.6 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 7.3 KiB |
|
Before Width: | Height: | Size: 7.1 KiB After Width: | Height: | Size: 8.2 KiB |
@ -0,0 +1,13 @@ |
|||||||
|
<script lang="ts"> |
||||||
|
export let no_wrap: boolean = false; |
||||||
|
</script> |
||||||
|
|
||||||
|
<div class="mx-auto lg:container"> |
||||||
|
{#if no_wrap} |
||||||
|
<slot /> |
||||||
|
{:else} |
||||||
|
<div class="px-3"> |
||||||
|
<slot /> |
||||||
|
</div> |
||||||
|
{/if} |
||||||
|
</div> |
||||||
@ -1,23 +1,27 @@ |
|||||||
<script lang="ts"> |
<script lang="ts"> |
||||||
|
import Container from "./Container.svelte"; |
||||||
|
|
||||||
export let nip07plugin: boolean = false; |
export let nip07plugin: boolean = false; |
||||||
</script> |
</script> |
||||||
|
|
||||||
<div class="bg-neutral"> |
<div class="bg-base-400"> |
||||||
<div class="mx-auto lg:container bg-neutral"> |
<Container> |
||||||
<div class="navbar"> |
<div class="navbar"> |
||||||
<div class="flex-1"> |
<div class="navbar-start"></div> |
||||||
<h4> |
<div class="navbar-center"> |
||||||
<span class="primary">git</span> |
<h4 class="align-middle text-sm font-mono"> |
||||||
<span class="">together</span> |
<span class="text-primary">git</span><span class="text-primary" |
||||||
<span class="">.xyz</span> |
>workshop</span |
||||||
|
><span class="">.net</span> |
||||||
</h4> |
</h4> |
||||||
</div> |
</div> |
||||||
<div class="flex-none gap-4"> |
<div class="navbar-end gap-4"> |
||||||
{#if !nip07plugin} |
{#if !nip07plugin} |
||||||
<div class="btn btn-primary normal-case">Sign up</div> |
<div class="btn normal-case btn-sm btn-ghost">Sign up</div> |
||||||
|
{:else} |
||||||
|
<button class="btn normal-case btn-sm btn-ghost">Login</button> |
||||||
{/if} |
{/if} |
||||||
<button class="btn btn-outline normal-case">Login</button> |
|
||||||
</div> |
|
||||||
</div> |
</div> |
||||||
</div> |
</div> |
||||||
|
</Container> |
||||||
</div> |
</div> |
||||||
|
|||||||
@ -1,15 +1,21 @@ |
|||||||
/** @type {import('tailwindcss').Config} */ |
/** @type {import('tailwindcss').Config} */ |
||||||
|
|
||||||
|
|
||||||
export default { |
export default { |
||||||
content: [ './src/**/*.{svelte,js,ts}' ], |
content: ['./src/**/*.{svelte,js,ts}'], |
||||||
theme: { |
theme: { |
||||||
extend: {}, |
extend: { |
||||||
|
colors: { |
||||||
|
"base-400": "#16171e", |
||||||
|
}, |
||||||
|
}, |
||||||
}, |
}, |
||||||
plugins: [ |
plugins: [ |
||||||
require('@tailwindcss/typography'), |
require('@tailwindcss/typography'), |
||||||
require('daisyui'), |
require('daisyui'), |
||||||
], |
], |
||||||
daisyui: { |
daisyui: { |
||||||
themes: [ 'dracula'], |
themes: ['dracula'], |
||||||
} |
} |
||||||
} |
} |
||||||
|
|
||||||
|
|||||||