From 054fe6ddee1ecbbf336c1ec9fbce08ebd0a54ebd Mon Sep 17 00:00:00 2001
From: mat <github@matdoes.dev>
Date: Thu, 15 Dec 2022 18:22:09 -0600
Subject: fix mayor skin + move sections dir

---
 src/lib/sections/Zones.svelte | 42 ------------------------------------------
 1 file changed, 42 deletions(-)
 delete mode 100644 src/lib/sections/Zones.svelte

(limited to 'src/lib/sections/Zones.svelte')

diff --git a/src/lib/sections/Zones.svelte b/src/lib/sections/Zones.svelte
deleted file mode 100644
index f7e993b..0000000
--- a/src/lib/sections/Zones.svelte
+++ /dev/null
@@ -1,42 +0,0 @@
-<script lang="ts">
-	import type { CleanMemberProfile } from '$lib/APITypes'
-	import { cleanId } from '$lib/utils'
-
-	export let data: CleanMemberProfile
-
-	let zonesVisitedCount = data.member.zones ? data.member.zones?.filter(z => z.visited).length : 0
-</script>
-
-{#if data.member.zones}
-	<p class="zones-visited-text">
-		Zones visited:
-		<span class="zones-visited-number">
-			<b>{zonesVisitedCount}</b>/{data.member.zones.length}
-		</span>
-	</p>
-	<ul>
-		{#each data.member.zones.filter(z => z.visited) as zone}
-			<li>{cleanId(zone.name)}</li>
-		{/each}
-		{#each data.member.zones.filter(z => !z.visited) as zone}
-			<li class="unvisited-zone">{cleanId(zone.name)}</li>
-		{/each}
-	</ul>
-{/if}
-
-<style>
-	.zones-visited-text {
-		color: var(--theme-darker-text);
-		margin: 0.5em 0;
-	}
-	.zones-visited-number {
-		color: var(--theme-main-text);
-	}
-	.unvisited-zone {
-		opacity: 0.5;
-	}
-	ul {
-		padding-left: 1em;
-		margin: 0;
-	}
-</style>
-- 
cgit 

