Re-enabled copy feedback and extracted it to it's own component. Still WIP, but further work is still waiting on better InkScape

This commit is contained in:
Gnarwhal 2024-09-19 19:45:59 +01:00
parent 951760b619
commit 92a63d0a7f
Signed by: Gnarwhal
GPG key ID: 80DB5B37E4C96776
7 changed files with 24 additions and 39 deletions

View file

@ -1,9 +1,9 @@
import type { Metadata } from 'next';
import Image from 'next/image';
import DownloadTTY from './components/download_tty';
import Content from './components/content';
import * as style from './page.css';
import Content from './components/content';
import Copy from './components/copy';
import download_image_dark from './download_dark.svg';
import download_image_light from './download_light.svg';
@ -66,7 +66,7 @@ export default async function Page({
</button>
</div>
<div className={style.download_tty_group}>
{download_ttys.map((text, index) => <DownloadTTY key={index} text={text} />)}
{download_ttys.map((text, index) => <Copy key={index} text={text}>{text}</Copy>)}
</div>
<Content src={`${root}${path}`} />
</div>