temeplate
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user