Skip to content

Commit

Permalink
fix: copy
Browse files Browse the repository at this point in the history
  • Loading branch information
reneaaron committed Nov 1, 2023
1 parent f865ad1 commit 466a740
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions views/apps/create.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@

<div class="w-full max-w-screen-sm mx-auto">
<h2 class="font-bold text-2xl font-headline mb-2 dark:text-white text-center">
🚀 Almost there, just one more step
🚀 Almost there
</h2>
<div class="font-medium text-center mb-8 dark:text-white">
Complete the setup by pasting or scanning your connection's pairing secret in the desired app to finalise the connection.
Complete the last step of the setup by pasting or scanning your connection's pairing secret in the desired app to finalise the connection.
</div>

<div class="flex flex-col">
Expand All @@ -18,13 +18,13 @@ <h2 class="font-bold text-2xl font-headline mb-2 dark:text-white text-center">
</svg>
Open in supported app
</a>
<div class="text-center text-xs dark:text-neutral-500">
<div class="text-center text-xs text-gray-600 dark:text-neutral-500">
Only connect with apps you trust!
</div>

{{if not (eq .PairingSecret "")}}
<div class="dark:text-white text-sm text-center mt-8 mb-1">Manually pair app ↓</div>
<button id="copy-button" class="w-full inline-flex items-center justify-center px-3 py-2 cursor-pointer duration-150 transition bg-white text-purple-700 dark:bg-surface-02dp dark:text-neutral-200 border dark:border-white/10 hover:bg-gray-50 dark:hover:bg-surface-16dp bg-origin-border shadow rounded-md focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary mt-2 mb-2">
<button id="copy-button" class="w-full inline-flex items-center justify-center px-3 py-2 cursor-pointer duration-150 transition bg-white text-purple-700 dark:bg-surface-02dp dark:text-neutral-200 border dark:border-white/10 hover:bg-gray-50 dark:hover:bg-surface-16dp bg-origin-border rounded-md focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary mt-2 mb-2">
<svg class="mr-2" width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"
fill="currentColor">
<rect width="10" height="14" x="6" y="6" rx="1.5"></rect>
Expand All @@ -34,7 +34,7 @@ <h2 class="font-bold text-2xl font-headline mb-2 dark:text-white text-center">
<span id="copy-text">Copy pairing secret</span>
</button>

<button onclick="document.getElementById('pairing-details').classList.toggle('hidden');return false" class="w-full inline-flex items-center justify-center px-3 py-2 cursor-pointer duration-150 transition bg-white text-purple-700 dark:bg-surface-02dp dark:text-neutral-200 border dark:border-white/10 hover:bg-gray-50 dark:hover:bg-surface-16dp bg-origin-border shadow rounded-md focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary mb-4 lg:mb-6">
<button onclick="document.getElementById('pairing-details').classList.toggle('hidden');return false" class="w-full inline-flex items-center justify-center px-3 py-2 cursor-pointer duration-150 transition bg-white text-purple-700 dark:bg-surface-02dp dark:text-neutral-200 border dark:border-white/10 hover:bg-gray-50 dark:hover:bg-surface-16dp bg-origin-border rounded-md focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-primary mb-4 lg:mb-6">
<svg class="mr-2" width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"
fill="currentColor">
<path d="M12 14a2 2 0 100-4 2 2 0 000 4z"></path>
Expand Down

0 comments on commit 466a740

Please sign in to comment.