From ba271fb972113f3803456b1f0a2fd9483a4bb14c Mon Sep 17 00:00:00 2001 From: oliviareichl Date: Tue, 22 Oct 2024 12:35:06 +0200 Subject: [PATCH] chore: make the site responsible for tablet-view --- components/character-fictionality.vue | 5 +- components/ui/card/CardContent.vue | 2 +- pages/about.vue | 14 +++--- pages/index.vue | 2 +- pages/search.vue | 10 ++-- pages/work/[id].vue | 71 ++++++++++++++++++--------- tailwind.config.ts | 3 ++ 7 files changed, 71 insertions(+), 36 deletions(-) diff --git a/components/character-fictionality.vue b/components/character-fictionality.vue index 90f6e15..c2cf84d 100644 --- a/components/character-fictionality.vue +++ b/components/character-fictionality.vue @@ -4,8 +4,11 @@ import { UserRoundIcon, UserRoundPenIcon, VenetianMaskIcon } from "lucide-vue-ne const props = defineProps<{ fictionality: string; isMobile: boolean; + isTablet: boolean; }>(); +console.log(props.isMobile, props.isTablet); + type Icon = typeof UserRoundIcon; const characterIcons: Record = { @@ -24,7 +27,7 @@ const iconComponent = computed(() => {