File tree Expand file tree Collapse file tree
keycloak/themes/tbpro/assets Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,11 +37,3 @@ body {
3737 white-space : nowrap;
3838 border-width : 0 ;
3939}
40-
41- @keyframes wiggle {
42- 0% { transform : rotate (0deg ); }
43- 25% { transform : rotate (-5deg ); }
44- 50% { transform : rotate (5deg ); }
45- 75% { transform : rotate (-5deg ); }
46- 100% { transform : rotate (0deg ); }
47- }
Original file line number Diff line number Diff line change @@ -6,7 +6,11 @@ import BaseTemplate from '@kc/vue/BaseTemplate.vue';
66// Match routes based on pageId / route name
77const pageId = ref (window ._page .pageId );
88const routeName = pageId .value && router .hasRoute (pageId .value ) ? pageId .value : ' route-not-implemented' ;
9- console .log (' route:' , routeName );
9+ // Information for easier debugging
10+ console .info ({
11+ route: routeName ,
12+ pageId: pageId .value ,
13+ });
1014router .replace ({ name: routeName });
1115 </script >
1216
Original file line number Diff line number Diff line change 11<script setup lang="ts">
22import { ref } from ' vue' ;
33import OrbGraphic from ' @kc/images/orb-graphic.png' ;
4-
5- const pageId = ref (window ._page .pageId );
6-
7- const playingAnimation = ref (false );
8- const onWiggle = async () => {
9- playingAnimation .value = true ;
10- window .setTimeout (() => {
11- playingAnimation .value = false ;
12- }, 1000 );
13- };
144 </script >
155
166<template >
177 <section class =" bolt-defaults" >
18- <div class =" debug-page-id" @click =" onWiggle" :class =" { wiggle: playingAnimation }" >{{ pageId }}</div >
19-
208 <div class =" card" >
219 <!-- Left side: Orb graphic -->
2210 <div class =" left-side" >
@@ -34,22 +22,6 @@ const onWiggle = async () => {
3422</template >
3523
3624<style scoped>
37- .wiggle {
38- animation : wiggle 1s ;
39- }
40-
41- .debug-page-id {
42- cursor : pointer ;
43- position : absolute ;
44- top : 1rem ;
45- left : 1rem ;
46- background-color : black ;
47- color : white ;
48- border-radius : 1rem ;
49- padding : 0.5rem ;
50- z-index : 2 ;
51- }
52-
5325section {
5426 min-height : 100vh ;
5527 display : flex ;
You can’t perform that action at this time.
0 commit comments