Remove orgs listing until it is redesigned

Signed-off-by: Alexis Sellier <self@cloudhead.io>
This commit is contained in:
Alexis Sellier
2022-07-12 18:08:42 +02:00
parent 5d34f77bc3
commit 4f86bf13a2
5 changed files with 4 additions and 22 deletions
+1 -1
View File
@@ -88,7 +88,7 @@
<Vesting {config} session={$session} />
</Route>
<Registrations {config} session={$session} />
<Orgs {config} />
<Orgs />
<Seeds {config} session={$session} />
<Faucet {config} />
<Users />
-1
View File
@@ -165,7 +165,6 @@
<Search />
</div>
<div class="nav">
<a use:link class="nav-link" href="/orgs/">Orgs</a>
<a use:link class="nav-link" href="/registrations">Register</a>
{#if session && Object.keys(session.siwe).length > 0}
-14
View File
@@ -1,5 +1,4 @@
<script lang="ts">
import { navigate } from 'svelte-routing';
import type { Config } from '@app/config';
import { Profile } from '@app/profile';
import { Org } from '@app/base/orgs/Org';
@@ -32,10 +31,6 @@
const getEntities = Promise.all([getUsers, getOrgs, getSeeds]).then(([users, orgs, seeds]) => {
return { users, orgs, seeds };
});
const viewMore = () => {
navigate("/orgs");
};
</script>
<style>
@@ -61,10 +56,6 @@
.loading {
padding-top: 2rem;
}
.actions {
margin-top: 1rem;
text-align: center;
}
@media (max-width: 720px) {
.blurb {
max-width: none;
@@ -106,11 +97,6 @@
<Cards {config} profiles={entities.users} orgs={entities.orgs}>
<div class="empty">There are no orgs or users.</div>
</Cards>
<div class="actions">
<button class="small secondary" on:click={viewMore}>
View all
</button>
</div>
{/if}
{:catch}
<div class="padding">
+2 -5
View File
@@ -1,14 +1,11 @@
<script lang="ts">
import { Route } from "svelte-routing";
import Index from '@app/base/orgs/Index.svelte';
import type { Config } from '@app/config';
import Redirect from "@app/Redirect.svelte";
export let config: Config;
import NotFound from "@app/NotFound.svelte";
</script>
<Route path="/orgs">
<Index {config} />
<NotFound title="404" subtitle="Radicle Orgs are in the process of being re-designed." />
</Route>
<Route path="/orgs/:addressOrName" let:params>
+1 -1
View File
@@ -202,7 +202,7 @@
<div class="stat issue-count clickable widget" class:active={content == ProjectContent.Issues} on:click={toggleIssues}>
<strong>{groupIssues(issues).open.length}</strong> issue(s)
</div>
{:catch e}
{:catch}
<div class="stat issue-count not-allowed widget" title="Not supported">
0 issue(s)
</div>