Rename application from Skin Analyser to Face Analyzer
This commit is contained in:
@@ -422,7 +422,7 @@ const AnalysisResultPage = () => {
|
|||||||
<div className="relative w-full h-full flex items-center justify-center overflow-hidden bg-[#18181b]">
|
<div className="relative w-full h-full flex items-center justify-center overflow-hidden bg-[#18181b]">
|
||||||
<img
|
<img
|
||||||
src={originalImage}
|
src={originalImage}
|
||||||
alt="Skin Analysis"
|
alt="Face Analysis"
|
||||||
className={`w-full h-full object-cover transition-opacity duration-500 ${activeMask ? 'opacity-40' : 'opacity-100'}`}
|
className={`w-full h-full object-cover transition-opacity duration-500 ${activeMask ? 'opacity-40' : 'opacity-100'}`}
|
||||||
/>
|
/>
|
||||||
{activeMask && (
|
{activeMask && (
|
||||||
@@ -457,7 +457,7 @@ const AnalysisResultPage = () => {
|
|||||||
const pdfHeight = (canvas.height * pdfWidth) / canvas.width;
|
const pdfHeight = (canvas.height * pdfWidth) / canvas.width;
|
||||||
|
|
||||||
pdf.addImage(imgData, 'PNG', 0, 0, pdfWidth, pdfHeight);
|
pdf.addImage(imgData, 'PNG', 0, 0, pdfWidth, pdfHeight);
|
||||||
pdf.save(`Limelite_Skin_Report_${formData.name || 'User'}.pdf`);
|
pdf.save(`Limelite_Face_Report_${formData.name || 'User'}.pdf`);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error("PDF Generation Error:", err);
|
console.error("PDF Generation Error:", err);
|
||||||
alert("Failed to generate PDF. Please try again.");
|
alert("Failed to generate PDF. Please try again.");
|
||||||
@@ -844,7 +844,7 @@ const AnalysisResultPage = () => {
|
|||||||
<img src={process.env.PUBLIC_URL + '/assets/images/logo.jpg'} style={{ height: '45px', objectFit: 'contain' }} alt="Logo" />
|
<img src={process.env.PUBLIC_URL + '/assets/images/logo.jpg'} style={{ height: '45px', objectFit: 'contain' }} alt="Logo" />
|
||||||
</div>
|
</div>
|
||||||
<div style={{ flex: 1, textAlign: 'center' }}>
|
<div style={{ flex: 1, textAlign: 'center' }}>
|
||||||
<h1 style={{ fontSize: '28px', fontWeight: '900', margin: 0, textTransform: 'uppercase', letterSpacing: '0.02em', color: '#0097C3', fontFamily: "'Playfair Display', serif" }}>Skin Analysis Report</h1>
|
<h1 style={{ fontSize: '28px', fontWeight: '900', margin: 0, textTransform: 'uppercase', letterSpacing: '0.02em', color: '#0097C3', fontFamily: "'Playfair Display', serif" }}>Face Analysis Report</h1>
|
||||||
</div>
|
</div>
|
||||||
<div style={{ width: '120px' }}></div>
|
<div style={{ width: '120px' }}></div>
|
||||||
</div>
|
</div>
|
||||||
@@ -994,7 +994,7 @@ const AnalysisResultPage = () => {
|
|||||||
{/* Minimalist Footer */}
|
{/* Minimalist Footer */}
|
||||||
<div style={{ marginTop: 'auto', borderTop: '0.5px solid #eee', paddingTop: '15px' }}>
|
<div style={{ marginTop: 'auto', borderTop: '0.5px solid #eee', paddingTop: '15px' }}>
|
||||||
<p style={{ margin: '0 0 10px 0', fontSize: '9px', color: '#b3b3b3', textAlign: 'center', fontStyle: 'italic' }}>
|
<p style={{ margin: '0 0 10px 0', fontSize: '9px', color: '#b3b3b3', textAlign: 'center', fontStyle: 'italic' }}>
|
||||||
* This diagnostic data is interpreted by Limelite AI Skin Vision. For detailed medical prescriptions, please book a 1-on-1 therapist consultation.
|
* This diagnostic data is interpreted by Limelite AI Face Vision. For detailed medical prescriptions, please book a 1-on-1 therapist consultation.
|
||||||
</p>
|
</p>
|
||||||
<div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center' }}>
|
<div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center' }}>
|
||||||
<p style={{ margin: 0, fontSize: '10px', fontWeight: '800', color: '#1a1a1a' }}>LIMELITE CLINICAL SYSTEMS</p>
|
<p style={{ margin: 0, fontSize: '10px', fontWeight: '800', color: '#1a1a1a' }}>LIMELITE CLINICAL SYSTEMS</p>
|
||||||
|
|||||||
+2
-2
@@ -445,10 +445,10 @@ const App = () => {
|
|||||||
<div className="flex flex-col items-center justify-center w-full px-4 gap-8 fade-in mt-20 md:mt-32">
|
<div className="flex flex-col items-center justify-center w-full px-4 gap-8 fade-in mt-20 md:mt-32">
|
||||||
<div className="text-center space-y-4 mb-2">
|
<div className="text-center space-y-4 mb-2">
|
||||||
<h1 className="text-4xl md:text-5xl font-bold text-[#0e5e73] leading-tight tracking-[0.02em] uppercase" style={{ fontFamily: "'Oswald', sans-serif" }}>
|
<h1 className="text-4xl md:text-5xl font-bold text-[#0e5e73] leading-tight tracking-[0.02em] uppercase" style={{ fontFamily: "'Oswald', sans-serif" }}>
|
||||||
AI-POWERED<br />SKIN ANALYSER
|
AI-POWERED<br />FACE ANALYZER
|
||||||
</h1>
|
</h1>
|
||||||
<p className="text-lg text-gray-700 font-medium tracking-wide max-w-sm mx-auto">
|
<p className="text-lg text-gray-700 font-medium tracking-wide max-w-sm mx-auto">
|
||||||
Experience professional-grade skin analysis in seconds
|
Experience professional-grade face analysis in seconds
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ const DashboardPage = () => {
|
|||||||
|
|
||||||
// Settings state
|
// Settings state
|
||||||
const [settings, setSettings] = useState({
|
const [settings, setSettings] = useState({
|
||||||
siteName: 'Limelite Skin Analyser',
|
siteName: 'Limelite Face Analyzer',
|
||||||
adminEmail: 'olivia@limelite.com',
|
adminEmail: 'olivia@limelite.com',
|
||||||
whatsappNotifications: true,
|
whatsappNotifications: true,
|
||||||
autoArchive: false
|
autoArchive: false
|
||||||
|
|||||||
Reference in New Issue
Block a user