Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Link to registration
Alexis Sellier committed 5 years ago
commit 90747e6cfedf01aa4531a98ad4d923c33430f9a7
parent 0e43bf4cbf2923e86ccdcbb5fe45b7a61ea88fc1
1 file changed +15 -5
modified src/base/orgs/Profile.svelte
@@ -27,16 +27,20 @@
    justify-self: start;
    align-self: center;
  }
+
  .actions {
+
    margin-top: 2rem;
+
  }
</style>

{#await Org.get(address, config)}
  <Loading />
{:then org}
  {#if org}
-
    <div>
-
      <h1>
-
        {address}
-
      </h1>
+
    <main>
+
      <header>
+
        <h1 class="bold">{address}</h1>
+
      </header>
+

      <div class="fields">
        <div class="label">Address</div><div>{org.address}</div>
        <div class="label">Owner</div><div>{org.safe}</div>
@@ -53,7 +57,13 @@
          {/await}
        </div>
      </div>
-
    </div>
+

+
      <div class="actions">
+
        <button on:click={() => navigate(`/registrations/${name}`)} class="tiny secondary">
+
          View registration &rarr;
+
        </button>
+
      </div>
+
    </main>
  {:else}
    <Modal subtle>
      <span slot="title">🏜️</span>