Files
neo-blog/web/src/config.ts
Snowykami 4781d81869 feat: add captcha support for user login and enhance user profile page
- Refactored userLogin function to include captcha handling.
- Introduced getCaptchaConfig API to fetch captcha configuration.
- Added Captcha component to handle different captcha providers (hCaptcha, reCaptcha, Turnstile).
- Updated LoginForm component to integrate captcha verification.
- Created UserProfile component to display user information with avatar.
- Implemented getUserByUsername API to fetch user details by username.
- Removed deprecated LoginRequest interface from user model.
- Enhanced navbar and layout with animation effects.
- Removed unused user page component and added dynamic user profile routing.
- Updated localization files to include captcha-related messages.
- Improved Gravatar component for better avatar handling.
2025-09-10 21:15:36 +08:00

26 lines
832 B
TypeScript

const config = {
metadata: {
name: "Snowykami's Blog",
icon: "https://cdn.liteyuki.org/snowykami/avatar.jpg",
description: "分享一些好玩的东西"
},
defaultCover: "https://cdn.liteyuki.org/blog/background.png",
owner: {
name: "Snowykami",
description: "全栈开发工程师,喜欢分享技术心得和生活感悟。",
motto: "And now that story unfolds into a journey that, alone, I set out to",
avatar: "https://cdn.liteyuki.org/snowykami/avatar.jpg",
gravatarEmail: "snowykami@outlook.com"
},
bodyWidth: "80vw",
bodyWidthMobile: "100vw",
postsPerPage: 12,
commentsPerPage: 8,
animationDurationSecond: 0.5,
footer: {
text: "Liteyuki ICP备 1145141919810",
links: []
}
}
export default config