temeplate

This commit is contained in:
2025-11-20 15:00:26 +08:00
parent eb36b2aa33
commit 5020706509
94 changed files with 249 additions and 3002 deletions

View File

@@ -33,16 +33,6 @@ function colorLog(message: string, color: 'reset' | 'red' | 'green' | 'yellow' |
console.log(`${colors[color]}%s${colors.reset}`, message);
}
colorLog(`
_____ ______ __ __
| |_.-----.-----.-----.| | |.-----.--.--.--| |
| | -__| _ | || ---| || _ | | | _ |
|_______|_____|_____|__|__||______|__||_____|_____|_____|
`, 'blue')
colorLog('恭喜你发现了彩蛋!', 'red')
colorLog('LeonCloud是Leon突发奇想搞出来的 (=^ _ ^=)', 'green')
// 自定义内容标题样式
const StyledListHeader = styled(ListSubheader)({
backgroundImage: "var(--Paper-overlay)",
@@ -116,44 +106,44 @@ const ClientLayout: React.FC<ClientLayoutProps> = ({ children }) => {
type: 'link'
},
{
id: 'project',
label: '项目',
id: 'link',
label: 'Link',
href: '/test',
type: 'link'
},
{
id: 'Menu',
label: 'Menu',
href: '',
type: 'menu'
},
{
id: 'support',
label: '技术支持',
href: '/support',
type: 'link'
},
{
id: 'joinus',
label: '加入我们',
href: '/joinus',
type: 'link'
}
// {
// id: 'id',
// label: 'label',
// href: '/href',
// type: 'link'
// }
];
// 动态定义项目列表
const projectItems: ProjectItem[] = [
{
id: 'leonpan',
label: 'LeonPan',
href: '/project/leonpan',
category: 'Web'
id: 'first',
label: 'First',
href: '/awa/first',
category: '1'
},
{
id: 'leonapp',
label: 'LeonAPP',
href: '/project/leonapp',
category: 'Web'
id: 'second',
label: 'Second',
href: '/awa/second',
category: '1'
},
{
id: 'leonbasic',
label: 'LeonBasic',
href: '/project/leonbasic',
category: '其它'
id: 'third',
label: 'Third',
href: '/awa/third',
category: '2'
}
];
@@ -488,10 +478,10 @@ const ClientLayout: React.FC<ClientLayoutProps> = ({ children }) => {
mb: 6
}}>
<Typography variant="h5" gutterBottom fontWeight="bold">
LeonCloud
Test
</Typography>
<Typography variant="body1" sx={{ opacity: 0.8 }}>
LeonMMcoset的所有产品的运营商
</Typography>
</Box>
@@ -503,10 +493,10 @@ const ClientLayout: React.FC<ClientLayoutProps> = ({ children }) => {
}}></Box>
<Typography variant="body2" align="center" paragraph>
© {new Date().getFullYear()} LeonCloud.
© {new Date().getFullYear()} Test.
</Typography>
<Typography variant="caption" align="center" color="rgba(255,255,255,0.7)">
ClientLayout.tsx修改这个页脚
</Typography>
</Container>
</Box>