Skip to content

Commit

Permalink
reorder some variables
Browse files Browse the repository at this point in the history
  • Loading branch information
MaHaWo committed Aug 19, 2024
1 parent e262c2a commit 98faf55
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/lib/components/AbstractContent.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,15 @@
import logo_dark from '../assets/mondey_dark.svg';
import logo_light from '../assets/mondey_light.svg';
// variables
// variables for showing or hiding elements
export let showBottomNavbar = true;
// variables for communication upon hitting the page
// FIXME: these are placehorlders and must later be changed using contexts or other better mechanisms for inter component comunication
export let lastpage = '/';
export let nextpage = '/';
export let infopage = '/';
// button stylings
export const basicBtnForm = 'rounded-lg text-xl p-2';
Expand All @@ -38,12 +44,6 @@
// styling for the nav
const navULclass =
'flex flex-col p-4 mt-4 md:flex-row md:space-x-8 rtl:space-x-reverse md:mt-0 md:text-lg md:font-medium';
// variables for communication upon hitting the page
// FIXME: these are placehorlders and must later be changed using contexts or other better mechanisms for inter component comunication
$: lastpage = '/';
$: nextpage = '/';
$: infopage = '/';
</script>

<!-- Top element-->
Expand All @@ -68,7 +68,7 @@

<!--Content goes here-->
<slot></slot>
<!-- FIXME: check slots again to make sure I use it correctly-->
<!-- FIXME: check slots again to make sure I use them correctly-->

{#if showBottomNavbar}
<!-- bottom element: back, info and next buttons-->
Expand Down

0 comments on commit 98faf55

Please sign in to comment.