fix paths + update readme

This commit is contained in:
Felix Roos 2022-12-28 17:33:14 +01:00
parent 16b4058a8b
commit 6420a72ceb
3 changed files with 6 additions and 4 deletions

View file

@ -19,12 +19,12 @@ const myPatterns = await getMyPatterns();
Object.entries(myPatterns).map(([name, tune]) => (
<a
class="rounded-md bg-slate-900 hover:bg-slate-700 cursor-pointer relative"
href={`/#${btoa(tune as string)}`}
href={`../#${btoa(tune as string)}`}
>
<div class="absolute w-full h-full flex justify-center items-center">
<span class="bg-slate-800 p-2 rounded-md text-white">{name}</span>
</div>
<img src={`/my-patterns/${name}.png`} />
<img src={`./${name}.png`} />
</a>
))
}