feat: add NextForm logo to admin navigation, dashboard header and mobile home screen
This commit is contained in:
1 parent
8c2a3daee0
commit
ad6fdc2226
5 files changed
+88
-10
No files matched your search
@@ -0,0 +1,29 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200">
|
||||
<!-- Background shape -->
|
||||
<defs>
|
||||
<linearGradient id="logoGrad" x1="0%" y1="0%" x2="100%" y2="100%">
|
||||
<stop offset="0%" style="stop-color:#2FB7E8;stop-opacity:1" />
|
||||
<stop offset="100%" style="stop-color:#0B7FB3;stop-opacity:1" />
|
||||
</linearGradient>
|
||||
</defs>
|
||||
|
||||
<!-- Arrow/Chevron background -->
|
||||
<path d="M 140 50 L 180 50 L 140 100 Z" fill="url(#logoGrad)" opacity="0.9"/>
|
||||
<path d="M 60 50 L 100 100 L 60 100 Z" fill="url(#logoGrad)" opacity="0.8"/>
|
||||
|
||||
<!-- Dumbbell icon -->
|
||||
<g transform="translate(70, 80)">
|
||||
<!-- Left weight -->
|
||||
<rect x="0" y="15" width="8" height="30" fill="white" rx="2"/>
|
||||
<circle cx="4" cy="12" r="6" fill="white"/>
|
||||
<circle cx="4" cy="48" r="6" fill="white"/>
|
||||
|
||||
<!-- Bar -->
|
||||
<rect x="10" y="20" width="20" height="8" fill="white" rx="2"/>
|
||||
|
||||
<!-- Right weight -->
|
||||
<rect x="32" y="15" width="8" height="30" fill="white" rx="2"/>
|
||||
<circle cx="36" cy="12" r="6" fill="white"/>
|
||||
<circle cx="36" cy="48" r="6" fill="white"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
@@ -110,9 +110,15 @@ export default function HomeScreen() {
|
||||
>
|
||||
{/* Header Section */}
|
||||
<View style={styles.header}>
|
||||
<View>
|
||||
<Text style={styles.greeting}>{getGreeting()},</Text>
|
||||
<Text style={styles.name}>{user?.firstName || "Athlete"}</Text>
|
||||
<View style={{ flexDirection: "row", alignItems: "center", gap: 8 }}>
|
||||
<Image
|
||||
source={require("../../public/nextform-logo.svg")}
|
||||
style={{ width: 32, height: 32 }}
|
||||
/>
|
||||
<View>
|
||||
<Text style={styles.greeting}>{getGreeting()},</Text>
|
||||
<Text style={styles.name}>{user?.firstName || "Athlete"}</Text>
|
||||
</View>
|
||||
</View>
|
||||
<View style={styles.avatarContainer}>
|
||||
{user?.imageUrl ? (
|
||||
|
||||
Reference in new issue
Block a user