diff --git a/src/assets/image/test/apple.svg b/src/assets/image/test/apple.svg new file mode 100644 index 00000000..70b04ed5 --- /dev/null +++ b/src/assets/image/test/apple.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/image/test/github.svg b/src/assets/image/test/github.svg new file mode 100644 index 00000000..0baedc70 --- /dev/null +++ b/src/assets/image/test/github.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/image/test/google.svg b/src/assets/image/test/google.svg new file mode 100644 index 00000000..b8bd3e96 --- /dev/null +++ b/src/assets/image/test/google.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/image/test/youtube.svg b/src/assets/image/test/youtube.svg new file mode 100644 index 00000000..1afee178 --- /dev/null +++ b/src/assets/image/test/youtube.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/pages/test.tsx b/src/pages/test.tsx index f3c73bb0..dc6fa6bf 100644 --- a/src/pages/test.tsx +++ b/src/pages/test.tsx @@ -22,6 +22,12 @@ import { TestItem } from "@/components/test/test-item"; import { emit } from "@tauri-apps/api/event"; import { nanoid } from "nanoid"; +// test icons +import apple from "@/assets/image/test/apple.svg?raw"; +import github from "@/assets/image/test/github.svg?raw"; +import google from "@/assets/image/test/google.svg?raw"; +import youtube from "@/assets/image/test/youtube.svg?raw"; + const TestPage = () => { const { t } = useTranslation(); const sensors = useSensors( @@ -38,19 +44,25 @@ const TestPage = () => { uid: nanoid(), name: "Apple", url: "https://www.apple.com", - icon: "https://www.apple.com/favicon.ico", + icon: apple, }, { uid: nanoid(), name: "GitHub", url: "https://www.github.com", - icon: ``, + icon: github, }, { uid: nanoid(), name: "Google", url: "https://www.google.com", - icon: ``, + icon: google, + }, + { + uid: nanoid(), + name: "Youtube", + url: "https://www.youtube.com", + icon: youtube, }, ];