mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
feat(web): improve docs and refactor cli (#476)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user