Skip to content

Commit f6cc0a4

Browse files
committed
feat(website): ✨ create qwik-date official website
1 parent e0efcd4 commit f6cc0a4

File tree

16 files changed

+360
-387
lines changed

16 files changed

+360
-387
lines changed

website/public/favicon.svg

Lines changed: 10 additions & 1 deletion
Loading
-7.7 KB
Binary file not shown.
-7.57 KB
Binary file not shown.
-7.63 KB
Binary file not shown.

website/public/manifest.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"$schema": "https://json.schemastore.org/web-manifest-combined.json",
3-
"name": "qwik-project-name",
4-
"short_name": "Welcome to Qwik",
3+
"name": "qwik date",
4+
"short_name": "qwik date",
55
"start_url": ".",
66
"display": "standalone",
77
"background_color": "#fff",
8-
"description": "A Qwik project app."
9-
}
8+
"description": "An opinionated date picker component for Qwik."
9+
}

website/public/og.png

5.73 KB
Loading

website/src/components/button.tsx

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

website/src/components/customize.tsx

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

website/src/components/demo.tsx

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
import { component$ } from '@builder.io/qwik'
2+
3+
export const Demo = component$(() => {
4+
return (
5+
<section class="space-y-10">
6+
<div class="space-y-3">
7+
<h3 class="text-center font-medium">
8+
{'> '}Usage{' <'}
9+
</h3>
10+
<pre class="relative flex cursor-copy flex-col gap-3 rounded-lg bg-neutral-50 p-3 font-thin text-neutral-600 text-sm transition-all dark:bg-neutral-800 dark:text-neutral-200">
11+
<code class="pointer-events-none">
12+
{"import { CalendarInline } from 'qwik-date/inline'"}{' '}
13+
<span class="text-neutral-400 text-sm">{'//-> inline mode'}</span>
14+
</code>
15+
<code class="pointer-events-none">
16+
{"import { Calendar } from 'qwik-date'"}{' '}
17+
<span class="text-neutral-400 text-sm">{'//-> inline mode'}</span>
18+
</code>
19+
<code class="pointer-events-none">
20+
{"import { DatePicker } from 'qwik-date'"}{' '}
21+
<span class="text-neutral-400 text-sm">{'//-> popup mode'}</span>
22+
</code>
23+
<code class="pointer-events-none">
24+
{"import { DatePicker } from 'qwik-date/picker'"}{' '}
25+
<span class="text-neutral-400 text-sm">{'//-> popup mode'}</span>
26+
</code>
27+
</pre>
28+
</div>
29+
</section>
30+
)
31+
})

0 commit comments

Comments
 (0)