Skip to content

Commit

Permalink
renames
Browse files Browse the repository at this point in the history
  • Loading branch information
richardgill committed Apr 1, 2024
1 parent 4db90bd commit bc086ba
Show file tree
Hide file tree
Showing 17 changed files with 14 additions and 76 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from "react";

import type { TableOfContents } from "@/lib/toc";
import type { TableOfContents } from "@/lib/tableOfContents";
import { cn } from "@/lib/utils";

interface TocProps {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion apps/docs/src/components/content/MdxComponents.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from "react";

import Callout from "@/components/callout.astro";
import Callout from "@/components/Callout.astro";
import MdxCard from "@/components/content/MdxCard.astro";
import { cn } from "@/lib/utils";
import { Image } from "astro:assets";
Expand Down
61 changes: 0 additions & 61 deletions apps/docs/src/components/example-grid.astro

This file was deleted.

2 changes: 1 addition & 1 deletion apps/docs/src/layouts/base-layout.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
import "@fontsource/inter";
import BaseHead from "@/components/layout/BaseHead.astro";
import TailwindIndicator from "@/components/tailwind-indicator.astro";
import TailwindIndicator from "@/components/TailwindIndicator.astro";
// NOTE: work with { Toaster } from "@/components/ui/sonner" but need to update dark theme
import { Toaster } from "sonner";
import { cn } from "@/lib/utils";
Expand Down
4 changes: 2 additions & 2 deletions apps/docs/src/layouts/guide-post.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
import { DashboardTableOfContents } from "@/components/toc";
import { DashboardTableOfContents } from "@/components/Toc";
import { buttonVariants } from "@/components/ui/Button";
import { getTableOfContents } from "@/lib/toc";
import { getTableOfContents } from "@/lib/tableOfContents";
import { cn, formatDate } from "@/lib/utils";
import { Icon } from "astro-icon/components";
import type { CollectionEntry } from "astro:content";
Expand Down
3 changes: 1 addition & 2 deletions apps/docs/src/layouts/main-layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Header from "@/components/layout/Header.astro";
import { cn } from "@/lib/utils";
import BaseLayout from "./base-layout.astro";
import { SheetMobileNav } from "@/components/layout/SheetMobileNav";
import { ThemeToggle } from "@/components/theme-toggle";
import { ThemeToggle } from "@/components/ThemeToggle";
import { siteConfig } from "@/config/site";
import { Icon } from "astro-icon/components";
import { marketingConfig } from "@/config/marketing";
Expand Down Expand Up @@ -56,4 +56,3 @@ const { title, description, mainClass } = Astro.props;

<Footer />
</BaseLayout>
@/components/layout/SheetMobileNav
File renamed without changes.
2 changes: 1 addition & 1 deletion apps/docs/src/pages/blog/category/[category].astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
import BlogHeader from "@/components/blog-header.astro";
import BlogHeader from "@/components/BlogHeader.astro";
import BlogCard from "@/components/cards/BlogCard.astro";
import MainLayout from "@/layouts/main-layout.astro";
import { capitalizer } from "@/lib/utils";
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/pages/blog/index.astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
import BlogHeader from "@/components/blog-header.astro";
import BlogHeader from "@/components/BlogHeader.astro";
import BlogCard from "@/components/cards/BlogCard.astro";
import MainLayout from "@/layouts/main-layout.astro";
import { getPosts } from "@/lib/fetchers";
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/pages/changelog/index.astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
import PageHeader from "@/components/page-header.astro";
import PageHeader from "@/components/PageHeader.astro";
import { Badge } from "@/components/ui/Badge";
import MainLayout from "@/layouts/main-layout.astro";
import { formatDate } from "@/lib/utils";
Expand Down
8 changes: 4 additions & 4 deletions apps/docs/src/pages/docs/[...slug].astro
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
import { MdxComponents } from "@/components/content/MdxComponents";
import DocsSidebarNav from "@/components/layout/SidebarNav.astro";
import DocsPageHeader from "@/components/page-header.astro";
import DocsPager from "@/components/pager.astro";
import { DashboardTableOfContents } from "@/components/toc";
import DocsPageHeader from "@/components/PageHeader.astro";
import DocsPager from "@/components/Pager.astro";
import { DashboardTableOfContents } from "@/components/Toc";
import { ScrollArea } from "@/components/ui/ScrollArea";
import { docsConfig } from "@/config/docs";
import MainLayout from "../../layouts/main-layout.astro";
import { getTableOfContents } from "@/lib/toc";
import { getTableOfContents } from "@/lib/tableOfContents";
import { Icon } from "astro-icon/components";
import { getCollection, type CollectionEntry } from "astro:content";
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/pages/guides/index.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
import GuideCard from "@/components/cards/GuideCard.astro";
import DocsPageHeader from "@/components/page-header.astro";
import DocsPageHeader from "@/components/PageHeader.astro";
import MainLayout from "../../layouts/main-layout.astro";
import { getGuides } from "@/lib/fetchers";
Expand Down

0 comments on commit bc086ba

Please sign in to comment.