diff --git a/src/tailwindcss/assets/tailwind-icon.png b/assets/tailwindcss/icon.png similarity index 100% rename from src/tailwindcss/assets/tailwind-icon.png rename to assets/tailwindcss/icon.png diff --git a/assets/tailwindcss/list-icon.png b/assets/tailwindcss/list-icon.png new file mode 100644 index 0000000..9f7cb90 Binary files /dev/null and b/assets/tailwindcss/list-icon.png differ diff --git a/src/tailwindcss/src/search-documentation.tsx b/src/tailwindcss/src/search-documentation.tsx index 66a773a..ae34d05 100644 --- a/src/tailwindcss/src/search-documentation.tsx +++ b/src/tailwindcss/src/search-documentation.tsx @@ -1,12 +1,13 @@ import { List } from "@project-gauntlet/api/components"; import React, { ReactElement } from "react"; import documentation from "./documentation/tailwind-css"; -//import { Clipboard } from "@project-gauntlet/api/helpers"; -import { open } from "@opensrc/deno-open"; +import { Clipboard } from "@project-gauntlet/api/helpers"; +//import { open } from "@opensrc/deno-open"; # pending a fix for https://github.com/project-gauntlet/gauntlet/issues/28 export default function SearchDocumentation(): ReactElement { const onClick = async (url: string) => { - await open(url); + //await open(url); + await Clipboard.writeText(url); }; return ( @@ -26,8 +27,8 @@ export default function SearchDocumentation(): ReactElement { {items.map((item) => ( onClick(item.url)} />