Skip to content

Commit 9bc0ead

Browse files
feat(ui): add scope naming policy link (#942)
fix #900 + giving little bit more space between text and button because shadow of the button was to close to the text. <img width="1429" alt="Capture d’écran 2025-02-07 à 16 18 51" src="https://github.com/user-attachments/assets/4a560bdc-01f9-42aa-849f-13fd38f6be91" /> <img width="1429" alt="Capture d’écran 2025-02-07 à 16 18 56" src="https://github.com/user-attachments/assets/e135082c-af6b-4d88-9dad-d8037a56813f" />
1 parent 1984de9 commit 9bc0ead

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

frontend/islands/new.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export function ScopeSelect(
8787
locked={locked}
8888
/>
8989
{!locked && (
90-
<p>
90+
<p class="mt-2">
9191
or{" "}
9292
<button
9393
class="inline link"
@@ -103,6 +103,12 @@ export function ScopeSelect(
103103
<a href="/account/settings" class="link">View quotas</a> or{" "}
104104
<a href="/account" class="link">manage your scopes</a>.
105105
</p>
106+
<p class="text-jsr-gray-700 text-sm">
107+
Before creating a new scope, please read the{" "}
108+
<a href="/docs/usage-policy#scope-names" class="link">
109+
scope naming policy
110+
</a>.
111+
</p>
106112
</>
107113
);
108114
}

0 commit comments

Comments
 (0)