chore: remove showcase page (#3703)
## Summary - Remove the Showcase page route, data, component, and all 175 showcase images - Remove "Showcase" from the navigation bar - Keep the fresh-badge SVGs (still linked from external READMEs) Also closed 12 open showcase PRs: #2691, #2861, #2846, #2720, #2282, #2667, #2585, #1842, #2784, #1697, #2260, #2841. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@@ -3,8 +3,6 @@ import NavigationBar from "./NavigationBar.tsx";
|
||||
export default function Header(props: { title: string; active: string }) {
|
||||
const isHome = props.active == "/";
|
||||
const isDocs = props.active == "/docs";
|
||||
const isShowcase = props.active == "/showcase";
|
||||
|
||||
return (
|
||||
<header
|
||||
class={[
|
||||
@@ -13,7 +11,6 @@ export default function Header(props: { title: string; active: string }) {
|
||||
isDocs
|
||||
? "h-20 max-w-screen-2xl w-full sticky top-0 bg-background-primary z-50 backdrop-blur-xs"
|
||||
: "",
|
||||
isShowcase ? "max-w-screen-xl w-full" : "",
|
||||
].join(" ")}
|
||||
f-client-nav={false}
|
||||
>
|
||||
|
||||
@@ -9,10 +9,6 @@ export default function NavigationBar(
|
||||
name: "Docs",
|
||||
href: "/docs",
|
||||
},
|
||||
{
|
||||
name: "Showcase",
|
||||
href: "/showcase",
|
||||
},
|
||||
{
|
||||
name: "Blog",
|
||||
href: "https://deno.com/blog?tag=fresh",
|
||||
|
||||
@@ -1,53 +0,0 @@
|
||||
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 (
|
||||
<div
|
||||
class={`pt-8 grid grid-cols-1 sm:grid-cols-3 items-center ${
|
||||
props.class ?? ""
|
||||
}`}
|
||||
>
|
||||
{props.items.filter((item) => item.link.length > 0).map((project) => (
|
||||
<div class="w-full max-w-sm mx-auto group">
|
||||
<a href={project.link} tabIndex={-1}>
|
||||
<img
|
||||
loading="lazy"
|
||||
src={`/showcase/${project.image}1x.jpg`}
|
||||
srcset={`/showcase/${project.image}2x.jpg 2x, /showcase/${project.image}1x.jpg 1x`}
|
||||
alt={project.title}
|
||||
width={600}
|
||||
height={337}
|
||||
style={{ aspectRatio: "16/9" }}
|
||||
class="object-cover shadow-lg group-hover:shadow-xl group-hover:opacity-70 rounded-lg"
|
||||
/>
|
||||
</a>
|
||||
<div class="mt-4 flex items-center">
|
||||
<div class="text-lg text-gray-600 flex-1 group-hover:text-underline">
|
||||
<a href={project.link}>{project.title}</a>
|
||||
</div>
|
||||
{project.github && (
|
||||
<a
|
||||
href={`https://github.com/${project.github}`}
|
||||
class="ml-2 text-gray-500 hover:text-gray-700"
|
||||
>
|
||||
<span class="sr-only">GitHub</span>
|
||||
<Icons.GitHub class="inline float-right h-6 w-6" />
|
||||
</a>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -1,495 +0,0 @@
|
||||
[
|
||||
{
|
||||
"title": "JSR",
|
||||
"link": "https://jsr.io/",
|
||||
"github": "jsr-io/jsr",
|
||||
"image": "jsr"
|
||||
},
|
||||
{
|
||||
"title": "Deno.com",
|
||||
"link": "https://deno.com/",
|
||||
"image": "deno"
|
||||
},
|
||||
{
|
||||
"title": "OpenAI Semantic Search",
|
||||
"link": "https://supabase-openai-doc-search.deno.dev/",
|
||||
"github": "supabase-community/deno-fresh-openai-doc-search",
|
||||
"image": "openai-semantic-search"
|
||||
},
|
||||
{
|
||||
"title": "Deno SaaSKit",
|
||||
"link": "https://saaskit.deno.dev/",
|
||||
"github": "denoland/saaskit",
|
||||
"image": "deno-saaskit"
|
||||
},
|
||||
{
|
||||
"title": "Shoaib Hossain Portfolio",
|
||||
"link": "https://sihab.deno.dev",
|
||||
"github": "mrsihab/fresh-portfolio",
|
||||
"image": "mrsihab"
|
||||
},
|
||||
{
|
||||
"title": "Deno Merch",
|
||||
"link": "https://merch.deno.com/",
|
||||
"github": "denoland/merch",
|
||||
"image": "merch"
|
||||
},
|
||||
{
|
||||
"title": "Fresh Website",
|
||||
"link": "https://fresh.deno.dev/",
|
||||
"github": "denoland/fresh/tree/main/www",
|
||||
"image": "fresh"
|
||||
},
|
||||
{
|
||||
"title": "Beyond Better",
|
||||
"link": "https://beyondbetter.app",
|
||||
"github": "Beyond-Better/bb",
|
||||
"image": "beyondbetter"
|
||||
},
|
||||
{
|
||||
"title": "Video Poker Academy",
|
||||
"link": "https://videopoker-academy.deno.dev/",
|
||||
"github": "hyprtxt/videopoker.academy",
|
||||
"image": "videopoker-academy"
|
||||
},
|
||||
{
|
||||
"title": "D3no Data",
|
||||
"link": "https://d3nodata.deno.dev/",
|
||||
"github": "D3nosaurs/d3nodata-website",
|
||||
"image": "d3nodata"
|
||||
},
|
||||
{
|
||||
"title": "Fresh Hacker News",
|
||||
"link": "https://fresh-hacker-news.deno.dev/",
|
||||
"github": "morinokami/fresh-hacker",
|
||||
"image": "hn"
|
||||
},
|
||||
{
|
||||
"title": "LDkit",
|
||||
"link": "https://ldkit.io",
|
||||
"github": "karelklima/ldkit",
|
||||
"image": "ldkit"
|
||||
},
|
||||
{
|
||||
"title": "CGPA(AU R-2021) Calculator",
|
||||
"link": "https://cgpa-au-2021.deno.dev",
|
||||
"github": "codesculpture/cgpa-au-2021",
|
||||
"image": "cgpa-au-2021"
|
||||
},
|
||||
{
|
||||
"title": "diKnow",
|
||||
"link": "https://xyntechx-diknow.deno.dev/",
|
||||
"github": "xyntechx/diKnow",
|
||||
"image": "diKnow"
|
||||
},
|
||||
{
|
||||
"title": "Fresh Strapi",
|
||||
"link": "https://fresh-strapi.deno.dev/",
|
||||
"github": "hyprtxt/fresh-strapi.deno.dev",
|
||||
"image": "fresh-strapi"
|
||||
},
|
||||
{
|
||||
"title": "Portfolio Page",
|
||||
"link": "http://adamsobotka.deno.dev/",
|
||||
"github": "vorcigernix/adamsobotka",
|
||||
"image": "adam-portfolio"
|
||||
},
|
||||
{
|
||||
"title": "Developer Portfolio",
|
||||
"link": "https://mooxl.dev",
|
||||
"github": "mooxl/fresh.mooxl.dev",
|
||||
"image": "mooxl"
|
||||
},
|
||||
{
|
||||
"title": "Developer Portfolio",
|
||||
"link": "https://guillaumecomte.deno.dev",
|
||||
"github": "guigui64/www",
|
||||
"image": "guigui64"
|
||||
},
|
||||
{
|
||||
"title": "Fresh Project Manager",
|
||||
"link": "https://xyntechx-project-manager.deno.dev/",
|
||||
"github": "xyntechx/NexLiber-Projects/tree/main/Fresh%20Project%20Manager",
|
||||
"image": "fresh-project-manager"
|
||||
},
|
||||
{
|
||||
"title": "Fresh ToDo List App",
|
||||
"link": "https://fresh-todo-list.deno.dev/",
|
||||
"github": "MrSaeedNasiri/fresh-todo-list",
|
||||
"image": "fresh-todo"
|
||||
},
|
||||
{
|
||||
"title": "Optimem app",
|
||||
"link": "https://optimem.org/",
|
||||
"image": "optimem"
|
||||
},
|
||||
{
|
||||
"title": "Balello",
|
||||
"link": "https://balello.com",
|
||||
"image": "balello"
|
||||
},
|
||||
{
|
||||
"title": "Wricord",
|
||||
"link": "https://wricord.com",
|
||||
"image": "wricord"
|
||||
},
|
||||
{
|
||||
"title": "ANDBOUNDS Inc.",
|
||||
"link": "https://andbounds.com/",
|
||||
"image": "andbounds"
|
||||
},
|
||||
{
|
||||
"title": "YCRM",
|
||||
"link": "https://ycrm.xyz/",
|
||||
"image": "ycrm"
|
||||
},
|
||||
{
|
||||
"title": "Local SEO Studio",
|
||||
"link": "https://www.localseo.studio/",
|
||||
"image": "localseostudio"
|
||||
},
|
||||
{
|
||||
"title": "Fondest Landing Page",
|
||||
"link": "https://fondest.com",
|
||||
"image": "fondest"
|
||||
},
|
||||
{
|
||||
"title": "im@sparql Data Dashboard",
|
||||
"link": "https://imasparql-data-dashboard.deno.dev/",
|
||||
"github": "arrow2nd/imasparql-data-dashboard",
|
||||
"image": "imasparql-dd"
|
||||
},
|
||||
{
|
||||
"title": "Craig’s Deno Diary",
|
||||
"link": "https://deno-blog.com",
|
||||
"github": "cdoremus/deno-blog",
|
||||
"image": "deno-diary"
|
||||
},
|
||||
{
|
||||
"title": "Melon",
|
||||
"link": "https://m.not-ivy.dev/",
|
||||
"github": "not-ivy/melon",
|
||||
"image": "melon"
|
||||
},
|
||||
{
|
||||
"title": "Webhook Manager",
|
||||
"link": "https://webhook-demo.deno.dev/",
|
||||
"github": "avnigenc/deno-fresh-webhook-demo",
|
||||
"image": "webhook-manager"
|
||||
},
|
||||
{
|
||||
"title": "Deno Jobs",
|
||||
"link": "https://vacancy.deno.dev/",
|
||||
"github": "VofSwords/deno-jobs",
|
||||
"image": "deno-jobs"
|
||||
},
|
||||
{
|
||||
"title": "java.minidoodle",
|
||||
"link": "https://javaminidoodle.de/",
|
||||
"image": "javaminidoodle"
|
||||
},
|
||||
{
|
||||
"title": "Ppaste",
|
||||
"link": "https://ppaste.deno.dev/",
|
||||
"github": "n4ze3m/p-paste",
|
||||
"image": "ppaste"
|
||||
},
|
||||
{
|
||||
"title": "Linksapp",
|
||||
"link": "https://linksapp.deno.dev/",
|
||||
"github": "commune-org/linksapp-fresh",
|
||||
"image": "linksapp"
|
||||
},
|
||||
{
|
||||
"title": "Grape Chat",
|
||||
"link": "https://grape-chat.miqsel.net/",
|
||||
"github": "yahiro07/grape-chat",
|
||||
"image": "grape-chat"
|
||||
},
|
||||
{
|
||||
"title": "Fresh Notion Blog",
|
||||
"link": "https://fresh-notion-blog.deno.dev/",
|
||||
"github": "xijaja/fresh-notion-blog",
|
||||
"image": "fresh-notion-blog"
|
||||
},
|
||||
{
|
||||
"title": "Denopaste",
|
||||
"link": "https://denopaste.com/",
|
||||
"github": "stephenmelnicki/denopaste",
|
||||
"image": "denopaste"
|
||||
},
|
||||
{
|
||||
"title": "m33t",
|
||||
"link": "https://m33t.deno.dev/",
|
||||
"github": "dunkbing/m33t",
|
||||
"image": "m33t"
|
||||
},
|
||||
{
|
||||
"title": "YAML to TypeScript",
|
||||
"link": "https://yaml-to-ts.deno.dev/",
|
||||
"github": "jiawei397/yaml_to_ts_web",
|
||||
"image": "yaml-to-ts"
|
||||
},
|
||||
{
|
||||
"title": "Denosoar",
|
||||
"link": "https://denosoar.deno.dev/",
|
||||
"github": "Denosoar-GUI/Denosoar-GUI",
|
||||
"image": "Denosoar"
|
||||
},
|
||||
{
|
||||
"title": "link-maker",
|
||||
"link": "https://link-maker.deno.dev/",
|
||||
"github": "kuizuo/link-maker",
|
||||
"image": "link-maker"
|
||||
},
|
||||
{
|
||||
"title": "Delicious",
|
||||
"link": "https://sking.deno.dev/",
|
||||
"github": "shijianzhong/fresh-blog-system",
|
||||
"image": "fresh-blog-system"
|
||||
},
|
||||
{
|
||||
"title": "Alvaro Vanegas Sites",
|
||||
"link": "https://ajvanegasv.dev/",
|
||||
"github": "ajvanegasv/my-portfolio",
|
||||
"image": "ajvanegasv"
|
||||
},
|
||||
{
|
||||
"title": "Teams Template",
|
||||
"link": "https://teams-template.deno.dev/",
|
||||
"github": "davit-b/teams-template",
|
||||
"image": "teams-template"
|
||||
},
|
||||
{
|
||||
"title": "FestWithMe",
|
||||
"link": "https://fest-with-me.deno.dev/",
|
||||
"github": "rnaidenov/fest-with-me",
|
||||
"image": "festwithme"
|
||||
},
|
||||
{
|
||||
"title": "Pollify",
|
||||
"link": "https://pollify.deno.dev/",
|
||||
"github": "n4ze3m/pollify",
|
||||
"image": "pollify"
|
||||
},
|
||||
{
|
||||
"title": "JPT ChatGPT Rooms",
|
||||
"link": "https://jpt.ma/",
|
||||
"github": "zizwar/jpt",
|
||||
"image": "jptchat"
|
||||
},
|
||||
{
|
||||
"title": "Mieszko",
|
||||
"link": "https://mieszko.xyz/",
|
||||
"image": "mieszko"
|
||||
},
|
||||
{
|
||||
"title": "Awesome Fresh",
|
||||
"link": "https://uki00a.github.io/awesome-fresh/",
|
||||
"image": "awesome-fresh"
|
||||
},
|
||||
{
|
||||
"title": "Learn Mandarin",
|
||||
"link": "https://mandarin.deno.dev/",
|
||||
"github": "silvercrow/mandarin",
|
||||
"image": "learn-mandarin"
|
||||
},
|
||||
{
|
||||
"title": "Url shorter and Pastebin",
|
||||
"link": "https://uspb.deno.dev/",
|
||||
"github": "jneeee/uspb",
|
||||
"image": "uspb"
|
||||
},
|
||||
{
|
||||
"title": "Battleship",
|
||||
"link": "https://battleship.deno.dev",
|
||||
"github": "karelklima/battleship",
|
||||
"image": "battleship"
|
||||
},
|
||||
{
|
||||
"title": "Kanji.Academy",
|
||||
"link": "https://kanji.academy",
|
||||
"image": "kanji-academy"
|
||||
},
|
||||
{
|
||||
"title": "LiberChat",
|
||||
"link": "https://liberchat.deno.dev",
|
||||
"image": "liberchat"
|
||||
},
|
||||
{
|
||||
"title": "Miguel Rangel Site",
|
||||
"link": "https://crawford.ml",
|
||||
"github": "denyncrawford/new-portfolio",
|
||||
"image": "miguel-rangel-site"
|
||||
},
|
||||
{
|
||||
"title": "Deno Artwork",
|
||||
"link": "https://artwork.deno.dev/",
|
||||
"github": "jasonjgardner/deno-artwork",
|
||||
"image": "deno-artwork"
|
||||
},
|
||||
{
|
||||
"title": "Text2Audio",
|
||||
"link": "https://text2audio.cc/",
|
||||
"github": "dunkbing/text2audio",
|
||||
"image": "text2audio"
|
||||
},
|
||||
{
|
||||
"title": "FilterHN",
|
||||
"link": "https://filterhn.com/",
|
||||
"image": "filter-hn"
|
||||
},
|
||||
{
|
||||
"title": "AquaVibes",
|
||||
"link": "https://aquavibes.earth/",
|
||||
"github": "arturolume/aquavibes",
|
||||
"image": "aquavibes"
|
||||
},
|
||||
{
|
||||
"title": "CS2 Items",
|
||||
"link": "https://cs2items.pro/",
|
||||
"image": "cs2items"
|
||||
},
|
||||
{
|
||||
"title": "Enric Perpinyà Site",
|
||||
"link": "https://perpinya.eu/",
|
||||
"github": "evilmonkey19/cv",
|
||||
"image": "evilmonkey19-cv"
|
||||
},
|
||||
{
|
||||
"title": "Paul Jacks Blog and Experiments",
|
||||
"link": "https://jacks.se/",
|
||||
"github": "rebstorm/jacks.se",
|
||||
"image": "rebstorm"
|
||||
},
|
||||
{
|
||||
"title": "MergePanic",
|
||||
"link": "https://mergepanic.com",
|
||||
"image": "MergePanic"
|
||||
},
|
||||
{
|
||||
"title": "Living Pixel Solutions",
|
||||
"link": "https://livingpixel.io",
|
||||
"image": "living-pixel"
|
||||
},
|
||||
{
|
||||
"title": "RFUI",
|
||||
"link": "https://rfui.deno.dev/",
|
||||
"image": "rfui"
|
||||
},
|
||||
{
|
||||
"title": "Echo-Echo",
|
||||
"link": "https://echo-echo.deno.dev/",
|
||||
"github": "Octo8080X/Echo-Echo",
|
||||
"image": "echo-echo"
|
||||
},
|
||||
{
|
||||
"title": "VirtualFreight Landing Page",
|
||||
"link": "https://virtualfreight.software/",
|
||||
"image": "virtualfreight"
|
||||
},
|
||||
{
|
||||
"title": "Daniel G. Aubert's Site",
|
||||
"link": "https://dgaubert.dev/",
|
||||
"image": "dgaubert"
|
||||
},
|
||||
{
|
||||
"title": "Do not remove this, it’s for preventing conflicts by trailing comma",
|
||||
"link": "",
|
||||
"github": "",
|
||||
"image": ""
|
||||
},
|
||||
{
|
||||
"title": "Thoth-Doc",
|
||||
"link": "https://thoth-doc.deno.dev/",
|
||||
"github": "Octo8080X/thoth",
|
||||
"image": "thoth-doc"
|
||||
},
|
||||
{
|
||||
"title": "Pile-Up",
|
||||
"link": "https://pile-up.deno.dev/",
|
||||
"github": "Octo8080X/Pile-Up",
|
||||
"image": "pile-up"
|
||||
},
|
||||
{
|
||||
"title": "2coffee's Blog",
|
||||
"link": "https://2coffee.dev/",
|
||||
"image": "hicoffee"
|
||||
},
|
||||
{
|
||||
"title": "TicOXs",
|
||||
"link": "https://ticoxs.deno.dev/",
|
||||
"github": "Trid3r/ticoxs",
|
||||
"image": "ticoxs"
|
||||
},
|
||||
{
|
||||
"title": "WTF Is Congress Doing Now?",
|
||||
"link": "https://wtfiscongressdoingnow.us",
|
||||
"github": "gibbygano/wtfiscongressdoingnow",
|
||||
"image": "wtfcongress"
|
||||
},
|
||||
{
|
||||
"title": "PUBG Items",
|
||||
"link": "https://pubgitems.info",
|
||||
"image": "pubgitems"
|
||||
},
|
||||
{
|
||||
"title": "Zhi's Blog",
|
||||
"link": "https://zhi.deno.dev",
|
||||
"github": "SisyphusZheng/me",
|
||||
"image": "zhiblog"
|
||||
},
|
||||
{
|
||||
"title": "Moatez's desktop",
|
||||
"link": "https://moatez-bejaoui.deno.dev",
|
||||
"github": "https://github.com/MoatezNG",
|
||||
"image": "moatez-desktop"
|
||||
},
|
||||
{
|
||||
"title": "Retro Ranker",
|
||||
"link": "https://retroranker.site",
|
||||
"github": "https://github.com/Nergy101/retro-ranker",
|
||||
"image": "retro-ranker"
|
||||
},
|
||||
{
|
||||
"title": "RockPaper",
|
||||
"link": "https://rockpaper.mcstech.dev",
|
||||
"image": "rock-paper"
|
||||
},
|
||||
{
|
||||
"title": "TKD-Dzwirzyno",
|
||||
"link": "https://tkddzwirzyno.pl",
|
||||
"github": "alphatra/Website-TKDdzwirzyno",
|
||||
"image": "TKD-DZWIRZYNO"
|
||||
},
|
||||
{
|
||||
"title": "Deno Sandbox API Test Game",
|
||||
"link": "https://deno-sandbox-api-test.octo8080x.deno.net/",
|
||||
"github": "https://github.com/Octo8080X/deno-sandbox-api-test",
|
||||
"image": "deno-sandbox-api-test-game"
|
||||
},
|
||||
{
|
||||
"title": "VailNote",
|
||||
"link": "https://vailnote.com/",
|
||||
"github": "emilkrebs/vailnote",
|
||||
"image": "vailnote"
|
||||
},
|
||||
{
|
||||
"title": "WeeWoo Study",
|
||||
"link": "https://weewoo.study",
|
||||
"github": "https://github.com/briansimoni/weewoo.study",
|
||||
"image": "weewoo.study"
|
||||
},
|
||||
{
|
||||
"title": "boxdgrid",
|
||||
"link": "https://boxdgrid.deno.dev",
|
||||
"github": "wfrancescons/boxdgrid",
|
||||
"image": "boxdgrid"
|
||||
},
|
||||
{
|
||||
"title": "Left Of Life",
|
||||
"link": "https://leftof.life",
|
||||
"github": "j0si/howmuchlife",
|
||||
"image": "left-of-life"
|
||||
}
|
||||
]
|
||||
@@ -1,95 +0,0 @@
|
||||
import { asset } from "fresh/runtime";
|
||||
import { page } from "fresh";
|
||||
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<typeof handler>(function ShowcasePage() {
|
||||
return (
|
||||
<>
|
||||
<Header title="showcase" active="/showcase" />
|
||||
|
||||
<div class="flex flex-col min-h-screen bg-white text-black">
|
||||
<div class="flex-1">
|
||||
<Showcase items={projects} />
|
||||
|
||||
<section class="max-w-screen-lg mx-auto my-16 px-4 sm:px-6 md:px-8 space-y-4">
|
||||
<h2 class="text-3xl text-gray-600 font-bold">
|
||||
Badge
|
||||
</h2>
|
||||
|
||||
<p class="text-gray-600">
|
||||
You can add these stylish badges to your project’s README to show
|
||||
that it was built with Fresh.
|
||||
</p>
|
||||
|
||||
<img
|
||||
width="197"
|
||||
height="37"
|
||||
src="https://fresh.deno.dev/fresh-badge.svg"
|
||||
alt="Made with Fresh"
|
||||
/>
|
||||
|
||||
<img
|
||||
width="197"
|
||||
height="37"
|
||||
src="https://fresh.deno.dev/fresh-badge-dark.svg"
|
||||
alt="Made with Fresh"
|
||||
/>
|
||||
|
||||
<p>
|
||||
<a
|
||||
href="https://github.com/denoland/fresh#badges"
|
||||
class="text-blue-600 hover:underline focus:underline"
|
||||
>
|
||||
Usage instructions
|
||||
</a>
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<img
|
||||
src="/illustration/deno-plush.svg"
|
||||
alt="a deno plush is holding a lemon"
|
||||
class="mx-auto w-48 mt-16"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<Footer />
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
});
|
||||
|
||||
function Showcase({ items }: { items: Project[] }) {
|
||||
return (
|
||||
<section class="max-w-screen-lg mx-auto my-16 px-4 sm:px-6 md:px-8 space-y-4">
|
||||
<h2 class="text-3xl text-foreground-primary font-bold ">
|
||||
Showcase
|
||||
</h2>
|
||||
<p class="text-foreground-secondary">
|
||||
Below is a selection of projects that have been built with Fresh.{" "}
|
||||
<a
|
||||
href="https://github.com/denoland/fresh/blob/main/www/data/showcase.json"
|
||||
class="text-blue-600 hover:underline"
|
||||
>
|
||||
Add yours!
|
||||
</a>
|
||||
</p>
|
||||
<Projects items={items} class="gap-16" />
|
||||
</section>
|
||||
);
|
||||
}
|
||||
@@ -1,95 +0,0 @@
|
||||
import { asset } from "fresh/runtime";
|
||||
import { page } from "fresh";
|
||||
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<typeof handler>(function ShowcasePage() {
|
||||
return (
|
||||
<div class="bg-white">
|
||||
<Header title="showcase" active="/showcase" />
|
||||
|
||||
<div class="flex flex-col min-h-screen">
|
||||
<div class="flex-1">
|
||||
<Showcase items={projects} />
|
||||
|
||||
<section class="max-w-screen-lg mx-auto my-16 px-4 sm:px-6 md:px-8 space-y-4">
|
||||
<h2 class="text-3xl text-gray-600 font-bold">
|
||||
Badge
|
||||
</h2>
|
||||
|
||||
<p class="text-gray-600">
|
||||
You can add these stylish badges to your project’s README to show
|
||||
that it was built with Fresh.
|
||||
</p>
|
||||
|
||||
<img
|
||||
width="197"
|
||||
height="37"
|
||||
src="https://fresh.deno.dev/fresh-badge.svg"
|
||||
alt="Made with Fresh"
|
||||
/>
|
||||
|
||||
<img
|
||||
width="197"
|
||||
height="37"
|
||||
src="https://fresh.deno.dev/fresh-badge-dark.svg"
|
||||
alt="Made with Fresh"
|
||||
/>
|
||||
|
||||
<p>
|
||||
<a
|
||||
href="https://github.com/denoland/fresh#badges"
|
||||
class="text-blue-600 hover:underline focus:underline"
|
||||
>
|
||||
Usage instructions
|
||||
</a>
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<img
|
||||
src="/illustration/deno-plush.svg"
|
||||
alt="a deno plush is holding a lemon"
|
||||
class="mx-auto w-48 mt-16"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<Footer />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
});
|
||||
|
||||
function Showcase({ items }: { items: Project[] }) {
|
||||
return (
|
||||
<section class="max-w-screen-lg mx-auto my-16 px-4 sm:px-6 md:px-8 space-y-4">
|
||||
<h2 class="text-3xl text-gray-600 font-bold">
|
||||
Showcase
|
||||
</h2>
|
||||
<p class="text-gray-600">
|
||||
Below is a selection of projects that have been built with Fresh.{" "}
|
||||
<a
|
||||
href="https://github.com/denoland/fresh/blob/main/www/data/showcase.json"
|
||||
class="text-blue-600 hover:underline"
|
||||
>
|
||||
Add yours!
|
||||
</a>
|
||||
</p>
|
||||
<Projects items={items} class="gap-16" />
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 60 KiB |
|
Before Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 89 KiB |
|
Before Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 87 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 55 KiB |
|
Before Width: | Height: | Size: 142 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 71 KiB |
|
Before Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 75 KiB |
|
Before Width: | Height: | Size: 59 KiB |
|
Before Width: | Height: | Size: 123 KiB |
|
Before Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 108 KiB |
|
Before Width: | Height: | Size: 83 KiB |
|
Before Width: | Height: | Size: 162 KiB |
|
Before Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 78 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 52 KiB |
|
Before Width: | Height: | Size: 119 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 83 KiB |
|
Before Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 120 KiB |
|
Before Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 76 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 64 KiB |
|
Before Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 85 KiB |
|
Before Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 63 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 77 KiB |
|
Before Width: | Height: | Size: 270 KiB |
|
Before Width: | Height: | Size: 915 KiB |
|
Before Width: | Height: | Size: 6.6 KiB |
|
Before Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 56 KiB |
|
Before Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 84 KiB |
|
Before Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 78 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 92 KiB |
|
Before Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 80 KiB |
|
Before Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 68 KiB |
|
Before Width: | Height: | Size: 8.3 KiB |
|
Before Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 6.5 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 54 KiB |
|
Before Width: | Height: | Size: 155 KiB |
|
Before Width: | Height: | Size: 92 KiB |
|
Before Width: | Height: | Size: 244 KiB |
|
Before Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 89 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 39 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 66 KiB |
|
Before Width: | Height: | Size: 66 KiB |
|
Before Width: | Height: | Size: 178 KiB |
|
Before Width: | Height: | Size: 47 KiB |
|
Before Width: | Height: | Size: 80 KiB |
|
Before Width: | Height: | Size: 70 KiB |
|
Before Width: | Height: | Size: 202 KiB |
|
Before Width: | Height: | Size: 51 KiB |
|
Before Width: | Height: | Size: 127 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 32 KiB |