From 62db2804f21f1f172706844802501ff71be6ecc1 Mon Sep 17 00:00:00 2001 From: Andre Vitorio Date: Fri, 22 Mar 2024 15:59:10 -0300 Subject: [PATCH] feat: add built-with-outstatic to docs (#211) --- apps/docs/src/app/layout.tsx | 2 + .../src/components/built-with-outstatic.tsx | 38 +++++++++++++++++++ apps/docs/src/components/header.tsx | 2 +- examples/docs/src/app/layout.tsx | 11 +----- .../src/components/built-with-outstatic.tsx | 38 +++++++++++++++++++ 5 files changed, 81 insertions(+), 10 deletions(-) create mode 100644 apps/docs/src/components/built-with-outstatic.tsx create mode 100644 examples/docs/src/components/built-with-outstatic.tsx diff --git a/apps/docs/src/app/layout.tsx b/apps/docs/src/app/layout.tsx index 5027f525..92b481d5 100644 --- a/apps/docs/src/app/layout.tsx +++ b/apps/docs/src/app/layout.tsx @@ -1,3 +1,4 @@ +import { BuiltWithOutstatic } from '@/components/built-with-outstatic' import { ThemeProvider } from '@/components/theme-provider' import '@/styles/style.css' import { Metadata } from 'next' @@ -56,6 +57,7 @@ export default function RootLayout({ disableTransitionOnChange > {children} + diff --git a/apps/docs/src/components/built-with-outstatic.tsx b/apps/docs/src/components/built-with-outstatic.tsx new file mode 100644 index 00000000..ae89f3b9 --- /dev/null +++ b/apps/docs/src/components/built-with-outstatic.tsx @@ -0,0 +1,38 @@ +export const BuiltWithOutstatic = ({ fixed = true }: { fixed?: boolean }) => ( +
+ +
+ + Built with{' '} + +
+ + + + + + + + + + + + + +
+
+) diff --git a/apps/docs/src/components/header.tsx b/apps/docs/src/components/header.tsx index 5e2f7923..a71f5e83 100644 --- a/apps/docs/src/components/header.tsx +++ b/apps/docs/src/components/header.tsx @@ -4,7 +4,7 @@ import SocialLinks from './social-links' const Header = () => { return (