Spaces:
Sleeping
Sleeping
add gallery button to victor's space
Browse filesFiles changed (3)
105 unmodified lines106107108109110111112105 unmodified linesconst user = await request_user.json();res.send(user);} catch (err) {res.clearCookie("hf_token");res.status(401).send({ok: false,message: err.message,105 unmodified lines106107108109110111112113114115116105 unmodified linesconst user = await request_user.json();res.send(user);} catch (err) {res.clearCookie("hf_token", {httpOnly: false,secure: true,sameSite: "none",});res.status(401).send({ok: false,message: err.message,
57 unmodified lines58596061626357 unmodified lines<FaLaptopCode />Back to Editor</button><buttonclassName="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}57 unmodified lines5859606162636465666768697057 unmodified lines<FaLaptopCode />Back to Editor</button><ahref="https://huggingface.co/spaces/victor/deepsite-gallery"target="_blank"className="bg-indigo-500 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-indigo-500 hover:brightness-150 transition-all duration-100 cursor-pointer">🖼️ <span>Deepsite Gallery</span></a><buttonclassName="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}
27 unmodified lines282930313233343536373827 unmodified linescolor: #acacac;font-size: 32px;}@media screen and (max-width: 640px) {.arrow {display: none;}}</style></head><body>27 unmodified lines28293031323327 unmodified linescolor: #acacac;font-size: 32px;}</style></head><body>
server.js+5-1
src/components/preview/preview.tsx+7
utils/consts.ts-5