Update design
Browse files
docs/src/components/UsecaseItem.astro
CHANGED
@@ -8,11 +8,11 @@ const { title, description } = Astro.props;
|
|
8 |
---
|
9 |
|
10 |
<div class="flex flex-col gap-4">
|
11 |
-
<span class="border-b-2 border-b-
|
12 |
-
<h3 class="text-3xl font-bold text-
|
13 |
{ title }
|
14 |
</h3>
|
15 |
-
<p class="text-xl text-
|
16 |
{ description }
|
17 |
</p>
|
18 |
</div>
|
|
|
8 |
---
|
9 |
|
10 |
<div class="flex flex-col gap-4">
|
11 |
+
<span class="border-b-2 border-b-black block w-[50px]"></span>
|
12 |
+
<h3 class="text-3xl font-bold text-black">
|
13 |
{ title }
|
14 |
</h3>
|
15 |
+
<p class="text-xl text-black">
|
16 |
{ description }
|
17 |
</p>
|
18 |
</div>
|
docs/src/components/examples/ExampleButton.tsx
CHANGED
@@ -9,7 +9,7 @@ export function ExampleButton(props: ExampleButtonProps) {
|
|
9 |
return (
|
10 |
<button
|
11 |
onClick={onClick}
|
12 |
-
className="bg-transparent rounded-xl py-2 px-4 font-medium text-
|
13 |
{ text }
|
14 |
</button>
|
15 |
);
|
|
|
9 |
return (
|
10 |
<button
|
11 |
onClick={onClick}
|
12 |
+
className="bg-transparent rounded-xl py-2 px-4 font-medium text-black border-2 border-black text-lg hover:bg-yellow-300 hover:text-black transition-colors duration-100">
|
13 |
{ text }
|
14 |
</button>
|
15 |
);
|
docs/src/layouts/DocsLayout.astro
ADDED
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
import BaseLayout from "./BaseLayout.astro";
|
3 |
+
import Container from "../components/Container.astro";
|
4 |
+
|
5 |
+
const { frontmatter = {} } = Astro.props;
|
6 |
+
const { title, description, noIndex = false } = frontmatter;
|
7 |
+
---
|
8 |
+
|
9 |
+
<BaseLayout {...frontmatter}>
|
10 |
+
<header
|
11 |
+
class="sticky top-0 z-50 flex flex-wrap items-center justify-between bg-white px-4 py-5 shadow-md shadow-slate-900/5 transition duration-500 dark:shadow-none sm:px-6 lg:px-8 dark:bg-transparent">
|
12 |
+
<div class="mr-6 flex lg:hidden">
|
13 |
+
<button type="button" class="relative" aria-label="Open navigation">
|
14 |
+
driver.js
|
15 |
+
</button>
|
16 |
+
<div
|
17 |
+
style="position:fixed;top:1px;left:1px;width:1px;height:0;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0;display:none"></div>
|
18 |
+
</div>
|
19 |
+
<div class="relative flex flex-grow basis-0 items-center"><a aria-label="Home page" href="/">
|
20 |
+
<svg aria-hidden="true" viewBox="0 0 36 36" fill="none" class="h-9 w-9 lg:hidden">
|
21 |
+
<g fill="none" stroke="#38BDF8" stroke-linejoin="round" stroke-width="3">
|
22 |
+
<path d="M10.308 5L18 17.5 10.308 30 2.615 17.5 10.308 5z"></path>
|
23 |
+
<path d="M18 17.5L10.308 5h15.144l7.933 12.5M18 17.5h15.385L25.452 30H10.308L18 17.5z"></path>
|
24 |
+
</g>
|
25 |
+
</svg>
|
26 |
+
<svg aria-hidden="true" viewBox="0 0 227 36" fill="none"
|
27 |
+
class="hidden h-9 w-auto fill-slate-700 dark:fill-sky-100 lg:block">
|
28 |
+
<g fill="none" stroke="#38BDF8" stroke-linejoin="round" stroke-width="3">
|
29 |
+
<path d="M10.308 5L18 17.5 10.308 30 2.615 17.5 10.308 5z"></path>
|
30 |
+
<path d="M18 17.5L10.308 5h15.144l7.933 12.5M18 17.5h15.385L25.452 30H10.308L18 17.5z"></path>
|
31 |
+
</g>
|
32 |
+
<path
|
33 |
+
d="M55.96 26.2c-1.027 0-1.973-.173-2.84-.52a6.96 6.96 0 01-2.24-1.5 6.979 6.979 0 01-1.46-2.3c-.347-.893-.52-1.867-.52-2.92 0-1.027.18-1.973.54-2.84a6.71 6.71 0 011.52-2.28 6.922 6.922 0 012.3-1.52 7.48 7.48 0 012.86-.54c.667 0 1.32.093 1.96.28a6.12 6.12 0 011.78.78 5.7 5.7 0 011.4 1.24l-1.88 2.08a6.272 6.272 0 00-1-.82 3.728 3.728 0 00-1.08-.54 3.542 3.542 0 00-1.2-.2 4.14 4.14 0 00-1.62.32 3.991 3.991 0 00-1.3.9 4.197 4.197 0 00-.9 1.38 4.755 4.755 0 00-.32 1.78c0 .667.107 1.273.32 1.82.213.533.513.993.9 1.38.387.373.847.667 1.38.88.547.2 1.147.3 1.8.3a4.345 4.345 0 002.34-.68c.347-.213.653-.46.92-.74l1.46 2.34c-.32.36-.753.687-1.3.98a7.784 7.784 0 01-1.8.7c-.667.16-1.34.24-2.02.24zm6.99-.2l5.48-14h2.68l5.46 14h-3.08l-2.82-7.54c-.08-.213-.18-.487-.3-.82a922.595 922.595 0 00-.68-2.12 13.694 13.694 0 01-.24-.86l.54-.02c-.08.307-.174.627-.28.96-.094.32-.194.653-.3 1-.108.333-.22.66-.34.98-.12.32-.234.633-.34.94L65.91 26h-2.96zm2.54-2.94l.98-2.42h6.42l1 2.42h-8.4zm19.794 3.14c-1.026 0-1.973-.173-2.84-.52a6.96 6.96 0 01-2.24-1.5 6.98 6.98 0 01-1.46-2.3c-.346-.893-.52-1.867-.52-2.92 0-1.027.18-1.973.54-2.84a6.71 6.71 0 011.52-2.28 6.923 6.923 0 012.3-1.52 7.48 7.48 0 012.86-.54c.667 0 1.32.093 1.96.28a6.118 6.118 0 011.78.78c.547.347 1.014.76 1.4 1.24l-1.88 2.08a6.272 6.272 0 00-1-.82 3.728 3.728 0 00-1.08-.54 3.542 3.542 0 00-1.2-.2 4.14 4.14 0 00-1.62.32 3.992 3.992 0 00-1.3.9 4.197 4.197 0 00-.9 1.38 4.755 4.755 0 00-.32 1.78c0 .667.107 1.273.32 1.82.214.533.514.993.9 1.38.387.373.847.667 1.38.88.547.2 1.147.3 1.8.3a4.345 4.345 0 002.34-.68 4.53 4.53 0 00.92-.74l1.46 2.34c-.32.36-.753.687-1.3.98a7.784 7.784 0 01-1.8.7c-.666.16-1.34.24-2.02.24zm17.469-.2V12h3v14h-3zm-8.82 0V12h3v14h-3zm1.2-5.62l.02-2.72h9.14v2.72h-9.16zM110.402 26V12h9.46v2.64h-6.54v8.72h6.68V26h-9.6zm1.4-5.86v-2.56h7.1v2.56h-7.1zM122.437 26l5.48-14h2.68l5.46 14h-3.08l-2.82-7.54c-.08-.213-.18-.487-.3-.82l-.34-1.06-.34-1.06a14.73 14.73 0 01-.24-.86l.54-.02c-.08.307-.173.627-.28.96a63.3 63.3 0 01-.3 1c-.106.333-.22.66-.34.98-.12.32-.233.633-.34.94l-2.82 7.48h-2.96zm2.54-2.94l.98-2.42h6.42l1 2.42h-8.4zM139.023 26V12h5.74c1.027 0 1.953.173 2.78.52.84.333 1.56.813 2.16 1.44a6.097 6.097 0 011.4 2.2c.32.853.48 1.8.48 2.84 0 1.027-.16 1.973-.48 2.84a6.438 6.438 0 01-1.38 2.22 6.394 6.394 0 01-2.16 1.44c-.84.333-1.773.5-2.8.5h-5.74zm3-2.18l-.32-.52h2.96c.6 0 1.14-.1 1.62-.3.48-.213.887-.5 1.22-.86.347-.373.607-.827.78-1.36.173-.533.26-1.127.26-1.78a5.56 5.56 0 00-.26-1.76 3.595 3.595 0 00-.78-1.36 3.323 3.323 0 00-1.22-.86 3.948 3.948 0 00-1.62-.32h-3.02l.38-.48v9.6zM158.671 26l-5.58-14h3.18l2.92 7.58c.16.413.293.78.4 1.1.12.307.22.6.3.88.093.267.18.533.26.8.08.253.16.533.24.84l-.58.02c.107-.413.213-.793.32-1.14.107-.36.227-.733.36-1.12.133-.387.3-.847.5-1.38l2.76-7.58h3.16l-5.62 14h-2.62zm8.114 0l5.48-14h2.68l5.46 14h-3.08l-2.82-7.54c-.08-.213-.18-.487-.3-.82l-.34-1.06-.34-1.06a13.293 13.293 0 01-.24-.86l.54-.02c-.08.307-.173.627-.28.96a63.3 63.3 0 01-.3 1c-.107.333-.22.66-.34.98-.12.32-.233.633-.34.94l-2.82 7.48h-2.96zm2.54-2.94l.98-2.42h6.42l1 2.42h-8.4zM183.371 26V12h2.68l7.74 10.46h-.56c-.054-.413-.1-.813-.14-1.2l-.12-1.2c-.027-.413-.054-.833-.08-1.26-.014-.44-.027-.9-.04-1.38a56.825 56.825 0 01-.02-1.6V12h2.94v14h-2.72l-7.9-10.56.76.02c.066.693.12 1.287.16 1.78a36.623 36.623 0 01.18 2.2c.026.267.04.52.04.76.013.24.02.493.02.76V26h-2.94zm23.175.2c-1.027 0-1.973-.173-2.84-.52-.853-.36-1.6-.86-2.24-1.5a6.979 6.979 0 01-1.46-2.3c-.347-.893-.52-1.867-.52-2.92 0-1.027.18-1.973.54-2.84a6.71 6.71 0 011.52-2.28 6.919 6.919 0 012.3-1.52 7.48 7.48 0 012.86-.54c.667 0 1.32.093 1.96.28a6.12 6.12 0 011.78.78 5.7 5.7 0 011.4 1.24l-1.88 2.08a6.259 6.259 0 00-1-.82 3.721 3.721 0 00-1.08-.54 3.54 3.54 0 00-1.2-.2 4.14 4.14 0 00-1.62.32 3.991 3.991 0 00-1.3.9 4.206 4.206 0 00-.9 1.38 4.76 4.76 0 00-.32 1.78c0 .667.107 1.273.32 1.82.213.533.513.993.9 1.38.387.373.847.667 1.38.88.547.2 1.147.3 1.8.3a4.35 4.35 0 002.34-.68c.347-.213.653-.46.92-.74l1.46 2.34c-.32.36-.753.687-1.3.98a7.773 7.773 0 01-1.8.7c-.667.16-1.34.24-2.02.24zm8.649-.2V12h9.46v2.64h-6.54v8.72h6.68V26h-9.6zm1.4-5.86v-2.56h7.1v2.56h-7.1z"></path>
|
34 |
+
</svg>
|
35 |
+
</a></div>
|
36 |
+
<div class="-my-5 mr-6 sm:mr-8 md:mr-0">
|
37 |
+
<button type="button"
|
38 |
+
class="group flex h-6 w-6 items-center justify-center sm:justify-start md:h-auto md:w-80 md:flex-none md:rounded-lg md:py-2.5 md:pl-4 md:pr-3.5 md:text-sm md:ring-1 md:ring-slate-200 md:hover:ring-slate-300 dark:md:bg-slate-800/75 dark:md:ring-inset dark:md:ring-white/5 dark:md:hover:bg-slate-700/40 dark:md:hover:ring-slate-500 lg:w-96">
|
39 |
+
<svg aria-hidden="true" viewBox="0 0 20 20"
|
40 |
+
class="h-5 w-5 flex-none fill-slate-400 group-hover:fill-slate-500 dark:fill-slate-500 md:group-hover:fill-slate-400">
|
41 |
+
<path
|
42 |
+
d="M16.293 17.707a1 1 0 0 0 1.414-1.414l-1.414 1.414ZM9 14a5 5 0 0 1-5-5H2a7 7 0 0 0 7 7v-2ZM4 9a5 5 0 0 1 5-5V2a7 7 0 0 0-7 7h2Zm5-5a5 5 0 0 1 5 5h2a7 7 0 0 0-7-7v2Zm8.707 12.293-3.757-3.757-1.414 1.414 3.757 3.757 1.414-1.414ZM14 9a4.98 4.98 0 0 1-1.464 3.536l1.414 1.414A6.98 6.98 0 0 0 16 9h-2Zm-1.464 3.536A4.98 4.98 0 0 1 9 14v2a6.98 6.98 0 0 0 4.95-2.05l-1.414-1.414Z"></path>
|
43 |
+
</svg>
|
44 |
+
<span class="sr-only md:not-sr-only md:ml-2 md:text-slate-500 md:dark:text-slate-400">Search docs</span><kbd
|
45 |
+
class="ml-auto hidden font-medium text-slate-400 dark:text-slate-500 md:block"><kbd
|
46 |
+
class="font-sans">⌘</kbd><kbd class="font-sans">K</kbd></kbd></button>
|
47 |
+
<div
|
48 |
+
style="position:fixed;top:1px;left:1px;width:1px;height:0;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0;display:none"></div>
|
49 |
+
</div>
|
50 |
+
<div class="relative flex basis-0 justify-end gap-6 sm:gap-8 md:flex-grow">
|
51 |
+
<div class="relative z-10" data-headlessui-state=""><label class="sr-only" id="headlessui-listbox-label-:R1j36:"
|
52 |
+
data-headlessui-state="">Theme</label>
|
53 |
+
<button
|
54 |
+
class="flex h-6 w-6 items-center justify-center rounded-lg shadow-md shadow-black/5 ring-1 ring-black/5 dark:bg-slate-700 dark:ring-inset dark:ring-white/5"
|
55 |
+
id="headlessui-listbox-button-:R2j36:" type="button" aria-haspopup="listbox" aria-expanded="false"
|
56 |
+
data-headlessui-state="" aria-labelledby="headlessui-listbox-label-:R1j36: headlessui-listbox-button-:R2j36:"
|
57 |
+
aria-label="Light">
|
58 |
+
<svg aria-hidden="true" viewBox="0 0 16 16"
|
59 |
+
class="hidden h-4 w-4 fill-sky-400 [[data-theme=light]_&]:block">
|
60 |
+
<path fill-rule="evenodd" clip-rule="evenodd"
|
61 |
+
d="M7 1a1 1 0 0 1 2 0v1a1 1 0 1 1-2 0V1Zm4 7a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm2.657-5.657a1 1 0 0 0-1.414 0l-.707.707a1 1 0 0 0 1.414 1.414l.707-.707a1 1 0 0 0 0-1.414Zm-1.415 11.313-.707-.707a1 1 0 0 1 1.415-1.415l.707.708a1 1 0 0 1-1.415 1.414ZM16 7.999a1 1 0 0 0-1-1h-1a1 1 0 1 0 0 2h1a1 1 0 0 0 1-1ZM7 14a1 1 0 1 1 2 0v1a1 1 0 1 1-2 0v-1Zm-2.536-2.464a1 1 0 0 0-1.414 0l-.707.707a1 1 0 0 0 1.414 1.414l.707-.707a1 1 0 0 0 0-1.414Zm0-8.486A1 1 0 0 1 3.05 4.464l-.707-.707a1 1 0 0 1 1.414-1.414l.707.707ZM3 8a1 1 0 0 0-1-1H1a1 1 0 0 0 0 2h1a1 1 0 0 0 1-1Z"></path>
|
62 |
+
</svg>
|
63 |
+
<svg aria-hidden="true" viewBox="0 0 16 16"
|
64 |
+
class="hidden h-4 w-4 fill-sky-400 [[data-theme=dark]_&]:block">
|
65 |
+
<path fill-rule="evenodd" clip-rule="evenodd"
|
66 |
+
d="M7.23 3.333C7.757 2.905 7.68 2 7 2a6 6 0 1 0 0 12c.68 0 .758-.905.23-1.332A5.989 5.989 0 0 1 5 8c0-1.885.87-3.568 2.23-4.668ZM12 5a1 1 0 0 1 1 1 1 1 0 0 0 1 1 1 1 0 1 1 0 2 1 1 0 0 0-1 1 1 1 0 1 1-2 0 1 1 0 0 0-1-1 1 1 0 1 1 0-2 1 1 0 0 0 1-1 1 1 0 0 1 1-1Z"></path>
|
67 |
+
</svg>
|
68 |
+
<svg aria-hidden="true" viewBox="0 0 16 16"
|
69 |
+
class="hidden h-4 w-4 fill-slate-400 [:not(.dark)[data-theme=system]_&]:block">
|
70 |
+
<path fill-rule="evenodd" clip-rule="evenodd"
|
71 |
+
d="M7 1a1 1 0 0 1 2 0v1a1 1 0 1 1-2 0V1Zm4 7a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm2.657-5.657a1 1 0 0 0-1.414 0l-.707.707a1 1 0 0 0 1.414 1.414l.707-.707a1 1 0 0 0 0-1.414Zm-1.415 11.313-.707-.707a1 1 0 0 1 1.415-1.415l.707.708a1 1 0 0 1-1.415 1.414ZM16 7.999a1 1 0 0 0-1-1h-1a1 1 0 1 0 0 2h1a1 1 0 0 0 1-1ZM7 14a1 1 0 1 1 2 0v1a1 1 0 1 1-2 0v-1Zm-2.536-2.464a1 1 0 0 0-1.414 0l-.707.707a1 1 0 0 0 1.414 1.414l.707-.707a1 1 0 0 0 0-1.414Zm0-8.486A1 1 0 0 1 3.05 4.464l-.707-.707a1 1 0 0 1 1.414-1.414l.707.707ZM3 8a1 1 0 0 0-1-1H1a1 1 0 0 0 0 2h1a1 1 0 0 0 1-1Z"></path>
|
72 |
+
</svg>
|
73 |
+
<svg aria-hidden="true" viewBox="0 0 16 16"
|
74 |
+
class="hidden h-4 w-4 fill-slate-400 [.dark[data-theme=system]_&]:block">
|
75 |
+
<path fill-rule="evenodd" clip-rule="evenodd"
|
76 |
+
d="M7.23 3.333C7.757 2.905 7.68 2 7 2a6 6 0 1 0 0 12c.68 0 .758-.905.23-1.332A5.989 5.989 0 0 1 5 8c0-1.885.87-3.568 2.23-4.668ZM12 5a1 1 0 0 1 1 1 1 1 0 0 0 1 1 1 1 0 1 1 0 2 1 1 0 0 0-1 1 1 1 0 1 1-2 0 1 1 0 0 0-1-1 1 1 0 1 1 0-2 1 1 0 0 0 1-1 1 1 0 0 1 1-1Z"></path>
|
77 |
+
</svg>
|
78 |
+
</button>
|
79 |
+
</div>
|
80 |
+
<a class="group" aria-label="GitHub" href="https://github.com">
|
81 |
+
<svg aria-hidden="true" viewBox="0 0 16 16"
|
82 |
+
class="h-6 w-6 fill-slate-400 group-hover:fill-slate-500 dark:group-hover:fill-slate-300">
|
83 |
+
<path
|
84 |
+
d="M8 0C3.58 0 0 3.58 0 8C0 11.54 2.29 14.53 5.47 15.59C5.87 15.66 6.02 15.42 6.02 15.21C6.02 15.02 6.01 14.39 6.01 13.72C4 14.09 3.48 13.23 3.32 12.78C3.23 12.55 2.84 11.84 2.5 11.65C2.22 11.5 1.82 11.13 2.49 11.12C3.12 11.11 3.57 11.7 3.72 11.94C4.44 13.15 5.59 12.81 6.05 12.6C6.12 12.08 6.33 11.73 6.56 11.53C4.78 11.33 2.92 10.64 2.92 7.58C2.92 6.71 3.23 5.99 3.74 5.43C3.66 5.23 3.38 4.41 3.82 3.31C3.82 3.31 4.49 3.1 6.02 4.13C6.66 3.95 7.34 3.86 8.02 3.86C8.7 3.86 9.38 3.95 10.02 4.13C11.55 3.09 12.22 3.31 12.22 3.31C12.66 4.41 12.38 5.23 12.3 5.43C12.81 5.99 13.12 6.7 13.12 7.58C13.12 10.65 11.25 11.33 9.47 11.53C9.76 11.78 10.01 12.26 10.01 13.01C10.01 14.08 10 14.94 10 15.21C10 15.42 10.15 15.67 10.55 15.59C13.71 14.53 16 11.53 16 8C16 3.58 12.42 0 8 0Z"></path>
|
85 |
+
</svg>
|
86 |
+
</a></div>
|
87 |
+
</header>
|
88 |
+
<Container>
|
89 |
+
<div class="flex">
|
90 |
+
<div class="border-r min-h-screen">
|
91 |
+
<a href="#" class="py-2 px-6 block border-b">Installation</a>
|
92 |
+
<a href="#" class="py-2 px-6 block">Basic Tour</a>
|
93 |
+
</div>
|
94 |
+
<div class="flex-grow"></div>
|
95 |
+
</div>
|
96 |
+
</Container>
|
97 |
+
</BaseLayout>
|
docs/src/pages/docs/installation.md
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
layout: '../../layouts/DocsLayout.astro'
|
3 |
+
title: Installation
|
4 |
+
description: Installation instructions for the React Native Firebase library.
|
5 |
+
---
|
6 |
+
|
7 |
+
# Installation
|
docs/src/pages/index.astro
CHANGED
@@ -11,7 +11,7 @@ import { ExampleButton } from "../components/examples/ExampleButton";
|
|
11 |
<div class="py-24 flex justify-start items-center gap-4">
|
12 |
<div class="flex-grow">
|
13 |
<h1 class="text-9xl mb-4 font-bold">driver.js</h1>
|
14 |
-
<p class="text-3xl">Product tours,
|
15 |
<div class="mt-12 mb-2 flex gap-2 items-stretch">
|
16 |
<button class="bg-black rounded-xl py-4 px-5 font-medium text-white text-xl">Show Demo Tour</button>
|
17 |
<a href="#" class="flex items-center font-bold text-xl border-4 border-black rounded-xl px-5 bg-white">
|
@@ -25,15 +25,15 @@ import { ExampleButton } from "../components/examples/ExampleButton";
|
|
25 |
</div>
|
26 |
</Container>
|
27 |
</div>
|
28 |
-
<div class="bg-white overflow-x-hidden relative h-[64px]">
|
29 |
<FeatureMarquee client:only />
|
30 |
</div>
|
31 |
|
32 |
-
<div class="py-32 bg-
|
33 |
<Container>
|
34 |
<h2 class="text-6xl font-bold mb-6">Examples</h2>
|
35 |
-
<p class="text-2xl text-
|
36 |
-
class="text-
|
37 |
|
38 |
<div class="flex flex-wrap gap-3">
|
39 |
<ExampleButton text="Animated Tour" />
|
@@ -54,7 +54,7 @@ import { ExampleButton } from "../components/examples/ExampleButton";
|
|
54 |
</a>
|
55 |
</div>
|
56 |
|
57 |
-
<p class="text-2xl my-14 text-
|
58 |
cases.</p>
|
59 |
<div class="grid grid-cols-1 md:grid-cols-2 gap-12">
|
60 |
<UsecaseItem
|
@@ -77,7 +77,7 @@ import { ExampleButton } from "../components/examples/ExampleButton";
|
|
77 |
</Container>
|
78 |
</div>
|
79 |
|
80 |
-
<div class="py-32 bg-white text-black">
|
81 |
<Container>
|
82 |
<div class="flex items-center">
|
83 |
<div>
|
@@ -88,7 +88,7 @@ import { ExampleButton } from "../components/examples/ExampleButton";
|
|
88 |
|
89 |
<div class="flex gap-3">
|
90 |
<a href="#"
|
91 |
-
class="flex items-center font-bold text-2xl rounded-xl py-3 px-5 bg-yellow-300 border-
|
92 |
<span class="mr-3 inline-flex items-center"><img src="/github.svg" alt="Hero Image" class="h-7 mr-2" /> 14.7k</span>
|
93 |
GitHub Stars
|
94 |
</a>
|
|
|
11 |
<div class="py-24 flex justify-start items-center gap-4">
|
12 |
<div class="flex-grow">
|
13 |
<h1 class="text-9xl mb-4 font-bold">driver.js</h1>
|
14 |
+
<p class="text-3xl">Product tours, highlights, contextual help and more.</p>
|
15 |
<div class="mt-12 mb-2 flex gap-2 items-stretch">
|
16 |
<button class="bg-black rounded-xl py-4 px-5 font-medium text-white text-xl">Show Demo Tour</button>
|
17 |
<a href="#" class="flex items-center font-bold text-xl border-4 border-black rounded-xl px-5 bg-white">
|
|
|
25 |
</div>
|
26 |
</Container>
|
27 |
</div>
|
28 |
+
<div class="bg-white overflow-x-hidden relative h-[64px] border-b-2 border-b-black">
|
29 |
<FeatureMarquee client:only />
|
30 |
</div>
|
31 |
|
32 |
+
<div class="py-32 bg-white text-black">
|
33 |
<Container>
|
34 |
<h2 class="text-6xl font-bold mb-6">Examples</h2>
|
35 |
+
<p class="text-2xl text-black mb-12">Here are just a few examples; find more <a
|
36 |
+
class="text-black underline underline-offset-4" href="#">in the documentation</a>.</p>
|
37 |
|
38 |
<div class="flex flex-wrap gap-3">
|
39 |
<ExampleButton text="Animated Tour" />
|
|
|
54 |
</a>
|
55 |
</div>
|
56 |
|
57 |
+
<p class="text-2xl my-14 text-black">Due to it's extensive API, driver.js can be used for a wide range of use
|
58 |
cases.</p>
|
59 |
<div class="grid grid-cols-1 md:grid-cols-2 gap-12">
|
60 |
<UsecaseItem
|
|
|
77 |
</Container>
|
78 |
</div>
|
79 |
|
80 |
+
<div class="py-32 bg-white text-black border-t-2 border-t-black">
|
81 |
<Container>
|
82 |
<div class="flex items-center">
|
83 |
<div>
|
|
|
88 |
|
89 |
<div class="flex gap-3">
|
90 |
<a href="#"
|
91 |
+
class="flex items-center font-bold text-2xl rounded-xl py-3 px-5 bg-yellow-300 border-black hover:bg-yellow-400">
|
92 |
<span class="mr-3 inline-flex items-center"><img src="/github.svg" alt="Hero Image" class="h-7 mr-2" /> 14.7k</span>
|
93 |
GitHub Stars
|
94 |
</a>
|