docs docs docs

This commit is contained in:
Felix Roos 2022-02-18 21:39:37 +01:00
parent a05757f8d6
commit 5d649a516f
7 changed files with 516 additions and 34 deletions

View file

@ -5,21 +5,25 @@ import logo from '../logo.svg';
ReactDOM.render(
<React.StrictMode>
<div className="min-h-screen flex flex-col">
<header className="flex-none w-full h-16 px-2 flex items-center border-b border-gray-200 bg-white justify-between">
<div className="flex items-center space-x-2">
<img src={logo} className="Tidal-logo w-16 h-16" alt="logo" />
<h1 className="text-2xl">Strudel Tutorial</h1>
</div>
{!window.location.href.includes('localhost') && (
<div className="flex space-x-4">
<a href="../">go to REPL</a>
<div className="min-h-screen">
<header className="flex-none flex justify-center w-full h-16 px-2 items-center border-b border-gray-200 bg-white">
<div className="p-4 w-full max-w-3xl flex justify-between">
<div className="flex items-center space-x-2">
<img src={logo} className="Tidal-logo w-16 h-16" alt="logo" />
<h1 className="text-2xl">Strudel Tutorial</h1>
</div>
)}
{!window.location.href.includes('localhost') && (
<div className="flex space-x-4">
<a href="../">go to REPL</a>
</div>
)}
</div>
</header>
<section className="prose p-4">
<Tutorial />
</section>
<div className="flex justify-center">
<main className="p-4 max-w-3xl prose">
<Tutorial />
</main>
</div>
</div>
</React.StrictMode>,
document.getElementById('root')