docs: remove pre-1.0 warning (#293)
This commit is contained in:
@@ -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>
|
||||
);
|
||||
}
|
||||
@@ -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`}
|
||||
|
||||
@@ -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`}>
|
||||
|
||||
Reference in New Issue
Block a user