diff --git a/apps/website/src/components/home/js-chunk/js-chunk.tsx b/apps/website/src/components/home/js-chunk/js-chunk.tsx index b43d7e5..50e6eae 100644 --- a/apps/website/src/components/home/js-chunk/js-chunk.tsx +++ b/apps/website/src/components/home/js-chunk/js-chunk.tsx @@ -3,24 +3,23 @@ import { component$, useStylesScoped$ } from "@builder.io/qwik"; export const JSChunk = component$(() => { useStylesScoped$( ` - div { - width: 30px; - height: 30px; - color: var(--off-black); - background: #F1DC4E; - font-family: system-ui, sans-serif; - font-weight: 700; - display: flex; - align-items: end; - justify-content: end; - padding-right: 3px; - } + div { + width: 30px; + height: 30px; + color: var(--off-black); + background: #F1DC4E; + font-family: system-ui, sans-serif; + font-weight: 700; + display: flex; + align-items: end; + justify-content: end; + padding-right: 3px; + } - span { - display: block; - } - - `, + span { + display: block; + } + `, ); return ( diff --git a/apps/website/src/pages/index.astro b/apps/website/src/pages/index.astro index e86e77d..89bb8ac 100644 --- a/apps/website/src/pages/index.astro +++ b/apps/website/src/pages/index.astro @@ -1,6 +1,6 @@ --- -import Layout from "src/layouts/Layout.astro"; -import Hero from "src/layouts/home/Hero.astro"; +import Layout from "@layouts/Layout.astro"; +import Hero from "@layouts/home/Hero.astro"; --- diff --git a/apps/website/tsconfig.json b/apps/website/tsconfig.json index b1c600a..fcd2713 100644 --- a/apps/website/tsconfig.json +++ b/apps/website/tsconfig.json @@ -5,7 +5,8 @@ "paths": { "@components/*": ["./src/components/*"], "@icons/*": ["./src/icons/*"], - "@assets/*": ["./src/assets/*"] + "@assets/*": ["./src/assets/*"], + "@layouts/*": ["./src/layouts/*"] }, "jsx": "react-jsx",