diff --git a/www/components/DocsHeader.tsx b/www/components/DocsHeader.tsx new file mode 100644 index 00000000..9e5fd45f --- /dev/null +++ b/www/components/DocsHeader.tsx @@ -0,0 +1,48 @@ +import DocsTitle from "./DocsTitle.tsx"; + +export default function DocsHeader() { + return ( +
The next-gen web framework.
+ > + ); +} diff --git a/www/components/Icons.tsx b/www/components/Icons.tsx index 99fac5df..12a55574 100644 --- a/www/components/Icons.tsx +++ b/www/components/Icons.tsx @@ -126,3 +126,20 @@ export function GitHub(props: { class?: string }) { ); } + +export function ArrowRight() { + return ( + + ); +} diff --git a/www/components/NavigationBar.tsx b/www/components/NavigationBar.tsx index 70ef512e..685b072c 100644 --- a/www/components/NavigationBar.tsx +++ b/www/components/NavigationBar.tsx @@ -8,6 +8,10 @@ export default function NavigationBar(props: { active: string }) { name: "Docs", href: "/docs", }, + { + name: "Showcase", + href: "/showcase", + }, ]; return ( diff --git a/www/components/Projects.tsx b/www/components/Projects.tsx new file mode 100644 index 00000000..55332f7e --- /dev/null +++ b/www/components/Projects.tsx @@ -0,0 +1,53 @@ +import * as Icons from "../components/Icons.tsx"; +export interface Project { + image: string; + title: string; + link: string; + github?: string; +} + +interface ProjectProps { + items: Project[]; + class?: string; +} + +export default function Projects(props: ProjectProps) { + return ( +
+
+ The next-gen web framework.
- > - ); -} - function Main(props: { path: string; page: Page }) { return (- Below is a selection of projects that have been built with Fresh.{" "} - - Add yours! - + Below is a selection of projects that have been built with Fresh.
-
-
- + You can add these stylish badges to your project's README to show + that it was built with Fresh. +
+ ++ Below is a selection of projects that have been built with Fresh.{" "} + + Add yours! + +
+