Skip to content

Commit

Permalink
improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
richardgill committed Apr 2, 2024
1 parent 6711998 commit 2e537a0
Show file tree
Hide file tree
Showing 11 changed files with 5 additions and 128 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# llm-ui

Coming soon, wait list available at https://llm-ui.com.
54 changes: 0 additions & 54 deletions apps/www/src/components/FaqSection.tsx

This file was deleted.

29 changes: 0 additions & 29 deletions apps/www/src/components/ui/Sonner.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion apps/www/src/content/changelog/0_0.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ date: "2024-04-01"
versionNumber: "0.0"
description: "Coming soon..."
image:
src: "../../assets/releases/starlog-placeholder-2.jpg"
src: "../../assets/releases/starlog-placeholder.jpg"
alt: "The full Astro logo."
---

Expand Down
4 changes: 1 addition & 3 deletions apps/www/src/content/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ import { defineCollection, z } from "astro:content";

const blog = defineCollection({
// Type-check frontmatter using a schema
// eslint-disable-next-line no-unused-vars
schema: ({ image }) =>
schema: () =>
z.object({
title: z.string(),
description: z.string(),
Expand Down Expand Up @@ -42,7 +41,6 @@ const guides = defineCollection({
});

const changelogs = defineCollection({
// Type-check frontmatter using a schema
schema: ({ image }) =>
z.object({
title: z.string(),
Expand Down
1 change: 0 additions & 1 deletion apps/www/src/layouts/BaseLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import "@fontsource/inter";
import BaseHead from "@/components/layout/BaseHead.astro";
import PostHog from "@/components/Posthog.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
2 changes: 1 addition & 1 deletion apps/www/src/lib/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const cn = (...inputs: ClassValue[]) => {
return twMerge(clsx(inputs));
};

export const wait = (ms: number) => {
export const delay = (ms: number) => {
return new Promise((resolve) => setTimeout(resolve, ms));
};

Expand Down
1 change: 0 additions & 1 deletion apps/www/src/pages/guides/[...slug].astro
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,3 @@ if (!slug || !guide) {
<GuidePostLayout {...guide}>
<Content components={MdxComponents} />
</GuidePostLayout>
@/components/content/MdxComponents
24 changes: 0 additions & 24 deletions apps/www/src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -89,30 +89,6 @@
@apply border-border;
}

/* If you want a custom scrollbar - By @diomed */
/* * {
@apply border-border;
--sb-track-color: #ffffff;
--sb-thumb-color: #e2e3f1;
--sb-size: 10px;
scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);
}
::-webkit-scrollbar {
width: var(--sb-size)
}
::-webkit-scrollbar-track {
background: var(--sb-track-color);
border-radius: 10px;
}
::-webkit-scrollbar-thumb {
background: var(--sb-thumb-color);
border-radius: 10px;
} */

html {
/* scroll-padding-top: 4rem; */
@apply scroll-pt-16 lg:scroll-pt-0;
Expand Down
14 changes: 0 additions & 14 deletions apps/www/src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,20 +58,6 @@ export type DashboardConfig = {
sidebarNav: SidebarNavItem[];
};

export type SubscriptionPlan = {
name: string;
description: string;
stripePriceId: string;
};

// Animes types
export type Airing = {
id: number;
episode: number;
airingAt: number;
media: Media;
};

export type Media = {
id: number;
title: Title;
Expand Down

0 comments on commit 2e537a0

Please sign in to comment.