victor HF staff nsarrazin HF staff commited on
Commit
fe072ba
1 Parent(s): 1549695

modal wording (#1000)

Browse files

* wording

* format

---------

Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>

src/lib/components/LoginModal.svelte CHANGED
@@ -19,12 +19,13 @@
19
  <Logo classNames="mr-1" />
20
  {PUBLIC_APP_NAME}
21
  </h2>
22
- <p class="text-lg font-semibold leading-snug text-gray-800" style="text-wrap: balance;">
23
  {PUBLIC_APP_DESCRIPTION}
24
  </p>
25
- <p class="rounded-xl border bg-white/80 p-2 text-base text-gray-800">
26
- You have reached the guest message limit, please Sign In with your Hugging Face account to
27
- continue.
 
28
  </p>
29
 
30
  <form
 
19
  <Logo classNames="mr-1" />
20
  {PUBLIC_APP_NAME}
21
  </h2>
22
+ <p class="text-balance text-lg font-semibold leading-snug text-gray-800">
23
  {PUBLIC_APP_DESCRIPTION}
24
  </p>
25
+ <p class="text-balance rounded-xl border bg-white/80 p-2 text-base text-gray-800">
26
+ You have reached the guest message limit, <strong class="font-semibold"
27
+ >Sign In with a free Hugging Face account</strong
28
+ > to continue using HuggingChat.
29
  </p>
30
 
31
  <form
src/lib/components/chat/AssistantIntroduction.svelte CHANGED
@@ -121,7 +121,7 @@
121
  >
122
  {#if isCopied}
123
  <CarbonCheckmark class="text-xxs text-green-600 max-sm:text-xs" />
124
- <span class="text-green-600 max-sm:hidden"> Copied </span>
125
  {:else}
126
  <CarbonExport class="text-xxs max-sm:text-xs" />
127
  <span class="max-sm:hidden"> Share </span>
 
121
  >
122
  {#if isCopied}
123
  <CarbonCheckmark class="text-xxs text-green-600 max-sm:text-xs" />
124
+ <span class="text-green-600 max-sm:hidden"> Link copied </span>
125
  {:else}
126
  <CarbonExport class="text-xxs max-sm:text-xs" />
127
  <span class="max-sm:hidden"> Share </span>