mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-08 13:10:44 +08:00
Remove orgs listing until it is redesigned
Signed-off-by: Alexis Sellier <self@cloudhead.io>
This commit is contained in:
+1
-1
@@ -88,7 +88,7 @@
|
||||
<Vesting {config} session={$session} />
|
||||
</Route>
|
||||
<Registrations {config} session={$session} />
|
||||
<Orgs {config} />
|
||||
<Orgs />
|
||||
<Seeds {config} session={$session} />
|
||||
<Faucet {config} />
|
||||
<Users />
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user