aboutsummaryrefslogtreecommitdiff
path: root/src/routes/user
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-06-23 01:14:22 -0700
committerFuwn <[email protected]>2025-06-23 01:14:22 -0700
commitcbf1283830b76a634ef3ffbe5cc0d3ba4d8d712a (patch)
treed0f4711b42f68d4ffe134ad9468e5fed9f5094b1 /src/routes/user
parentfeat(settings): Custom CSS (diff)
downloaddue.moe-cbf1283830b76a634ef3ffbe5cc0d3ba4d8d712a.tar.xz
due.moe-cbf1283830b76a634ef3ffbe5cc0d3ba4d8d712a.zip
style(src): Remove self-closing p and div tags
Diffstat (limited to 'src/routes/user')
-rw-r--r--src/routes/user/[user]/+page.svelte14
-rw-r--r--src/routes/user/[user]/badges/+page.svelte34
2 files changed, 24 insertions, 24 deletions
diff --git a/src/routes/user/[user]/+page.svelte b/src/routes/user/[user]/+page.svelte
index f86660fd..fc4655f6 100644
--- a/src/routes/user/[user]/+page.svelte
+++ b/src/routes/user/[user]/+page.svelte
@@ -302,7 +302,7 @@
{#if schedule && preferences && preferences.biography && preferences.biography.length > 0}
<br />
{:else}
- <p />
+ <p></p>
{/if}
{#if $Profile.fetching}
@@ -325,7 +325,7 @@
{/if}
{#if schedule && preferences && preferences.pinned_hololive_streams.length > 0}
- <p />
+ <p></p>
<div class="card">
<div class="hololive-badges">
@@ -352,7 +352,7 @@
{/if}
{#if preferences && userData && userData.id === $identity.id}
- <p />
+ <p></p>
<details open>
<summary>{$locale().user.preferences.title}</summary>
@@ -367,7 +367,7 @@
{$locale().user.preferences.hideMissingBadges.title}
<SettingHint lineBreak>{$locale().user.preferences.hideMissingBadges.hint}</SettingHint>
- <p />
+ <p></p>
<input
type="checkbox"
@@ -378,7 +378,7 @@
/>
{$locale().user.preferences.hideAWCBadges.title}
- <p />
+ <p></p>
Pinned Categories
@@ -416,7 +416,7 @@
</span>
</div>
- <p />
+ <p></p>
Biography
@@ -438,7 +438,7 @@
placeholder="Markdown supported!"
/>
- <p />
+ <p></p>
Badge Wall Custom CSS
diff --git a/src/routes/user/[user]/badges/+page.svelte b/src/routes/user/[user]/badges/+page.svelte
index 43beddea..9f229071 100644
--- a/src/routes/user/[user]/badges/+page.svelte
+++ b/src/routes/user/[user]/badges/+page.svelte
@@ -558,7 +558,7 @@
<b>Notice:</b> The Badge Wall overseer system has detected badges containing
AI-generated material on your wall. {shadowHiddenCount} of your badges have been shadow
hidden.
- <p />
+ <p></p>
You may use the "Un-shadow Hide Badges" button to unhide these badges, from where you will
be required to use the hide feature to hide these badges from the public, while allowing
them to stay visible to you as the account holder.
@@ -569,10 +569,10 @@
material, this includes Badge Wall. If you have collected badges with AI-generated
elements, kindly use the hide feature to hide these badges from the public, while
allowing them to stay visible to you as the account holder.
- <p />
+ <p></p>
Failure to comply with this request at your earliest convenience will result in the hiding
of all badges from your Badge Wall.
- <p />
+ <p></p>
<button
on:click={async () => {
noticeDismissed = true;
@@ -585,7 +585,7 @@
</div>
{/if}
- <p />
+ <p></p>
<div class="card">
{#if authorised}
@@ -660,7 +660,7 @@
)
])}
- <p />
+ <p></p>
{#if error}
<p style="color: red;">{error}</p>
@@ -737,7 +737,7 @@
<small>Must be full date and time, defaults to now if any fields empty</small>
</span>
- <p />
+ <p></p>
<div class="edit-row-2">
<input
@@ -825,7 +825,7 @@
</div>
{/if}
- <p />
+ <p></p>
<Badges
{ungroupedBadges}
@@ -876,7 +876,7 @@
<Popup fullscreen onLeave={() => (importMode = false)} show={importMode}>
{$locale().user.badges.importMode.title}
- <p />
+ <p></p>
<input
type="text"
@@ -895,7 +895,7 @@
size="20"
/>
- <p />
+ <p></p>
<input type="checkbox" id="import_links" name="import_links" bind:checked={importLinks} />
{$locale().user.badges.importMode.importLinks.title}
@@ -903,12 +903,12 @@
{$locale().user.badges.importMode.importLinks.hint}
</SettingHint>
- <p />
+ <p></p>
<input type="checkbox" id="import_links" name="import_links" bind:checked={importReplies} />
{$locale().user.badges.importMode.importReplies}
- <p />
+ <p></p>
<button
on:click={() => {
@@ -923,7 +923,7 @@
{$locale().user.badges.importMode.fetch}
</button>
- <p />
+ <p></p>
<details>
<summary>{$locale().user.badges.importMode.dangerous}</summary>
@@ -945,7 +945,7 @@
</details>
{#if importImages && importImages.length > 0}
- <p />
+ <p></p>
{$locale({
values: {
@@ -970,7 +970,7 @@
<Popup fullscreen onLeave={() => (migrateMode = false)} show={migrateMode}>
Migrate Category
- <p />
+ <p></p>
<input
type="text"
@@ -990,7 +990,7 @@
/>
<SettingHint lineBreak>Leave category empty to migrate all to or from uncategorised.</SettingHint>
- <p />
+ <p></p>
<button
on:click={() => {
@@ -1014,7 +1014,7 @@
versa.
</SettingHint>
- <p />
+ <p></p>
<input
type="text"
@@ -1026,7 +1026,7 @@
/>
<SettingHint lineBreak>Leave category field empty to hide all.</SettingHint>
- <p />
+ <p></p>
<button
on:click={() => {