feat: integrate NextForm PNG logo across admin and mobile applications

This commit is contained in:
Aleksandar 2025-12-11 14:48:12 +01:00
parent 6207949e2d
commit 3c810003c5
7 changed files with 27 additions and 8 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

View File

@ -53,9 +53,9 @@ export default function Home() {
<div className="space-y-3"> <div className="space-y-3">
<div className="flex items-center gap-4"> <div className="flex items-center gap-4">
<img <img
src="/nextform.png" src="/nextform-logo.png"
alt="NextForm" alt="NextForm"
className="h-14 w-14" className="h-14 w-14 object-contain"
/> />
<div className="flex items-center gap-3"> <div className="flex items-center gap-3">
<div className="h-12 w-1 bg-gradient-to-b from-blue-600 to-cyan-600 rounded-full"></div> <div className="h-12 w-1 bg-gradient-to-b from-blue-600 to-cyan-600 rounded-full"></div>

View File

@ -55,9 +55,9 @@ export function Navigation(): ReactElement {
className="flex items-center gap-3 hover:opacity-80 transition-opacity" className="flex items-center gap-3 hover:opacity-80 transition-opacity"
> >
<img <img
src="/nextform.png" src="/nextform-logo.png"
alt="NextForm" alt="NextForm"
className="h-8 w-8" className="h-8 w-8 object-contain"
/> />
<span className="text-lg font-bold bg-gradient-to-r from-blue-600 to-blue-800 bg-clip-text text-transparent"> <span className="text-lg font-bold bg-gradient-to-r from-blue-600 to-blue-800 bg-clip-text text-transparent">
NextForm NextForm

View File

@ -70,9 +70,9 @@ export function Sidebar() {
<div className="p-6 border-b border-slate-800/50"> <div className="p-6 border-b border-slate-800/50">
<div className="flex items-center gap-3 justify-center"> <div className="flex items-center gap-3 justify-center">
<img <img
src="/nextform.png" src="/nextform-logo.png"
alt="NextForm" alt="NextForm"
className="h-10 w-10" className="h-10 w-10 object-contain"
/> />
<div> <div>
<h1 className="text-lg font-black bg-gradient-to-r from-blue-400 via-cyan-400 to-blue-300 bg-clip-text text-transparent"> <h1 className="text-lg font-black bg-gradient-to-r from-blue-400 via-cyan-400 to-blue-300 bg-clip-text text-transparent">

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

View File

@ -112,8 +112,8 @@ export default function HomeScreen() {
<View style={styles.header}> <View style={styles.header}>
<View style={{ flexDirection: "row", alignItems: "center", gap: 8 }}> <View style={{ flexDirection: "row", alignItems: "center", gap: 8 }}>
<Image <Image
source={require("../../public/nextform.png")} source={require("../../public/nextform-logo.png")}
style={{ width: 32, height: 32 }} style={{ width: 32, height: 32, resizeMode: 'contain' }}
/> />
<View> <View>
<Text style={styles.greeting}>{getGreeting()},</Text> <Text style={styles.greeting}>{getGreeting()},</Text>

19
update-logo.ps1 Normal file
View File

@ -0,0 +1,19 @@
# Script to update NextForm logo from external folder
$sourceFolder = "c:\Users\PC\Desktop\NextForm Your Smart Fitness Twin\sliki"
$adminPublic = "c:\Users\PC\Desktop\fitaiProto\apps\admin\public\nextform-logo.png"
$mobilePublic = "c:\Users\PC\Desktop\fitaiProto\apps\mobile\public\nextform-logo.png"
# Find the latest PNG in source folder
$latestPng = Get-ChildItem "$sourceFolder\*.png" -ErrorAction SilentlyContinue |
Sort-Object LastWriteTime -Descending |
Select-Object -First 1
if ($latestPng) {
Copy-Item $latestPng.FullName $adminPublic -Force
Copy-Item $latestPng.FullName $mobilePublic -Force
Write-Host "✅ Logo updated from: $($latestPng.Name)"
Write-Host "Admin: $adminPublic"
Write-Host "Mobile: $mobilePublic"
} else {
Write-Host "❌ No PNG found in: $sourceFolder"
}