Skip to content

Commit

Permalink
fix(site): misc layout fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cor committed Sep 26, 2023
1 parent ed1a856 commit 15d2107
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion site/src/lib/Header.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<img class="h-[32px]" src="logo.svg" alt="Union Logo" />
<nav class="flex flex-1 justify-end">
<ul class="flex gap-4 font-mono">
<li>docs</li>
<li>blog</li>
<li>docs</li>
</ul>
</nav>
</header>
5 changes: 1 addition & 4 deletions site/src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@

<div class="flex flex-col min-h-screen">
<Header />
<main class="flex-1">
<slot />
</main>

<slot />
<Footer />
</div>

Expand Down
4 changes: 2 additions & 2 deletions site/src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import Tagline from '$lib/Tagline.svelte';
</script>

<div class=" max-w-screen relative flex items-center justify-center overflow-hidden">
<main class="flex-1 max-w-screen relative flex items-center justify-center overflow-hidden">
<div class="flex flex-col justify-center items-center">
<Logo />
<Tagline />
Expand All @@ -18,7 +18,7 @@
<p class="text-xl font-semibold">Infrastructure for <span class="text-accent font-bold">shared security</span>.<p>
!-->
</div>
</div>
</main>

<style lang="postcss">
@keyframes fadeIn {
Expand Down
2 changes: 1 addition & 1 deletion site/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default {
]
},
colors: {
background: '#1b1b1d',
background: '#040404',
sub: '#252525',
accent: '#00FFF0',
primary: '#fff'
Expand Down

0 comments on commit 15d2107

Please sign in to comment.