Implement two column layout

This commit is contained in:
Rūdolfs Ošiņš
2024-01-02 11:48:19 +00:00
parent 56eefb86fa
commit 08d16dbbeb
62 changed files with 1632 additions and 1070 deletions
+28 -20
View File
@@ -1,4 +1,5 @@
<script lang="ts">
import AppLayout from "@app/App/AppLayout.svelte";
import Command from "./Command.svelte";
import ExternalLink from "./ExternalLink.svelte";
import Icon from "./Icon.svelte";
@@ -11,6 +12,11 @@
<style>
.wrapper {
gap: 1.5rem;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.container {
@@ -25,26 +31,28 @@
}
</style>
<div class="wrapper layout-centered">
<Icon name="desert" size="48" />
<div class="container">
<div class="txt-medium txt-bold">
{title}
<AppLayout>
<div class="wrapper">
<Icon name="desert" size="48" />
<div class="container">
<div class="txt-medium txt-bold">
{title}
</div>
<div class="help">
If you need help resolving this issue, copy the error message
<br />
below and send it to us on
<ExternalLink href="https://radicle.zulipchat.com">
radicle.zulipchat.com
</ExternalLink>
</div>
</div>
<div class="help">
If you need help resolving this issue, copy the error message
<br />
below and send it to us on
<ExternalLink href="https://radicle.zulipchat.com">
radicle.zulipchat.com
</ExternalLink>
</div>
</div>
<div style:max-width="25rem">
<Command
command={JSON.stringify({ errorMessage, stackTrace })}
fullWidth
showPrompt={false} />
<div style:max-width="25rem">
<Command
command={JSON.stringify({ errorMessage, stackTrace })}
fullWidth
showPrompt={false} />
</div>
</div>
</div>
</AppLayout>