UI tweaks
Browse files
src/components/deploy-button/deploy-button.tsx
CHANGED
@@ -117,7 +117,12 @@ function DeployButton({
|
|
117 |
)}
|
118 |
>
|
119 |
{!auth ? (
|
120 |
-
<Login html={html}
|
|
|
|
|
|
|
|
|
|
|
121 |
) : (
|
122 |
<>
|
123 |
<header className="flex items-center text-sm px-4 py-2 border-b border-gray-200 gap-2 bg-gray-100 font-semibold text-gray-700">
|
|
|
117 |
)}
|
118 |
>
|
119 |
{!auth ? (
|
120 |
+
<Login html={html}>
|
121 |
+
<p className="text-gray-500 text-sm mb-3">
|
122 |
+
You need to be logged in to deploy your project. Please log in
|
123 |
+
using the button below.
|
124 |
+
</p>
|
125 |
+
</Login>
|
126 |
) : (
|
127 |
<>
|
128 |
<header className="flex items-center text-sm px-4 py-2 border-b border-gray-200 gap-2 bg-gray-100 font-semibold text-gray-700">
|
src/components/header/header.tsx
CHANGED
@@ -29,11 +29,11 @@ function Header({
|
|
29 |
</h1>
|
30 |
<p className="text-gray-700 max-md:hidden">|</p>
|
31 |
<button
|
32 |
-
className="max-md:hidden relative cursor-pointer flex-none flex items-center justify-center rounded-md text-xs font-semibold leading-
|
33 |
onClick={handleConfirm}
|
34 |
>
|
35 |
-
<MdAdd className="
|
36 |
-
New
|
37 |
</button>
|
38 |
<p className="text-gray-500 text-sm max-md:hidden">
|
39 |
Imagine and Share in 1-Click
|
|
|
29 |
</h1>
|
30 |
<p className="text-gray-700 max-md:hidden">|</p>
|
31 |
<button
|
32 |
+
className="max-md:hidden relative cursor-pointer flex-none flex items-center justify-center rounded-md text-xs font-semibold leading-4 py-1.5 px-3 hover:bg-gray-700 text-gray-100 shadow-sm dark:shadow-highlight/20 bg-gray-800"
|
33 |
onClick={handleConfirm}
|
34 |
>
|
35 |
+
<MdAdd className="mr-1 text-base" />
|
36 |
+
New
|
37 |
</button>
|
38 |
<p className="text-gray-500 text-sm max-md:hidden">
|
39 |
Imagine and Share in 1-Click
|