Spaces:
Sleeping
Sleeping
wording btn
Browse filesFiles changed (2)
149 unmodified lines150151152153154155156149 unmodified linesclassName="bg-white lg:hidden -translate-y-[calc(100%+8px)] absolute left-0 top-0 shadow-md text-gray-950 text-xs font-medium py-2 px-3 lg:px-4 rounded-lg flex items-center gap-2 border border-gray-100 hover:brightness-150 transition-all duration-100 cursor-pointer"onClick={() => setView("preview")}><MdPreview />View Preview</button>)}149 unmodified lines150151152153154155156149 unmodified linesclassName="bg-white lg:hidden -translate-y-[calc(100%+8px)] absolute left-0 top-0 shadow-md text-gray-950 text-xs font-medium py-2 px-3 lg:px-4 rounded-lg flex items-center gap-2 border border-gray-100 hover:brightness-150 transition-all duration-100 cursor-pointer"onClick={() => setView("preview")}><MdPreview className="text-sm" />View Preview</button>)}
56 unmodified lines57585960616263648 unmodified lines7374757677787956 unmodified linesclassName="lg:hidden bg-gray-950 shadow-md 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-900 hover:brightness-150 transition-all duration-100 cursor-pointer"onClick={() => setView("editor")}><FaLaptopCode />View Code</button>{html === defaultHTML && (<a8 unmodified linesclassName="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"onClick={handleRefreshIframe}><TbReload />Refresh Preview</button></div>56 unmodified lines57585960616263648 unmodified lines7374757677787956 unmodified linesclassName="lg:hidden bg-gray-950 shadow-md 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-900 hover:brightness-150 transition-all duration-100 cursor-pointer"onClick={() => setView("editor")}><FaLaptopCode className="text-sm" />Hide preview</button>{html === defaultHTML && (<a8 unmodified linesclassName="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"onClick={handleRefreshIframe}><TbReload className="text-sm" />Refresh Preview</button></div>
src/components/ask-ai/ask-ai.tsx+1-1
src/components/preview/preview.tsx+3-3