import { asset } from "@fresh/core/runtime"; import type { PageProps } from "@fresh/core"; import Projects, { type Project } from "../components/Projects.tsx"; import Header from "../components/Header.tsx"; import Footer from "../components/Footer.tsx"; import projects from "../data/showcase.json" with { type: "json" }; import { df } from "../utils/state.ts"; const TITLE = "Showcase | Fresh"; const DESCRIPTION = "Selection of projects that have been built with Fresh."; export const handler = df.handlers({ GET(ctx) { ctx.state.title = TITLE; ctx.state.description = DESCRIPTION; ctx.state.ogImage = new URL(asset("/og-image.webp"), ctx.url).href; }, }); export default function ShowcasePage(props: PageProps) { return ( <>

Badge

You can add these stylish badges to your project’s README to show that it was built with Fresh.

Made with Fresh Made with Fresh

Usage instructions

a deno plush is holding a lemon
); } function Showcase({ items }: { items: Project[] }) { return (

Showcase

Below is a selection of projects that have been built with Fresh.{" "} Add yours!

); }