feat(web): improve docs and refactor cli (#476)

This commit is contained in:
Aman Varshney
2025-08-08 16:00:10 +05:30
committed by GitHub
parent defa0e9464
commit 51cfb35912
34 changed files with 1336 additions and 1154 deletions

View File

@@ -18,7 +18,7 @@ const Footer = () => {
</p>
<div className="flex space-x-4">
<Link
href="https://github.com/better-t-stack/create-better-t-stack"
href="https://github.com/AmanVarshney01/create-better-t-stack"
target="_blank"
className="inline-flex items-center justify-center rounded-md p-2 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground focus:outline-none focus:ring-2 focus:ring-primary focus:ring-offset-2"
aria-label="GitHub Repository"
@@ -44,7 +44,7 @@ const Footer = () => {
<li>
<Link
target="_blank"
href="https://github.com/better-t-stack/create-better-t-stack"
href="https://github.com/AmanVarshney01/create-better-t-stack"
className="inline-block transition-colors hover:text-primary focus:text-primary focus:outline-none"
>
GitHub Repository

View File

@@ -85,7 +85,7 @@ export default function Navbar() {
target: "_blank",
},
{
href: "https://www.github.com/better-t-stack/create-better-t-stack",
href: "https://www.github.com/AmanVarshney01/create-better-t-stack",
label: "GitHub",
icon: <Github className="size-4" />,
target: "_blank",

View File

@@ -48,7 +48,7 @@ export function AnalyticsHeader({
<span className=" text-muted-foreground">
Source:{" "}
<Link
href="https://github.com/amanvarshney01/create-better-t-stack/blob/main/apps/cli/src/utils/analytics.ts"
href="https://github.com/AmanVarshney01/create-better-t-stack/blob/main/apps/cli/src/utils/analytics.ts"
target="_blank"
rel="noopener noreferrer"
className="text-accent underline hover:text-primary"

View File

@@ -1,4 +1,3 @@
import { Banner } from "fumadocs-ui/components/banner";
import { DocsLayout, type DocsLayoutProps } from "fumadocs-ui/layouts/docs";
import type { ReactNode } from "react";
import { baseOptions } from "@/app/layout.config";
@@ -15,12 +14,5 @@ const docsOptions: DocsLayoutProps = {
};
export default function Layout({ children }: { children: ReactNode }) {
return (
<>
<Banner variant="rainbow">
WORK IN PROGRESS DONT TAKE REFERENCE!!!
</Banner>
<DocsLayout {...docsOptions}>{children}</DocsLayout>
</>
);
return <DocsLayout {...docsOptions}>{children}</DocsLayout>;
}