Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#354 common menu state composable added #539

Merged
merged 1 commit into from
Nov 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
!.vscode/settings.json
!.vscode/extensions.json

# Webstorm
.idea

# Django and Python
__pycache__
.venv
Expand Down
4 changes: 3 additions & 1 deletion frontend/components/card/CardDocsEntry.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<NuxtLink
class="flex w-full px-3 py-3 group card-style space-x-4 lg:px-4 hover:bg-light-highlight dark:hover:bg-dark-highlight"
:to="url"
:to="localPath(url)"
>
<div
class="flex items-center justify-center w-20 h-20 rounded-full bg-light-menu-selection dark:bg-dark-menu-selection sm:w-24 sm:h-24 group-hover:opacity-90"
Expand Down Expand Up @@ -30,6 +30,8 @@
</template>

<script setup lang="ts">
const localPath = useLocalePath()

defineProps<{
url: string;
imgURL: string;
Expand Down
Loading
Loading