-
- {title} - Cally
-
+
+ {title} - Cally
diff --git a/docs/src/pages/components/calendar-date.astro b/docs/src/pages/components/calendar-date.astro
index b8cb11b..e4c3276 100644
--- a/docs/src/pages/components/calendar-date.astro
+++ b/docs/src/pages/components/calendar-date.astro
@@ -93,15 +93,6 @@ import Link from "../../components/Link.astro";
number
1
-
-
dir
-
dir
-
- The writing direction. Set to "rtl" for RTL languages
-
-
"ltr" | "rtl"
-
"ltr"
-
isDateDisallowed
-
@@ -169,8 +160,8 @@ import Link from "../../components/Link.astro";
- See the guide on theming for a walkthrough of how
- to style this component.
+ See the guide on theming for a walkthrough
+ of how to style this component.
diff --git a/docs/src/pages/components/calendar-month.astro b/docs/src/pages/components/calendar-month.astro
index 60be672..fa3416b 100644
--- a/docs/src/pages/components/calendar-month.astro
+++ b/docs/src/pages/components/calendar-month.astro
@@ -69,8 +69,8 @@ import Link from "../../components/Link.astro";
- See the guide on theming for a walkthrough of how
- to style this component.
+ See the guide on theming for a walkthrough
+ of how to style this component.
diff --git a/docs/src/pages/components/calendar-range.astro b/docs/src/pages/components/calendar-range.astro
index 03c563e..3416498 100644
--- a/docs/src/pages/components/calendar-range.astro
+++ b/docs/src/pages/components/calendar-range.astro
@@ -98,15 +98,6 @@ import Link from "../../components/Link.astro";
number
1
-
-
dir
-
dir
-
- The writing direction. Set to "rtl" for RTL languages
-
-
"ltr" | "rtl"
-
"ltr"
-
isDateDisallowed
-
@@ -206,8 +197,8 @@ import Link from "../../components/Link.astro";
- See the guide on theming for a walkthrough of how
- to style this component.
+ See the guide on theming for a walkthrough
+ of how to style this component.
diff --git a/docs/src/pages/components/index.astro b/docs/src/pages/components/index.astro
index 54a06f9..6d2c95a 100644
--- a/docs/src/pages/components/index.astro
+++ b/docs/src/pages/components/index.astro
@@ -1,5 +1,6 @@
---
import Layout from "../../layouts/Layout.astro";
+import Link from "../../components/Link.astro";
---
@@ -11,8 +12,20 @@ import Layout from "../../layouts/Layout.astro";
diff --git a/docs/src/pages/guides/index.astro b/docs/src/pages/guides/index.astro
new file mode 100644
index 0000000..6002344
--- /dev/null
+++ b/docs/src/pages/guides/index.astro
@@ -0,0 +1,22 @@
+---
+import Layout from "../../layouts/Layout.astro";
+import Link from "../../components/Link.astro";
+---
+
+
+
Guides
+
+
+ Learn how to style Cally's components or integrate with external components
+ to build more complex UIs.
+
+
+
+
+ Theming
+
+
+ Integration
+
+
+
diff --git a/docs/src/pages/integration.astro b/docs/src/pages/guides/integration.astro
similarity index 96%
rename from docs/src/pages/integration.astro
rename to docs/src/pages/guides/integration.astro
index aa83fdb..1569726 100644
--- a/docs/src/pages/integration.astro
+++ b/docs/src/pages/guides/integration.astro
@@ -1,10 +1,10 @@
---
-import PageIntro from "../components/PageIntro.astro";
-import Layout from "../layouts/Layout.astro";
-import Example from "../components/Example.astro";
-import Note from "../components/Note.astro";
-import Heading from "../components/Heading.astro";
-import Link from "../components/Link.astro";
+import PageIntro from "../../components/PageIntro.astro";
+import Layout from "../../layouts/Layout.astro";
+import Example from "../../components/Example.astro";
+import Note from "../../components/Note.astro";
+import Heading from "../../components/Heading.astro";
+import Link from "../../components/Link.astro";
---
@@ -122,7 +122,7 @@ import Link from "../components/Link.astro";
For more information on styling and theming the calendar components please
- see the full theming guide.
+ see the full theming guide.
The input and toggle button
@@ -426,7 +426,7 @@ import Link from "../components/Link.astro";
To find out more about each component, please see the respective
component API docs. Or visit the
- theming guide for a more in-depth look at styling
- the components.
+ theming guide for a more in-depth look at
+ styling the components.
diff --git a/docs/src/pages/theming.astro b/docs/src/pages/guides/theming.astro
similarity index 96%
rename from docs/src/pages/theming.astro
rename to docs/src/pages/guides/theming.astro
index 3a174d1..6c46057 100644
--- a/docs/src/pages/theming.astro
+++ b/docs/src/pages/guides/theming.astro
@@ -1,11 +1,11 @@
---
-import Layout from "../layouts/Layout.astro";
-import Example from "../components/Example.astro";
-import Color from "../components/Color.astro";
-import Note from "../components/Note.astro";
-import PageIntro from "../components/PageIntro.astro";
-import Heading from "../components/Heading.astro";
-import Link from "../components/Link.astro";
+import Layout from "../../layouts/Layout.astro";
+import Example from "../../components/Example.astro";
+import Color from "../../components/Color.astro";
+import Note from "../../components/Note.astro";
+import PageIntro from "../../components/PageIntro.astro";
+import Heading from "../../components/Heading.astro";
+import Link from "../../components/Link.astro";
const colorAccent = "#7048e8";
const colorAccentSecondary = "#845ef7";
@@ -593,8 +593,8 @@ const colorTextOnAccent = "#ffffff";
To find out more about each component, please see the respective
component API docs. Or visit the
- theming guide for a more in-depth look at styling
- the components.
+ theming guide for a more in-depth look at
+ styling the components.
diff --git a/docs/src/pages/index.astro b/docs/src/pages/index.astro
index 0708ce0..7a3ef3e 100644
--- a/docs/src/pages/index.astro
+++ b/docs/src/pages/index.astro
@@ -5,55 +5,15 @@ import PageIntro from "../components/PageIntro.astro";
import Example from "../components/Example.astro";
import Heading from "../components/Heading.astro";
import Link from "../components/Link.astro";
+import IntroExample from "../components/IntroExample.astro";
const tagline = "Small, feature-rich calendar components";
---
-
-
{tagline}
-
-
For a detailed look at each component, check out the respective
component API docs. The
- theming guide to explains how to style the components
- to match your designs. And the
- integration guide explains how to compose Cally's
- components to build a date/range picker using your own or third-party components.
+ theming guide to explains how to style the
+ components to match your designs. And the
+ integration guide explains how to compose
+ Cally's components to build a date/range picker using your own or third-party
+ components.