mirror of
https://github.com/notion-enhancer/notion-enhancer.git
synced 2025-04-11 15:59:03 +00:00
fix: move nord/neutral to themes folder, reword sponsor perks, dont trigger reload btn when agreeing to privacy policy
This commit is contained in:
parent
a6e9504b6f
commit
6519f501d3
@ -10,7 +10,8 @@ import { Description } from "../components/Description.mjs";
|
|||||||
import { useState } from "../state.mjs";
|
import { useState } from "../state.mjs";
|
||||||
|
|
||||||
const updateGuide =
|
const updateGuide =
|
||||||
"https://notion-enhancer.github.io/getting-started/updating/";
|
"https://notion-enhancer.github.io/getting-started/updating/",
|
||||||
|
tsAndCs = "https://notion-enhancer.github.io/about/terms-and-conditions/";
|
||||||
|
|
||||||
const rectToStyle = (rect) =>
|
const rectToStyle = (rect) =>
|
||||||
["width", "height", "top", "bottom", "left", "right"]
|
["width", "height", "top", "bottom", "left", "right"]
|
||||||
@ -168,11 +169,11 @@ function Banner({ updateAvailable, isDevelopmentBuild }) {
|
|||||||
<!-- Disclaimer: these perks are only a draft, for anyone reading this.
|
<!-- Disclaimer: these perks are only a draft, for anyone reading this.
|
||||||
This information may change at any time. -->
|
This information may change at any time. -->
|
||||||
<${Description} class="mt-[6px]">
|
<${Description} class="mt-[6px]">
|
||||||
Sponsors receive access to priority support channels, private developer
|
Sponsors help make open-source development sustainable and receive
|
||||||
previews, and role cosmetics on Discord. A one-time donation is
|
access to priority support channels, private developer previews, and
|
||||||
equivalent to 1 month of sponsorship perks. To claim your Discord role,
|
role cosmetics on Discord. A one-time donation is equivalent to 1 month
|
||||||
join the server <a href="https://discord.gg/sFWPXtA">here</a> and follow
|
of sponsor perks. To learn more about perks, read the
|
||||||
the instructions in the <b>#welcome</b> channel.
|
<a href=${tsAndCs} class="ml-[3px]">Terms & Conditions</a>.
|
||||||
<//>
|
<//>
|
||||||
</div>`;
|
</div>`;
|
||||||
initDatabase()
|
initDatabase()
|
||||||
|
@ -36,6 +36,7 @@ function Onboarding() {
|
|||||||
<div class="flex items-center my-[14px] gap-[8px]">
|
<div class="flex items-center my-[14px] gap-[8px]">
|
||||||
<${Checkbox}
|
<${Checkbox}
|
||||||
_set=${(checked) => ($submitAgreement.disabled = !checked)}
|
_set=${(checked) => ($submitAgreement.disabled = !checked)}
|
||||||
|
_requireReload=${false}
|
||||||
/>
|
/>
|
||||||
<p class="typography text-[14px] mr-[16px]">
|
<p class="typography text-[14px] mr-[16px]">
|
||||||
I have read and agree to the
|
I have read and agree to the
|
||||||
|
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 80 KiB |
Before Width: | Height: | Size: 81 KiB After Width: | Height: | Size: 81 KiB |
Loading…
Reference in New Issue
Block a user