diff --git a/README.md b/README.md index 8f3f8f15..a0293dd0 100644 --- a/README.md +++ b/README.md @@ -1,27 +1,18 @@ -> **Warning** Not yet 1.0. Many things are subject to change. Documentation is -> lacking in many places. Try it out and give us feedback! - # fresh the fresh logo: a sliced lemon dripping with juice The next-gen web framework. -Fresh is a web framework that lets you build projects very fast, highly dynamic, -and without the need of a build step. Fresh embraces isomorphic JavaScript like -never before. Write a JSX component, have it render on the edge just-in-time, -and then enhance it with client side JS for great interactivity. +Fresh is a next generation web framework, built for speed, reliability, and +simplicity. Some stand out features: -Fresh does not have a build step - you write your code, deploy it to -[Deno Deploy](https://deno.com/deploy), and from there everything is handled by -the framework. - -- No build step -- Zero config necessary -- JIT rendering on the edge -- Tiny (example is 0-3KB of runtime JS)1 -- Optional client side hydration -- TypeScript out of the box +- Just-in-time rendering on the edge. +- Island based client hydration for maximum interactivity. +- Zero runtime overhead: no JS is shipped to the client by default. +- No build step. +- No configuration necessary. +- TypeScript support out of the box. - File-system routing à la Next.js ## Documentation @@ -45,8 +36,8 @@ deno task start ``` To deploy the script to [Deno Deploy](https://deno.com/deploy), push your -project to GitHub, create a Fresh project, and link it to **`main.ts`** file in -the created repository. +project to GitHub, [create a Deno Deploy project](https://dash.deno.com/new), +and link it to the **`main.ts`** file in the root of the created repository. For a more in-depth getting started guide, visit the [Getting Started](https://fresh.deno.dev/docs/getting-started) page in the Fresh diff --git a/www/components/WarningBanner.tsx b/www/components/WarningBanner.tsx deleted file mode 100644 index d0df8e0b..00000000 --- a/www/components/WarningBanner.tsx +++ /dev/null @@ -1,15 +0,0 @@ -/** @jsx h */ -import { h } from "preact"; -import { tw } from "@twind"; - -export default function WarningBanner() { - const warning = tw`bg-yellow-100 border(1 yellow-200) p-4 mb-4`; - return ( -
- ⚠️ Do not use Fresh for production usecases yet, unless you are very - actively tracking the Fresh repository for updates. The framework is still - undergoing very frequent core functionality changes. You can expect a - mostly stable release very soon. -
- ); -} diff --git a/www/routes/docs/[...slug].tsx b/www/routes/docs/[...slug].tsx index 5d718276..1273387c 100644 --- a/www/routes/docs/[...slug].tsx +++ b/www/routes/docs/[...slug].tsx @@ -9,7 +9,6 @@ import { frontMatter, gfm } from "../../utils/markdown.ts"; import DocsSidebar from "../../components/DocsSidebar.tsx"; import Footer from "../../components/Footer.tsx"; import NavigationBar from "../../components/NavigationBar.tsx"; -import WarningBanner from "../../components/WarningBanner.tsx"; import { SLUGS, TABLE_OF_CONTENTS, @@ -213,7 +212,6 @@ function Content(props: { page: Page }) { const html = gfm.render(props.page.markdown); return (
-

{props.page.title}

-

To get started, make sure you have the{" "}