Skip to content

Commit

Permalink
frontend: make redirected links do direct links
Browse files Browse the repository at this point in the history
  • Loading branch information
dulvui committed May 9, 2024
1 parent 85ba3c8 commit c688505
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions frontend/src/layouts/partials/footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ SPDX-License-Identifier: AGPL-3.0-or-later
<div class="d-flex flex-column">
<span class="mb-1 text-semibold">Relevant links</span>
<a href="/">Web Components</a>
<a href="/how-to-add">How To Add</a>
<a href="/how-to-create">How To Create</a>
<a href="/validator">Validator</a>
<a href="/how-to-add/">How To Add</a>
<a href="/how-to-create/">How To Create</a>
<a href="/validator/">Validator</a>
<a href="https://opendatahub.com/contact" target="_blank"
>Contact</a
>
Expand Down Expand Up @@ -158,7 +158,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
href="https://noi.bz.it/en/privacy"
>Privacy</a
>
| <a class="text-decoration-underline" href="/imprint">Imprint</a>
| <a class="text-decoration-underline" href="/imprint/">Imprint</a>
</span>
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions frontend/src/layouts/partials/nav.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,20 @@ SPDX-License-Identifier: AGPL-3.0-or-later
<b-navbar-nav class="flex-grow-1 align-items-center">
<b-nav-item-dropdown text="How to">
<b-dropdown-item
:to="localePath('how-to-add')"
:to="localePath('how-to-add/')"
@click="$emit('hide-overlay')"
>
Add a webcomponent
</b-dropdown-item>
<b-dropdown-item
:to="localePath('how-to-create')"
:to="localePath('how-to-create/')"
@click="$emit('hide-overlay')"
>
Create a webcomponent
</b-dropdown-item>
</b-nav-item-dropdown>
<b-nav-item
:to="localePath('validator')"
:to="localePath('validator/')"
@click="$emit('hide-overlay')"
>
Validator
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ SPDX-License-Identifier: AGPL-3.0-or-later
</div>
<div class="container container-w d-flex justify-content-center">
<div>
<a href="/how-to-add" target="_blank" class="btn btn-primary mb-2">
<a href="/how-to-add/" target="_blank" class="btn btn-primary mb-2">
Add a webcomponent
</a>
</div>
<div>
<a href="/how-to-create" target="_blank" class="btn btn-primary">
<a href="/how-to-create/" target="_blank" class="btn btn-primary">
<!-- Update this link to point to the appropriate page on your website -->
Create a webcomponent
</a>
Expand Down

0 comments on commit c688505

Please sign in to comment.