Upload 106 files
Browse filesFiles changed (3)
15 unmodified lines161718192021618 unmodified lines64064164264364464564615 unmodified linesimport { CreateFolderModal } from './components/CreateFolderModal';import { MoveToFolderModal } from './components/MoveToFolderModal';import { Category } from './types/manga';import { SearchBar } from './components/SearchBar';import { SearchResults } from './components/SearchResults';618 unmodified lines<ArrowLeft className="w-5 h-5" /></button><div className="w-10 h-10 rounded-lg bg-gray-800 flex items-center justify-center"><Folder className="w-6 h-6 text-purple-400" /></div><div><h2 className="text-xl font-bold text-white uppercase tracking-wider">{folder.title}</h2>15 unmodified lines16171819202122618 unmodified lines64164264364464564664764864965065115 unmodified linesimport { CreateFolderModal } from './components/CreateFolderModal';import { MoveToFolderModal } from './components/MoveToFolderModal';import { Category } from './types/manga';import { PatreonIcon } from './components/PatreonIcon';import { SearchBar } from './components/SearchBar';import { SearchResults } from './components/SearchResults';618 unmodified lines<ArrowLeft className="w-5 h-5" /></button><div className="w-10 h-10 rounded-lg bg-gray-800 flex items-center justify-center">{!folder.folder_id && folder.title.toLowerCase().includes('patreon') ? (<PatreonIcon className="w-6 h-6 text-white" />) : (<Folder className="w-6 h-6 text-purple-400" />)}</div><div><h2 className="text-xl font-bold text-white uppercase tracking-wider">{folder.title}</h2>
4 unmodified lines567891026 unmodified lines373839404142152 unmodified lines1951961971981992002017 unmodified lines2092102112122132142153 unmodified lines2192202212222232242254 unmodified linesimport { incrementMangaViews } from '../services/manga';import { getThumbnailUrl } from '../utils/imageUtils';import { Swiper, SwiperSlide } from 'swiper/react';import { EffectCreative } from 'swiper/modules';import 'swiper/css';import 'swiper/css/effect-creative';26 unmodified linesconst [isZoomedIn, setIsZoomedIn] = useState(true);const [isHovered, setIsHovered] = useState(false);useEffect(() => {let interval: NodeJS.Timeout;152 unmodified lines{/* Iconito Glassmorphism en la esquina inferior derecha */}<div className="absolute bottom-2 right-2 z-20 flex items-center justify-center bg-gray-800/70 backdrop-blur-md rounded-lg p-1.5 border border-gray-500/50 shadow-xl transition-all duration-300 group-hover:bg-gray-700/80 group-hover:scale-110">{hasSubfolders ? (<div className="relative w-[20px] h-[20px]"><Folder className="absolute top-0 right-0 w-3.5 h-3.5 text-white/50" /><Folder className="absolute bottom-0 left-0 w-4 h-4 text-white drop-shadow-[0_0_5px_rgba(255,255,255,0.5)] fill-black/20" />7 unmodified lines// Carpeta vacía<><div className="absolute bottom-2 right-2 z-20 flex items-center justify-center bg-gray-800/70 backdrop-blur-md rounded-lg p-1.5 border border-gray-500/50 shadow-xl transition-all duration-300 group-hover:bg-gray-700/80 group-hover:scale-110">{hasSubfolders ? (<div className="relative w-[20px] h-[20px]"><Folder className="absolute top-0 right-0 w-3.5 h-3.5 text-white/50" /><Folder className="absolute bottom-0 left-0 w-4 h-4 text-white drop-shadow-[0_0_5px_rgba(255,255,255,0.5)] fill-black/20" />3 unmodified lines)}</div><div className="relative z-10 flex flex-col items-center justify-center opacity-30"><Folder className="w-16 h-16 text-gray-400 mb-2" /></div></>)}4 unmodified lines56789101126 unmodified lines3839404142434445152 unmodified lines1981992002012022032042052067 unmodified lines2142152162172182192202212223 unmodified lines2262272282292302312322332342352364 unmodified linesimport { incrementMangaViews } from '../services/manga';import { getThumbnailUrl } from '../utils/imageUtils';import { Swiper, SwiperSlide } from 'swiper/react';import { PatreonIcon } from './PatreonIcon';import { EffectCreative } from 'swiper/modules';import 'swiper/css';import 'swiper/css/effect-creative';26 unmodified linesconst [isZoomedIn, setIsZoomedIn] = useState(true);const [isHovered, setIsHovered] = useState(false);const isRootPatreon = Boolean(manga?.is_folder && !manga?.folder_id && title.toLowerCase().includes('patreon'));useEffect(() => {let interval: NodeJS.Timeout;152 unmodified lines{/* Iconito Glassmorphism en la esquina inferior derecha */}<div className="absolute bottom-2 right-2 z-20 flex items-center justify-center bg-gray-800/70 backdrop-blur-md rounded-lg p-1.5 border border-gray-500/50 shadow-xl transition-all duration-300 group-hover:bg-gray-700/80 group-hover:scale-110">{isRootPatreon ? (<PatreonIcon className="w-5 h-5 text-white drop-shadow-[0_0_5px_rgba(255,255,255,0.5)]" />) : hasSubfolders ? (<div className="relative w-[20px] h-[20px]"><Folder className="absolute top-0 right-0 w-3.5 h-3.5 text-white/50" /><Folder className="absolute bottom-0 left-0 w-4 h-4 text-white drop-shadow-[0_0_5px_rgba(255,255,255,0.5)] fill-black/20" />7 unmodified lines// Carpeta vacía<><div className="absolute bottom-2 right-2 z-20 flex items-center justify-center bg-gray-800/70 backdrop-blur-md rounded-lg p-1.5 border border-gray-500/50 shadow-xl transition-all duration-300 group-hover:bg-gray-700/80 group-hover:scale-110">{isRootPatreon ? (<PatreonIcon className="w-5 h-5 text-white drop-shadow-[0_0_5px_rgba(255,255,255,0.5)]" />) : hasSubfolders ? (<div className="relative w-[20px] h-[20px]"><Folder className="absolute top-0 right-0 w-3.5 h-3.5 text-white/50" /><Folder className="absolute bottom-0 left-0 w-4 h-4 text-white drop-shadow-[0_0_5px_rgba(255,255,255,0.5)] fill-black/20" />3 unmodified lines)}</div><div className="relative z-10 flex flex-col items-center justify-center opacity-30">{isRootPatreon ? (<PatreonIcon className="w-16 h-16 text-white mb-2" />) : (<Folder className="w-16 h-16 text-gray-400 mb-2" />)}</div></>)}
123456export const PatreonIcon = ({ className }: { className?: string }) => ( <svg viewBox="0 0 569 546" fill="currentColor" className={className} xmlns="http://www.w3.org/2000/svg"> <circle cx="362.59" cy="204.59" r="204.59"/> <rect height="545.8" width="100" x="0" y="0"/> </svg>);src/App.tsx+6-1
src/components/MangaCard.tsx+14-3
src/components/PatreonIcon.tsxAdded+6