diff --git a/docs/public/fox-mascot.png b/docs/public/fox-mascot.png
index 0acece4..643f6cd 100644
Binary files a/docs/public/fox-mascot.png and b/docs/public/fox-mascot.png differ
diff --git a/docs/public/mascot-driver.png b/docs/public/mascot-driver.png
new file mode 100644
index 0000000..bf0472e
Binary files /dev/null and b/docs/public/mascot-driver.png differ
diff --git a/docs/public/mascot-head.png b/docs/public/mascot-head.png
index 65ea402..4d09bd5 100644
Binary files a/docs/public/mascot-head.png and b/docs/public/mascot-head.png differ
diff --git a/docs/public/rocket-fox.png b/docs/public/rocket-fox.png
index 28af9cf..2051265 100644
Binary files a/docs/public/rocket-fox.png and b/docs/public/rocket-fox.png differ
diff --git a/docs/src/components/CallToAction.astro b/docs/src/components/CallToAction.astro
index ff48fe2..0b0d815 100644
--- a/docs/src/components/CallToAction.astro
+++ b/docs/src/components/CallToAction.astro
@@ -8,8 +8,8 @@ import Container from "./Container.astro";
diff --git a/docs/src/components/CodeShowcase.astro b/docs/src/components/CodeShowcase.astro
index 2f958a1..ecfcf4a 100644
--- a/docs/src/components/CodeShowcase.astro
+++ b/docs/src/components/CodeShowcase.astro
@@ -43,23 +43,6 @@ driverObj.highlight({
},
});`,
},
- {
- name: "Customize",
- code: `import { driver } from "driver.js";
-
-const driverObj = driver({
- animate: true,
- smoothScroll: true,
- allowClose: true,
- stagePadding: 4,
- popoverClass: "my-popover",
- nextBtnText: "Next →",
- prevBtnText: "← Back",
- doneBtnText: "Finish",
-});
-
-driverObj.drive();`,
- },
];
---
@@ -70,7 +53,7 @@ driverObj.drive();`,
Import driver.js, describe your steps, and call drive(). That's the whole setup.
-
+
{
tabs.map((tab, i) => (
@@ -81,7 +64,7 @@ driverObj.drive();`,
"code-tab cursor-pointer rounded-lg border-2 px-4 py-2 text-sm font-medium transition-colors md:px-5 md:py-2 md:text-base",
i === 0
? "border-black bg-yellow-300 text-black"
- : "border-transparent bg-white/5 text-gray-400 hover:bg-white/10 hover:text-gray-200",
+ : "border-transparent bg-white/15 text-gray-200 hover:bg-white/25 hover:text-white",
]}
>
{tab.name}
@@ -123,7 +106,7 @@ driverObj.drive();`,
if (root) {
const activeClasses = ["border-black", "bg-yellow-300", "text-black"];
- const inactiveClasses = ["border-transparent", "bg-white/5", "text-gray-400", "hover:bg-white/10", "hover:text-gray-200"];
+ const inactiveClasses = ["border-transparent", "bg-white/15", "text-gray-200", "hover:bg-white/25", "hover:text-white"];
const tabs = Array.from(root.querySelectorAll
("[data-code-tab]"));
const panels = Array.from(root.querySelectorAll("[data-code-panel]"));
diff --git a/docs/src/components/DocsHeader.tsx b/docs/src/components/DocsHeader.tsx
index ec50d35..459d4f6 100644
--- a/docs/src/components/DocsHeader.tsx
+++ b/docs/src/components/DocsHeader.tsx
@@ -15,7 +15,7 @@ export function DocsHeader(props: DocsHeaderProps) {
diff --git a/docs/src/components/Examples.astro b/docs/src/components/Examples.astro
index aa4b0ac..4c409a4 100644
--- a/docs/src/components/Examples.astro
+++ b/docs/src/components/Examples.astro
@@ -100,7 +100,7 @@ import { ExampleButton } from "./ExampleButton";
element: "[data-driver-license]",
popover: {
title: "MIT Licensed",
- description: "Driver.js is MIT licensed and is used by tens thousands of companies around the world.",
+ description: "Driver.js is MIT licensed and is used by tens of thousands of companies around the world.",
side: "top",
align: "start"
}
diff --git a/docs/src/components/HeroSection.astro b/docs/src/components/HeroSection.astro
index e66e570..4f6104f 100644
--- a/docs/src/components/HeroSection.astro
+++ b/docs/src/components/HeroSection.astro
@@ -6,7 +6,7 @@ import Container from "./Container.astro";
-
+
driver.js
@@ -49,7 +49,7 @@ import Container from "./Container.astro";
-

+
diff --git a/docs/src/components/Sidebar.astro b/docs/src/components/Sidebar.astro
index fd0ccee..f28ce5d 100644
--- a/docs/src/components/Sidebar.astro
+++ b/docs/src/components/Sidebar.astro
@@ -13,7 +13,7 @@ const { activePath, groupedGuides, activeGuideTitle } = Astro.props;