'use client'; import { Box, Container, Typography, Card, CardContent, CardMedia, Button, useMediaQuery, useTheme, Tabs, Tab } from '@mui/material'; import { Code, Star, Download, GitHub, Link, Monitor, Smartphone, Storage } from '@mui/icons-material'; import { useState } from 'react'; export default function LeonPan() { const theme = useTheme(); const isMobile = useMediaQuery(theme.breakpoints.down('sm')); const isTablet = useMediaQuery(theme.breakpoints.down('md')); const [currentTab, setCurrentTab] = useState(0); // 项目截图 const screenshots = [ '/projects/leonpan/img1.png', '/projects/leonpan/img2.png', '/projects/leonpan/img3.png' ]; // 功能特点 const features = [ { icon: , title: "Web支持", description: "无需安装任何客户端就可以快速使用" }, { icon: , title: "PC客户端", description: "完美适配Windows 10以上的系统" }, { icon: , title: "精美设计", description: "提供简洁而专业的用户界面,操作方便" }, { icon: , title: "开源可定制", description: "基于GPLv3协议开源,可自由修改和定制" } ]; // 技术栈 // const techStack = [ // { name: "Go", level: 90 }, // { name: "Vue.js", level: 85 }, // { name: "Element UI", level: 80 }, // { name: "MySQL", level: 75 }, // { name: "Redis", level: 70 } // ]; return ( {/* 项目头部 */} LeonPan LeonPan是一个开源项目,改编自Cloudreve开源项目,使用GPLv3协议开源。提供强大的文件管理功能。 {/* 项目概述 */} 项目概述 LeonPan是基于Cloudreve开发的文件管理系统,提供了丰富的功能和友好的用户界面。 它支持多种存储方式,包括本地存储、对象存储等,可以满足不同用户的需求。 项目致力于提供安全、稳定、高效的文件管理解决方案,适用于个人用户和团队协作场景。 开源免费 GPLv3协议 {/* 功能特点 */} 功能特点 LeonPan提供丰富的功能,满足您的文件管理需求 {features.map((feature, index) => ( {feature.icon} {feature.title} {feature.description} ))} {/* 截图展示 */} 界面展示 查看LeonPan的精美界面 {/* 截图切换标签 */} {!isMobile && ( setCurrentTab(newValue)} variant="scrollable" scrollButtons="auto" indicatorColor="primary" textColor="primary" > {screenshots.map((_, index) => ( ))} )} {/* 主要截图展示 */} {/* 移动端缩略图导航 */} {isMobile && ( {screenshots.map((screenshot, index) => ( ))} )} {/* 技术栈 */} {/* 技术栈 LeonPan基于现代技术栈开发,保证系统的高性能和稳定性 {techStack.map((tech, index) => ( {tech.name} 熟练度 {tech.level}% ))} */} {/* 行动号召 */} 开始使用 LeonPan 立即体验LeonPan带来的高效文件管理体验,开源免费,功能强大 ); }