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:
parent
951760b619
commit
92a63d0a7f
7 changed files with 24 additions and 39 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue