Skip to content

Commit

Permalink
Remove astro-heroicons which breaks github actions, use SVG, update s…
Browse files Browse the repository at this point in the history
…tyles
  • Loading branch information
tordans committed Feb 17, 2023
1 parent 8cc2b4a commit 3a812a9
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 18 deletions.
11 changes: 0 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
"@types/react-dom": "^18.0.11",
"alpinejs": "^3.11.1",
"astro": "^2.0.13",
"astro-heroicons": "^0.3.0",
"classnames": "^2.3.2",
"clsx": "^1.2.1",
"react": "^18.2.0",
Expand Down
1 change: 1 addition & 0 deletions public/images/icons/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Icon Sources

- edit icon https://heroicons.com/
- questions mark icon
2 changes: 1 addition & 1 deletion public/images/icons/edit.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/images/icons/questionmarkCircle.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 10 additions & 5 deletions src/components/Layout/NavigationProjects.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
import clsx from 'clsx'
import QuestionmarkCircle from 'astro-heroicons/solid/QuestionmarkCircle.astro'
export interface Props {
menuHighlight: string | undefined
Expand Down Expand Up @@ -43,8 +42,11 @@ const { menuHighlight } = Astro.props

<h2 class="my-2 flex items-center text-xl font-semibold">
Parkraum Berlin
<a href="/#project-vector-tiles" class="ml-1 hover:text-blue-600">
<QuestionmarkCircle class="h-5 w-5" aria-hidden={true} />
<a
href="/#project-vector-tiles"
class="ml-1 rounded-full ring-blue-500 hover:bg-blue-100 hover:ring-2"
>
<img src="/images/icons/questionmarkCircle.svg" class="h-5 w-5" alt="" area-hidden="true" />
<span class="sr-only">Mehr erfahren…</span>
</a>
</h2>
Expand Down Expand Up @@ -80,8 +82,11 @@ const { menuHighlight } = Astro.props

<h2 class="my-2 flex items-center text-xl font-semibold">
Prototype Neukölln
<a href="/#project-prototype-neukoelln' }}" class="ml-1 hover:text-blue-600">
<QuestionmarkCircle class="h-5 w-5" aria-hidden={true} />
<a
href="/#project-prototype-neukoelln' }}"
class="ml-1 rounded-full ring-blue-500 hover:bg-blue-100 hover:ring-2"
>
<img src="/images/icons/questionmarkCircle.svg" class="h-5 w-5" alt="" area-hidden="true" />
<span class="sr-only">Mehr erfahren…</span>
</a>
</h2>
Expand Down

0 comments on commit 3a812a9

Please sign in to comment.