-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(vue): Adapt actor page for mobile
- Loading branch information
Olivier Ribiere
committed
Oct 4, 2024
1 parent
d088534
commit 829f4d7
Showing
3 changed files
with
39 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
vue/src/components/views-components/actors/ActorRelatedContent.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<template> | ||
<SectionBanner :text="$t('actorPage.projects')" class="mt-12"/> | ||
{{ actor.projects }} | ||
<SectionBanner :text="$t('actorPage.data')" class="mt-12"/> | ||
<SectionBanner :text="$t('actorPage.resources')" class="mt-12"/> | ||
<SectionBanner :text="$t('actorPage.services')" class="mt-12"/> | ||
<SectionBanner :text="$t('actorPage.images')" class="mt-12"/> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import SectionBanner from '@/components/generic-components/banners/SectionBanner.vue'; | ||
import type { Actor } from '@/models/interfaces/Actor'; | ||
defineProps({ | ||
actor: { | ||
type: Object as () => Actor, | ||
required: true | ||
} | ||
}) | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters