- {props.myProfile?.banner
- ? (
-
- )
- : (
-
- )}
-
- Name
-
-
-
- Picture
-
-
-
- You can upload your images on websites like{" "}
-
- nostr.build
-
-
-
- About
-
-
-
- Website
-
-
-
- Banner
-
-
- {props.myProfile
- ? Object.entries(props.myProfile).map(([key, value]) => {
- if (["name", "picture", "about", "website", "banner"].includes(key) || !value) {
- return undefined;
- }
- return (
-
-
- {key}
-
-
-
- );
- })
- : undefined}
-
-
Custom Fields
-
- Create your own custom fields, anything goes!
-
-
- Field name
-
-
{
- props.emit({
- type: "EditNewProfileFieldKey",
- key: e.currentTarget.value,
- });
- }}
- type="text"
- class={tw`${InputClass}`}
- />
-
- Field value
-
-
-
-
-
-
- );
+ );
+ }
}
diff --git a/UI/profile-card.tsx b/UI/profile-card.tsx
index ce16bf7..fd084e7 100644
--- a/UI/profile-card.tsx
+++ b/UI/profile-card.tsx
@@ -22,7 +22,7 @@ export function ProfileCard(props: {
profile: {
container: tw`flex`,
avatar: tw`w-10 h-10`,
- name: tw`text-[1.2rem] font-blod leading-10 truncate ml-2`,
+ name: tw`text-[1.2rem] font-bold leading-10 truncate ml-2`,
},
divider: tw`${DividerClass} my-[0.5rem]`,
about: tw`text-[0.8rem]`,