This commit is contained in:
Felix Roos 2022-02-18 21:46:07 +01:00
parent 5d649a516f
commit da2c5c738b
3 changed files with 6 additions and 2 deletions

View File

@ -21,6 +21,7 @@ export default {
/* Enable an SPA Fallback in development: */
// {"match": "routes", "src": ".*", "dest": "/index.html"},
],
exclude: ['**/node_modules/**/*', '**/tutorial/**/*'],
optimize: {
/* Example: Bundle your final build: */
// "bundle": true,

View File

@ -96,6 +96,9 @@ function App() {
>
🎲 random tune
</button>
<button>
<a href="./tutorial">📚 tutorial</a>
</button>
</div>
</header>
<section className="grow flex flex-col text-gray-100">

View File

@ -1,7 +1,7 @@
import React from 'react';
import ReactDOM from 'react-dom';
import Tutorial from './tutorial.mdx';
import logo from '../logo.svg';
// import logo from '../logo.svg';
ReactDOM.render(
<React.StrictMode>
@ -9,7 +9,7 @@ ReactDOM.render(
<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" />
<img src={'https://tidalcycles.org/img/logo.svg'} className="Tidal-logo w-16 h-16" alt="logo" />
<h1 className="text-2xl">Strudel Tutorial</h1>
</div>
{!window.location.href.includes('localhost') && (