Update src/components/preview/preview.tsx
Browse files
src/components/preview/preview.tsx
CHANGED
@@ -60,21 +60,12 @@ function Preview({
|
|
60 |
<FaLaptopCode />
|
61 |
Back to Editor
|
62 |
</button>
|
63 |
-
{html === defaultHTML && (
|
64 |
-
<a
|
65 |
-
href="https://huggingface.co/spaces/victor/deepsite-gallery"
|
66 |
-
target="_blank"
|
67 |
-
className="bg-gray-200 text-gray-950 text-xs lg:text-sm font-medium py-2 px-3 lg:px-4 rounded-lg flex items-center gap-2 border border-gray-200 hover:bg-gray-300 transition-all duration-100 cursor-pointer"
|
68 |
-
>
|
69 |
-
🖼️ <span>DeepSite Gallery</span>
|
70 |
-
</a>
|
71 |
-
)}
|
72 |
<button
|
73 |
className="bg-white lg:bg-gray-950 shadow-md text-gray-950 lg:text-white text-xs lg:text-sm font-medium py-2 px-3 lg:px-4 rounded-lg flex items-center gap-2 border border-gray-100 lg:border-gray-900 hover:brightness-150 transition-all duration-100 cursor-pointer"
|
74 |
onClick={handleRefreshIframe}
|
75 |
>
|
76 |
<TbReload />
|
77 |
-
|
78 |
</button>
|
79 |
</div>
|
80 |
)}
|
|
|
60 |
<FaLaptopCode />
|
61 |
Back to Editor
|
62 |
</button>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
<button
|
64 |
className="bg-white lg:bg-gray-950 shadow-md text-gray-950 lg:text-white text-xs lg:text-sm font-medium py-2 px-3 lg:px-4 rounded-lg flex items-center gap-2 border border-gray-100 lg:border-gray-900 hover:brightness-150 transition-all duration-100 cursor-pointer"
|
65 |
onClick={handleRefreshIframe}
|
66 |
>
|
67 |
<TbReload />
|
68 |
+
Обновить Preview
|
69 |
</button>
|
70 |
</div>
|
71 |
)}
|