mirror of
https://github.com/snowykami/neo-blog.git
synced 2025-09-27 19:46:24 +00:00
Refactor site configuration and color scheme management
- Replaced static config with dynamic site info context. - Updated color scheme handling in various components to use site info. - Removed deprecated config file and integrated site info fetching. - Enhanced user preference page to allow color scheme selection. - Adjusted blog and console components to reflect new site info structure. - Improved error handling and fallback mechanisms for site info retrieval.
This commit is contained in:
@ -185,11 +185,10 @@ export function UserProfilePage() {
|
||||
if (!user) return null
|
||||
|
||||
return (
|
||||
<div>
|
||||
<div className="grid w-full max-w-sm items-center gap-4">
|
||||
<h1 className="text-2xl font-bold">
|
||||
{t("public_profile")}
|
||||
</h1>
|
||||
<Separator className="my-2" />
|
||||
<div className="grid w-full max-w-sm items-center gap-4">
|
||||
<div className="grid gap-2">
|
||||
<Label htmlFor="picture">{t("picture")}</Label>
|
||||
|
Reference in New Issue
Block a user