add day 42
This commit is contained in:
5
day42/src/layouts/404.devto
Normal file
5
day42/src/layouts/404.devto
Normal file
@@ -0,0 +1,5 @@
|
||||
<div class="grid place-items-center p-3 content-center min-h-screen">
|
||||
<h1 class="text-4xl font-bold">404</h1>
|
||||
<h2 class="text-2xl font-semibold">Looks like you're lost</h3>
|
||||
<h3 class="text-xl font-semibold">Go <a href="/" d-on:click="event.preventDefault(); renderPage('/')">home</a></h3>
|
||||
</div>
|
||||
16
day42/src/layouts/default.devto
Normal file
16
day42/src/layouts/default.devto
Normal file
@@ -0,0 +1,16 @@
|
||||
<Nav />
|
||||
<div class="container__body">
|
||||
<slot />
|
||||
</div>
|
||||
|
||||
<style>
|
||||
html,
|
||||
body {
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.container__body {
|
||||
height: calc(100vh - 73px - 0.75rem);
|
||||
width: 100vw;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user