--- import SettingsLayout from "@/layouts/SettingsLayout.astro"; const user = Astro.locals.user; if (!user) { return Astro.redirect("/login"); } --- Public profile This information will be displayed publicly so be careful what you share. Profile picture {user.avatarUrl ? ( ) : ( {user.username[0].toUpperCase()} )} URL to an image (PNG, JPG, GIF, SVG). Recommended 500x500px. Name Your name may appear around OpenCodeHub where you contribute or are mentioned. Bio {user.bio || ""} You can @mention other users or organizations to link to them. {160 - (user.bio?.length || 0)}/160 Company Location Website Email Your email is used for notifications and sign-in. Change in account settings. Profile updated successfully. Update profile
This information will be displayed publicly so be careful what you share.
URL to an image (PNG, JPG, GIF, SVG). Recommended 500x500px.
Your name may appear around OpenCodeHub where you contribute or are mentioned.
You can @mention other users or organizations to link to them. {160 - (user.bio?.length || 0)}/160
Your email is used for notifications and sign-in. Change in account settings.