Skip to content

Commit

Permalink
add in dasbboard
Browse files Browse the repository at this point in the history
  • Loading branch information
thejackshelton committed Jan 19, 2025
1 parent 203657d commit 39d7626
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 4 deletions.
14 changes: 12 additions & 2 deletions apps/website/src/components/home/background/background.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions apps/website/src/layouts/home/Dashboard.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
---

<div class="dashboard">
<h2>Dashboard</h2>
</div>

<style>
.dashboard {
margin: 0 auto;
max-width: var(--breakpoint-xl);
border-inline: 1px solid var(--neutral-950);
padding: var(--space-m);
padding-block: var(--space-xl);
}
</style>
2 changes: 1 addition & 1 deletion apps/website/src/layouts/home/Hero.astro
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ import { Icon } from "astro-icon/components";

.intro {
margin: 0 auto;
max-width: 1240px;
max-width: var(--breakpoint-xl);
border-inline: 1px solid var(--neutral-950);
padding: var(--space-m);
}
Expand Down
4 changes: 3 additions & 1 deletion apps/website/src/pages/index.astro
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
---
import Layout from "@layouts/Layout.astro";
import Dashboard from "@layouts/home/Dashboard.astro";
import Hero from "@layouts/home/Hero.astro";
---

<Layout title="Qwik + Astro">
<main>
<Hero />
<Dashboard />
</main>
</Layout>
</Layout>
4 changes: 4 additions & 0 deletions apps/website/src/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@

/* Custom pairs */
--space-s-l: clamp(1.125rem, 0.6467rem + 2.3913vw, 2.5rem);
--space-xl-3xl: clamp(3.375rem, 1.9402rem + 7.1739vw, 7.5rem);

/* Animations */
--qa-fade: cubic-bezier(0.8, -0.4, 0.5, 1);
Expand All @@ -101,6 +102,9 @@
1
);

--breakpoint-sm: 640px;
--breakpoint-xl: 1240px;

/* Shadows */
--shadow-color: 0deg 0% 0%;
--shadow-elevation-low:
Expand Down

0 comments on commit 39d7626

Please sign in to comment.