import Container from "./container";
import cn from "classnames";
import { EXAMPLE_PATH } from "../lib/constants";
type Props = {
preview?: boolean;
};
const Alert = ({ preview }: Props) => {
return (
{preview ? (
<>
This page is a preview.{" "}
Click here
{" "}
to exit preview mode.
>
) : (
<>
The source code for this blog is{" "}
available on GitHub
.
>
)}