Onboarding improvements (#76)
* Disabled pro modal during onboarding * Restructured the way onboarding changes settings * Added better upload date template placeholder
This commit is contained in:
@@ -13,13 +13,17 @@
|
||||
</script>
|
||||
</head>
|
||||
<body
|
||||
x-data={"{ sidebarVisible: false, proEnabled: #{Settings.get!(:pro_enabled)} }"}
|
||||
x-data={"{
|
||||
sidebarVisible: false,
|
||||
proEnabled: #{Settings.get!(:pro_enabled)},
|
||||
onboarding: #{Settings.get!(:onboarding)}
|
||||
}"}
|
||||
class="dark text-bodydark bg-boxdark-2"
|
||||
>
|
||||
<%= @inner_content %>
|
||||
|
||||
<.donate_modal conn={@conn} />
|
||||
<template x-if="!proEnabled">
|
||||
<template x-if="!proEnabled && !onboarding">
|
||||
<.upgrade_modal conn={@conn} />
|
||||
</template>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user