mirror of
https://github.com/aljazceru/hypergolic.git
synced 2026-02-19 04:14:31 +01:00
Problem: a lot of stuff isn't implemented so feels broken
This commit is contained in:
@@ -3,7 +3,9 @@
|
||||
import { page } from '$app/stores';
|
||||
import { Badge } from '@/components/ui/badge';
|
||||
import Separator from '@/components/ui/separator/separator.svelte';
|
||||
import { Mail, Package, Pyramid, Rocket, Users } from 'lucide-svelte';
|
||||
import { currentUser } from '@/stores/session';
|
||||
import { GitBranch, HelpCircle, Mail, Package, Pyramid, Rocket, Users } from 'lucide-svelte';
|
||||
import { GitAltBrand } from 'svelte-awesome-icons';
|
||||
|
||||
let iconClass = 'h-5 w-5 md:h-4 md:w-4';
|
||||
|
||||
@@ -16,25 +18,39 @@
|
||||
};
|
||||
</script>
|
||||
|
||||
{#if $currentUser}
|
||||
<a href="{base}/inbox" class={getClass('inbox')}>
|
||||
<Mail class={iconClass} />
|
||||
Inbox
|
||||
<Badge class="ml-auto flex h-6 w-6 shrink-0 items-center justify-center rounded-full">1</Badge>
|
||||
</a>
|
||||
<Separator class="dark:bg-slate-700" />
|
||||
{/if}
|
||||
<a href="{base}/rockets" class={getClass('rockets')}>
|
||||
<Rocket class={iconClass} />
|
||||
Rockets
|
||||
</a>
|
||||
<a href="##" class={getClass('problems')}>
|
||||
<Pyramid class={iconClass} />
|
||||
Problem Tracker
|
||||
<Badge class="ml-auto flex h-6 w-6 shrink-0 items-center justify-center rounded-full">6</Badge>
|
||||
</a>
|
||||
<a href="{base}/products" class={getClass('products')}>
|
||||
<Package class={iconClass} />
|
||||
Products
|
||||
</a>
|
||||
<a href="##" class={getClass('people')}>
|
||||
<a href="{base}/problems" class={getClass('problems')}>
|
||||
<Pyramid class={iconClass} />
|
||||
Problem Tracker
|
||||
<!-- <Badge class="ml-auto flex h-6 w-6 shrink-0 items-center justify-center rounded-full">6</Badge> -->
|
||||
</a>
|
||||
|
||||
<!-- <a href="##" class={getClass('people')}>
|
||||
<Users class={iconClass} />
|
||||
People
|
||||
</a> -->
|
||||
<Separator class="dark:bg-slate-700" />
|
||||
<a href="https://github.com/nostrocket/hypergolic" class={getClass('_')}>
|
||||
<GitAltBrand class={iconClass} />
|
||||
Source
|
||||
</a>
|
||||
<a href="{base}/help" class={getClass('help')}>
|
||||
<HelpCircle class={iconClass} />
|
||||
Help
|
||||
</a>
|
||||
<Separator />
|
||||
<a href="##" class={getClass('inbox')}>
|
||||
<Mail class={iconClass} />
|
||||
Inbox
|
||||
</a>
|
||||
|
||||
1
src/routes/help/+page.svelte
Normal file
1
src/routes/help/+page.svelte
Normal file
@@ -0,0 +1 @@
|
||||
Wouldn't it be cool to have a nostr help thread here?
|
||||
1
src/routes/inbox/+page.svelte
Normal file
1
src/routes/inbox/+page.svelte
Normal file
@@ -0,0 +1 @@
|
||||
<img src="https://i.imgflip.com/908qyq.jpg" />
|
||||
8
src/routes/problems/+page.svelte
Normal file
8
src/routes/problems/+page.svelte
Normal file
@@ -0,0 +1,8 @@
|
||||
<script lang="ts">
|
||||
</script>
|
||||
|
||||
This is a work in progress, for now please have a look at the <a
|
||||
class="underline"
|
||||
href="https://nostrocket.github.io/oxygen/nr/Nostrocket/problems/d0afd68b5cafa58382edb38b7ac7feef229a916f22330922e4be6cd22193b1a5?tab=problem"
|
||||
>Oxygen problem tracker</a
|
||||
>.
|
||||
@@ -96,9 +96,7 @@
|
||||
{/each}
|
||||
{:else}
|
||||
<Alert.Root>
|
||||
<Alert.Description
|
||||
>Currently, there are no products on the mainnet; you can check the testnet.</Alert.Description
|
||||
>
|
||||
<Alert.Description>No products found!</Alert.Description>
|
||||
</Alert.Root>
|
||||
{/if}
|
||||
</Tabs.Content>
|
||||
@@ -106,8 +104,7 @@
|
||||
<Alert.Root class="my-2">
|
||||
<ExclamationTriangle class="h-4 w-4" />
|
||||
<Alert.Title>Note</Alert.Title>
|
||||
<Alert.Description
|
||||
>The following products are for testing purposes only. Please do not send real Bitcoin.</Alert.Description
|
||||
<Alert.Description>The following products are for testing and are not real.</Alert.Description
|
||||
>
|
||||
</Alert.Root>
|
||||
{#each testnet as [rocket, groups] (rocket.Event.id)}
|
||||
|
||||
Reference in New Issue
Block a user