aboutsummaryrefslogtreecommitdiff
path: root/apps/website/src
diff options
context:
space:
mode:
authorLynithDev <61880709+LynithDev@users.noreply.github.com>2023-10-15 22:02:04 +0200
committerLynithDev <61880709+LynithDev@users.noreply.github.com>2023-10-15 22:02:04 +0200
commit33197b013f3c643d6c6dada41470459d2f90b4c0 (patch)
treec7dcf86ca5e514a94f143cc7536c37da8e281fc1 /apps/website/src
parent5b04166cd02bd7a7aa18e586fff75911d53011b6 (diff)
downloadNexus-33197b013f3c643d6c6dada41470459d2f90b4c0.tar.gz
Nexus-33197b013f3c643d6c6dada41470459d2f90b4c0.tar.bz2
Nexus-33197b013f3c643d6c6dada41470459d2f90b4c0.zip
Add nesting
Diffstat (limited to 'apps/website/src')
-rw-r--r--apps/website/src/components/base/Header.astro11
-rw-r--r--apps/website/src/pages/index.astro6
2 files changed, 13 insertions, 4 deletions
diff --git a/apps/website/src/components/base/Header.astro b/apps/website/src/components/base/Header.astro
index ad8267b..1201798 100644
--- a/apps/website/src/components/base/Header.astro
+++ b/apps/website/src/components/base/Header.astro
@@ -7,7 +7,7 @@ const sizes = {
"md": "h3",
"sm": "h4",
"xs": "h5",
- "xxs": "h6"
+ "xxs": "h6"
};
type Headers = "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
@@ -54,4 +54,11 @@ const Element = sizes[size] as any; // Unfortunately gotta do this
font-size: theme("fontSize.body-sm");
font-weight: 500;
}
-</style> \ No newline at end of file
+
+ h1, h2, h3, h4, h5, h6 {
+ & :global(b) {
+ @apply text-blue-500;
+ font-weight: inherit;
+ }
+ }
+</style>
diff --git a/apps/website/src/pages/index.astro b/apps/website/src/pages/index.astro
index a484172..837f866 100644
--- a/apps/website/src/pages/index.astro
+++ b/apps/website/src/pages/index.astro
@@ -5,6 +5,8 @@ import Logo from "@components/logos/Logo.astro";
---
<Layout>
- <Header size="xl">test</Header>
- <Header size="md">Test</Header>
+ <section>
+ <Logo size={44} logo="oneconfig.minimal" />
+ <Header size="xl">Meet <b>OneConfig</b>, the library for <b>everyone</b>.</Header>
+ </section>
</Layout>