Update user name and initials displayed throughout the application
Change the default user name and initials in the application's sidebar and info library. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 55837015-10e9-4be9-b857-7f5e6be73772 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 8d5646d8-c100-49a1-a50e-c38a257e5447 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1cc377db-7ea0-49f2-97ce-c3e87e0228cc/55837015-10e9-4be9-b857-7f5e6be73772/Ci0DnxP Replit-Helium-Checkpoint-Created: true
This commit is contained in:
parent
55ee6512ea
commit
249103b2aa
@ -162,10 +162,10 @@ export function AppSidebar() {
|
|||||||
<div className="p-4 border-t border-sidebar-border">
|
<div className="p-4 border-t border-sidebar-border">
|
||||||
<div className="flex items-center gap-3 px-3 py-2">
|
<div className="flex items-center gap-3 px-3 py-2">
|
||||||
<div className="h-8 w-8 rounded-full bg-primary/10 flex items-center justify-center text-primary font-bold text-xs">
|
<div className="h-8 w-8 rounded-full bg-primary/10 flex items-center justify-center text-primary font-bold text-xs">
|
||||||
JD
|
SP
|
||||||
</div>
|
</div>
|
||||||
<div className="flex flex-col">
|
<div className="flex flex-col">
|
||||||
<span className="text-sm font-medium">Jean Dupont</span>
|
<span className="text-sm font-medium">Sylvain PHAM</span>
|
||||||
<span className="text-xs text-muted-foreground">Consultant</span>
|
<span className="text-xs text-muted-foreground">Consultant</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -11,9 +11,9 @@ export const APP_INFO_EVENT = "cra-app-info-updated";
|
|||||||
export const DEFAULT_APP_INFO: AppInfo = {
|
export const DEFAULT_APP_INFO: AppInfo = {
|
||||||
repoUrl: "https://github.com/sylvainp/cra-app",
|
repoUrl: "https://github.com/sylvainp/cra-app",
|
||||||
deployDate: "14 avril 2025",
|
deployDate: "14 avril 2025",
|
||||||
userName: "Jean Dupont",
|
userName: "Sylvain PHAM",
|
||||||
userRole: "Consultant",
|
userRole: "Consultant",
|
||||||
userInitials: "JD",
|
userInitials: "SP",
|
||||||
};
|
};
|
||||||
|
|
||||||
const STORAGE_KEY = "cra-app-info";
|
const STORAGE_KEY = "cra-app-info";
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user