import { asset } from "@fresh/core/runtime"; import { page } 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 { define } from "../utils/state.ts"; const TITLE = "Showcase | Fresh"; const DESCRIPTION = "Selection of projects that have been built with Fresh."; export const handler = define.handlers({ GET(ctx) { ctx.state.title = TITLE; ctx.state.description = DESCRIPTION; ctx.state.ogImage = new URL(asset("/og-image.webp"), ctx.url).href; return page(); }, }); export default define.page(function ShowcasePage() { 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!

); }