docs: remove pre-1.0 warning (#293)

This commit is contained in:
Luca Casonato
2022-06-28 15:38:30 +02:00
committed by GitHub
parent 216f1dc1fb
commit 27b67b47e1
4 changed files with 10 additions and 38 deletions
-15
View File
@@ -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 (
<div class={warning}>
⚠️ 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.
</div>
);
}
-2
View File
@@ -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 (
<main class={main}>
<WarningBanner />
<h1 class={title}>{props.page.title}</h1>
<div
class={`${body} markdown-body`}
-2
View File
@@ -7,7 +7,6 @@ import { tw } from "@twind";
import Counter from "../islands/Counter.tsx";
import LemonDrop from "../islands/LemonDrop.tsx";
import Footer from "../components/Footer.tsx";
import WarningBanner from "../components/WarningBanner.tsx";
import { Leaf } from "../components/Icons.tsx";
import VERSIONS from "../../versions.json" assert { type: "json" };
@@ -159,7 +158,6 @@ function GettingStarted(props: { origin: string }) {
Getting started
</a>
</h2>
<WarningBanner />
<p class={tw`text-gray-600`}>
To get started, make sure you have the{" "}
<a href="https://deno.land" class={tw`text-blue-600 hover:underline`}>