Skip to content

Commit

Permalink
(style) - #84 Fix design btn back current slot
Browse files Browse the repository at this point in the history
  • Loading branch information
robinlopez committed Apr 22, 2024
1 parent 8d3c0da commit 863ef7e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<template>
<!-- TODO #84 connect the back button to the top of the page -->
<!-- TODO #84 connect the back current slot button -->
<transition name="scaleUp">
<ion-fab vertical="bottom" horizontal="start" slot="fixed">
<ion-fab class="buttonBackCurrentSlot" vertical="bottom" horizontal="start" slot="fixed">
<ion-fab-button class="buttonBackTop" @click=""
:aria-label="LL.Go_Back_Screen()">
<ion-icon :icon="arrowUpSharp"></ion-icon>
:aria-label="LL.Go_Back_Current_Slot()">
<ion-icon src="/assets/icons/solid/pick-current-slot.svg" :aria-hidden="true"></ion-icon>
</ion-fab-button>
</ion-fab>
</transition>
Expand All @@ -13,17 +13,14 @@
<script setup lang="ts">
import { IonFab,IonFabButton } from '@ionic/vue';
import { typesafeI18n } from "@/i18n/i18n-vue";
import { arrowUpSharp } from "ionicons/icons";
const { LL } = typesafeI18n()
</script>


<style lang="scss">
.buttonBackTop {
.buttonBackCurrentSlot {
ion-fab-button {
height: 44px;
width: 44px;
--background: var(--app-primary);
--color: var(--app-white);
Expand Down
2 changes: 1 addition & 1 deletion mobile/src/i18n/en/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const en = {
Back_User_Dashboard: `Back dashboard`,
Avatar_Speaker: `Avatar speaker`,
Nav_Back: `Back`,
Go_Back_Top_Screen: 'Back to top of page',
Go_Back_Current_Slot: 'Back to current slot',
Conference_Selector: `Conference Selector`,
Pinned_events: `Pinned events`,
Config_event: `Configuration event`,
Expand Down
2 changes: 1 addition & 1 deletion mobile/src/views/event/FavoritesPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
import ProvideFeedbackTalkButton from "@/components/talk-card/ProvideFeedbackTalkButton.vue";
import PoweredVoxxrin from "@/components/ui/PoweredVoxxrin.vue";
import {useRoomsStats} from "@/state/useRoomsStats";
import ButtonBackTop from "@/components/ui/ButtonBackTop.vue";
import ButtonBackTop from "@/components/ui/ButtonBackCurrentSlot.vue";
const { LL } = typesafeI18n()
Expand Down
2 changes: 1 addition & 1 deletion mobile/src/views/event/SchedulePage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ import {useUserEventTalkNotes} from "@/state/useUserTalkNotes";
import ProvideFeedbackTalkButton from "@/components/talk-card/ProvideFeedbackTalkButton.vue";
import PoweredVoxxrin from "@/components/ui/PoweredVoxxrin.vue";
import {useRoomsStats} from "@/state/useRoomsStats";
import ButtonBackTop from "@/components/ui/ButtonBackTop.vue";
import ButtonBackTop from "@/components/ui/ButtonBackCurrentSlot.vue";
const LOGGER = Logger.named("SchedulePage");
Expand Down

0 comments on commit 863ef7e

Please sign in to comment.