docs(websitedoc): added new website

This commit is contained in:
Leifer Mendez
2022-11-28 12:55:30 +01:00
parent 1856bd5022
commit 46c4ec7ab9
54 changed files with 7651 additions and 220 deletions

View File

@@ -0,0 +1,26 @@
import { component$, useStyles$ } from '@builder.io/qwik';
import { useLocation } from '@builder.io/qwik-city';
import { QwikLogo } from '../icons/qwik';
import styles from './header.css?inline';
export default component$(() => {
useStyles$(styles);
const { pathname } = useLocation();
return (
<header>
<a class="logo" href="/">
<QwikLogo />
</a>
<nav>
<a href="/docs" class={{ active: pathname.startsWith('/docs') }}>
Docs
</a>
<a href="/about-us" class={{ active: pathname.startsWith('/about-us') }}>
About Us
</a>
</nav>
</header>
);
});