Skip to content

Commit 09c71e3

Browse files
committed
add docs homepage
1 parent 80efb41 commit 09c71e3

File tree

4 files changed

+45
-10
lines changed

4 files changed

+45
-10
lines changed
304 KB
Loading

apps/website/src/components/router-head/router-head.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ export const RouterHead = component$(() => {
2727
{head.styles.map((s) => (
2828
<style {...s.props} dangerouslySetInnerHTML={s.style} />
2929
))}
30+
31+
<script async defer src="https://buttons.github.io/buttons.js"></script>
3032
</>
3133
);
3234
});

apps/website/src/routes/index.mdx

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
title: Qwik Storefront UI Documentation
3+
---
4+
5+
import { Link } from '@builder.io/qwik-city';
6+
import { SfIconChevronRight } from 'qwik-storefront-ui';
7+
8+
<div class="container relative mx-auto p-4 md:px-10 max-w-7xl gap-y-16 bg-inherit">
9+
<div class="grid grid-cols-2 custom-block mt-16 gap-8">
10+
<div class="col-span-2 lg:col-span-1 flex justify-center flex-col order-2 lg:order-1">
11+
<div class="flex flex-wrap mb-2">
12+
<a class="github-button"
13+
href="https://github.com/qwikifiers/qwik-storefront-ui"
14+
data-icon="octicon-star"
15+
data-size="large"
16+
data-show-count="true"
17+
aria-label="Star buttons/github-buttons on GitHub"
18+
>Star the Project</a>
19+
</div>
20+
<h1 class="text-5xl font-extrabold mt-4">Qwik Storefront UI</h1>
21+
<span class="text-xl mt-4">
22+
Fast, accessible, and fully customizable components built for
23+
e-commerce.
24+
</span>
25+
<div class="mt-8 flex items-center">
26+
<Link
27+
href="/qwik/getting-started.html"
28+
class="px-4 py-2 rounded-lg font-medium bg-gradient-to-r from-blue-500 to-indigo-500 text-black text-opacity-80 flex items-center filter hover:brightness-110 transition-all text-white text-xl"
29+
>
30+
Getting started
31+
<SfIconChevronRight />
32+
</Link>
33+
</div>
34+
</div>
35+
<div class="col-span-2 lg:col-span-1 order-1 lg:order-2">
36+
<img
37+
src="./images/docs/sfui-hero.png"
38+
class=" mx-auto max-w-xs sm:max-w-md"
39+
/>
40+
</div>
41+
42+
</div>
43+
</div>

apps/website/src/routes/index.tsx

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)