From 3d020bda6a5627f586cb04fd49a00cb4c4edc70c Mon Sep 17 00:00:00 2001 From: Marios Antonoudiou Date: Thu, 9 May 2024 14:41:01 +0300 Subject: [PATCH] chore: fix slot --- components/home/been-working-with.vue | 99 ++++++++++------------ components/{role.vue => previous-role.vue} | 8 +- 2 files changed, 46 insertions(+), 61 deletions(-) rename components/{role.vue => previous-role.vue} (80%) diff --git a/components/home/been-working-with.vue b/components/home/been-working-with.vue index a8c8cb8..735f736 100644 --- a/components/home/been-working-with.vue +++ b/components/home/been-working-with.vue @@ -1,89 +1,78 @@ +import PreviousRole from '../previous-role.vue'; diff --git a/components/role.vue b/components/previous-role.vue similarity index 80% rename from components/role.vue rename to components/previous-role.vue index 4b410e8..514bb4a 100644 --- a/components/role.vue +++ b/components/previous-role.vue @@ -7,9 +7,6 @@ interface Props { } const props = defineProps(); - -const titleRef = ref(); -const altContent = computed(() => titleRef.value?.$el.textContent);