WIP Add more icons

This commit is contained in:
2026-02-24 13:04:15 +04:00
parent de1b162ee9
commit 4fdf2e2fb6
3 changed files with 17 additions and 7 deletions

View File

@@ -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,
};

View File

@@ -247,13 +247,17 @@ export default class PlaceDetails extends Component {
{{/if}}
{{#if this.wikipedia}}
<p>
<strong>Wikipedia:</strong>
<a
href="https://wikipedia.org/wiki/{{this.wikipedia}}"
target="_blank"
rel="noopener noreferrer"
>Article</a>
<p class="content-with-icon">
<Icon @name="wikipedia" @title="Wikipedia" />
<span>
<a
href="https://wikipedia.org/wiki/{{this.wikipedia}}"
target="_blank"
rel="noopener noreferrer"
>
Wikipedia Article
</a>
</span>
</p>
{{/if}}