From 4fdf2e2fb6fcee5b32e04bd1c428189ca71bf269 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Tue, 24 Feb 2026 13:04:15 +0400 Subject: [PATCH] WIP Add more icons --- app/components/icon.gjs | 2 ++ app/components/place-details.gjs | 18 +++++++++++------- app/icons/wikipedia.svg | 4 ++++ 3 files changed, 17 insertions(+), 7 deletions(-) create mode 100644 app/icons/wikipedia.svg diff --git a/app/components/icon.gjs b/app/components/icon.gjs index 41ea429..1a64c7f 100644 --- a/app/components/icon.gjs +++ b/app/components/icon.gjs @@ -23,6 +23,7 @@ import target from 'feather-icons/dist/icons/target.svg?raw'; import user from 'feather-icons/dist/icons/user.svg?raw'; import x from 'feather-icons/dist/icons/x.svg?raw'; import zap from 'feather-icons/dist/icons/zap.svg?raw'; +import wikipedia from '../icons/wikipedia.svg?raw'; const ICONS = { 'arrow-left': arrowLeft, @@ -45,6 +46,7 @@ const ICONS = { settings, target, user, + wikipedia, x, zap, }; diff --git a/app/components/place-details.gjs b/app/components/place-details.gjs index ac95cb9..2742f26 100644 --- a/app/components/place-details.gjs +++ b/app/components/place-details.gjs @@ -247,13 +247,17 @@ export default class PlaceDetails extends Component { {{/if}} {{#if this.wikipedia}} -

- Wikipedia: - Article +

+ + + + Wikipedia Article + +

{{/if}} diff --git a/app/icons/wikipedia.svg b/app/icons/wikipedia.svg new file mode 100644 index 0000000..bc0a0c5 --- /dev/null +++ b/app/icons/wikipedia.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file