-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#74 (style) - Clean styles for actionsCardButton (Like, favorites, wa…
…tch later) + add components for card speaker
- Loading branch information
1 parent
7e94358
commit b1db052
Showing
6 changed files
with
316 additions
and
116 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<template> | ||
<!-- TODO Dev Btn --> | ||
<ion-button class="btnActionCard" :class="{ 'btnActionCard': true, '_is-active': true }" :aria-label="LL.Like_Speaker()"> | ||
<span class="btnActionCard-group"> | ||
<ion-icon class="btnActionCard-group-icon" v-if="true" aria-hidden="true" src="/assets/icons/line/heart-line.svg"></ion-icon> | ||
<ion-icon class="btnActionCard-group-icon" v-if="false" aria-hidden="true" src="/assets/icons/solid/heart.svg"></ion-icon> | ||
<ion-label class="btnActionCard-group-nb" v-if="true">-</ion-label> | ||
</span> | ||
</ion-button> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import {typesafeI18n} from "@/i18n/i18n-vue"; | ||
const { LL } = typesafeI18n() | ||
</script> | ||
|
||
<style scoped lang="scss"> | ||
.btnActionCard { | ||
&._is-active { | ||
--background: var(--voxxrin-event-theme-colors-primary-hex); | ||
--color: var(--voxxrin-event-theme-colors-primary-contrast-hex); | ||
border-left: 1px solid var(--app-primary-shade); | ||
--border-radius: 0 0 8px 0 !important; | ||
} | ||
} | ||
</style> |
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,94 @@ | ||
<template> | ||
<!-- TODO Dev Resume Card --> | ||
<ion-item class="talkResumeCard"> | ||
<span class="talkResumeCard-line"></span> | ||
<div class="talkResumeCard-content"> | ||
<ion-text class="talkResumeCard-content-description"> | ||
Unlocking the Secrets of the Devoxx Mobile App: A Deep Dive into Open Source PWA with Vue and Firebase | ||
</ion-text> | ||
<div class="talkResumeCard-footer"> | ||
<ion-badge class="trackBadge"> | ||
<div class="trackBadge-content"> | ||
<ion-icon src="/assets/icons/solid/tag.svg"></ion-icon>JAVA | ||
</div> | ||
</ion-badge> | ||
<div class="avatarContainer"> | ||
<div class="avatarGroup" v-if="true"> | ||
<div class="avatarItem"> | ||
<ion-thumbnail class="avatar _small"> | ||
<img v-if="false" :src="speaker.photoUrl" @error="handle404OnSpeakerThumbnail($event.target as HTMLImageElement)" /> | ||
<img v-if="true" :src="baseUrl+'assets/images/svg/avatar-shadow.svg'" /> | ||
</ion-thumbnail> | ||
</div> | ||
</div> | ||
<div class="avatarInfos _small"> | ||
<ion-text class="avatarInfos-title">Conference</ion-text> | ||
<ion-text class="avatarInfos-subTitle" v-if="true"> | ||
(+X Speaker(s)) | ||
</ion-text> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</ion-item> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import {typesafeI18n} from "@/i18n/i18n-vue"; | ||
import {IonBadge, IonThumbnail} from "@ionic/vue"; | ||
const { LL } = typesafeI18n() | ||
const baseUrl = import.meta.env.BASE_URL; | ||
</script> | ||
|
||
<style lang="scss" scoped> | ||
.talkResumeCard { | ||
--padding-start: 0; | ||
--inner-padding-top: var(--app-gutters-medium); | ||
--inner-padding-bottom: var(--app-gutters-medium); | ||
padding: 0; | ||
&:last-child { | ||
--border-style: none; | ||
--inner-padding-bottom: 0; | ||
} | ||
&-line { | ||
height: 100%; | ||
min-width: 2px; | ||
margin-right: var(--app-gutters-medium); | ||
border-radius: 4px; | ||
background: var(--app-primary); | ||
} | ||
&-content { | ||
flex: 1; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
gap: var(--app-gutters-medium); | ||
&-description { | ||
width: 100%; | ||
font-size: 14px; | ||
line-height: 1.2; | ||
color: var(--app-primary); | ||
} | ||
} | ||
&-footer { | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
width: 100%; | ||
.avatarContainer { | ||
gap: var(--app-gutters); | ||
} | ||
.avatarInfos { | ||
justify-content: end; | ||
} | ||
} | ||
} | ||
</style> |
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
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
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
Oops, something went wrong.