diff --git a/README.md b/README.md index efd6f2f4..465d93d2 100644 --- a/README.md +++ b/README.md @@ -1 +1,3 @@ # llm-ui + +Coming soon, wait list available at https://llm-ui.com. diff --git a/apps/www/src/assets/releases/starlog-placeholder-2.jpg b/apps/www/src/assets/releases/starlog-placeholder.jpg similarity index 100% rename from apps/www/src/assets/releases/starlog-placeholder-2.jpg rename to apps/www/src/assets/releases/starlog-placeholder.jpg diff --git a/apps/www/src/components/FaqSection.tsx b/apps/www/src/components/FaqSection.tsx deleted file mode 100644 index 804bad99..00000000 --- a/apps/www/src/components/FaqSection.tsx +++ /dev/null @@ -1,54 +0,0 @@ -import { - Accordion, - AccordionContent, - AccordionItem, - AccordionTrigger, -} from "@/components/ui/Accordion"; - -const faqData = [ - { - id: "item-1", - question: "What does your company do?", - answer: - "Our company provides innovative software solutions to help businesses automate their processes and improve operational efficiency.", - }, - { - id: "item-2", - question: "How can I contact your customer service?", - answer: - "You can contact us by sending an email to support@example.com or by calling our customer service number at +1 123-456-7890.", - }, - { - id: "item-3", - question: "What are your company's business hours?", - answer: - "We are open from Monday to Friday, from 9:00 AM to 5:00 PM. Our customer service is available during these hours to assist you.", - }, - { - id: "item-4", - question: "Do you accept product returns?", - answer: - "Yes, we accept product returns within 30 days of purchase, provided the product is in its original condition. Please refer to our return policy for more information.", - }, - { - id: "item-5", - question: "Can I try your software for free?", - answer: - "Yes, we offer a free 14-day trial of our software. You can sign up on our website to start your trial.", - }, -]; - -const FaqSection = () => { - return ( - - {faqData.map((faqItem) => ( - - {faqItem.question} - {faqItem.answer} - - ))} - - ); -}; - -export default FaqSection; diff --git a/apps/www/src/components/ui/Sonner.tsx b/apps/www/src/components/ui/Sonner.tsx deleted file mode 100644 index d7fc1430..00000000 --- a/apps/www/src/components/ui/Sonner.tsx +++ /dev/null @@ -1,29 +0,0 @@ -// import { useTheme } from "next-themes" -import { Toaster as Sonner } from "sonner"; - -type ToasterProps = React.ComponentProps; - -const Toaster = ({ ...props }: ToasterProps) => { - // const { theme = "system" } = useTheme() - - return ( - - ); -}; - -export { Toaster }; diff --git a/apps/www/src/content/changelog/0_0.md b/apps/www/src/content/changelog/0_0.md index 9f91a516..fdceacca 100644 --- a/apps/www/src/content/changelog/0_0.md +++ b/apps/www/src/content/changelog/0_0.md @@ -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." --- diff --git a/apps/www/src/content/config.ts b/apps/www/src/content/config.ts index cf08e1b7..964fafbd 100644 --- a/apps/www/src/content/config.ts +++ b/apps/www/src/content/config.ts @@ -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(), @@ -42,7 +41,6 @@ const guides = defineCollection({ }); const changelogs = defineCollection({ - // Type-check frontmatter using a schema schema: ({ image }) => z.object({ title: z.string(), diff --git a/apps/www/src/layouts/BaseLayout.astro b/apps/www/src/layouts/BaseLayout.astro index b7bd91fb..e28380c3 100644 --- a/apps/www/src/layouts/BaseLayout.astro +++ b/apps/www/src/layouts/BaseLayout.astro @@ -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"; diff --git a/apps/www/src/lib/utils.ts b/apps/www/src/lib/utils.ts index 935bb7c4..ee24e857 100644 --- a/apps/www/src/lib/utils.ts +++ b/apps/www/src/lib/utils.ts @@ -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)); }; diff --git a/apps/www/src/pages/guides/[...slug].astro b/apps/www/src/pages/guides/[...slug].astro index 7ba931b2..4f9bfa9e 100644 --- a/apps/www/src/pages/guides/[...slug].astro +++ b/apps/www/src/pages/guides/[...slug].astro @@ -28,4 +28,3 @@ if (!slug || !guide) { -@/components/content/MdxComponents diff --git a/apps/www/src/styles/globals.css b/apps/www/src/styles/globals.css index 41ca57f9..521c0ac4 100644 --- a/apps/www/src/styles/globals.css +++ b/apps/www/src/styles/globals.css @@ -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; diff --git a/apps/www/src/types/index.ts b/apps/www/src/types/index.ts index c0feb18c..89a871e1 100644 --- a/apps/www/src/types/index.ts +++ b/apps/www/src/types/index.ts @@ -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;