Rename brand from elixify to limelite
This commit is contained in:
@@ -305,7 +305,7 @@ const AnalysisResultPage = () => {
|
||||
};
|
||||
|
||||
const handleSignupSubmit = async () => {
|
||||
// const db = JSON.parse(localStorage.getItem('elixify_users') || '{}');
|
||||
// const db = JSON.parse(localStorage.getItem('limelite_users') || '{}');
|
||||
// const existingUser = db[formData.phone];
|
||||
const existingUser = false; // logic moved to backend, or we can check via api but it's fine
|
||||
|
||||
@@ -457,7 +457,7 @@ const AnalysisResultPage = () => {
|
||||
const pdfHeight = (canvas.height * pdfWidth) / canvas.width;
|
||||
|
||||
pdf.addImage(imgData, 'PNG', 0, 0, pdfWidth, pdfHeight);
|
||||
pdf.save(`Elixify_Skin_Report_${formData.name || 'User'}.pdf`);
|
||||
pdf.save(`Limelite_Skin_Report_${formData.name || 'User'}.pdf`);
|
||||
} catch (err) {
|
||||
console.error("PDF Generation Error:", err);
|
||||
alert("Failed to generate PDF. Please try again.");
|
||||
@@ -532,7 +532,7 @@ const AnalysisResultPage = () => {
|
||||
{/* Header (Matching App.js) */}
|
||||
<header className="fixed top-0 left-0 right-0 z-50 py-4 px-6 flex items-center justify-between bg-[#0097C3] shadow-lg">
|
||||
<div className="flex items-center gap-4">
|
||||
<img src={process.env.PUBLIC_URL + '/assets/images/elixify_logo.png'} alt="Elixify Logo" className="h-12 md:h-16 w-auto brightness-0 invert" />
|
||||
<img src={process.env.PUBLIC_URL + '/assets/images/limelite_logo.png'} alt="Limelite Logo" className="h-12 md:h-16 w-auto brightness-0 invert" />
|
||||
</div>
|
||||
<div className="flex items-center gap-4">
|
||||
<button
|
||||
@@ -796,7 +796,7 @@ const AnalysisResultPage = () => {
|
||||
<div className="flex gap-3">
|
||||
<span className="text-black/40 mt-1.5 font-bold">•</span>
|
||||
<p className="text-[15px] leading-relaxed text-black/70 font-medium">
|
||||
To access previous reports, please contact us at <span className="text-black font-semibold">hello@elixify.com</span>
|
||||
To access previous reports, please contact us at <span className="text-black font-semibold">hello@limelite.com</span>
|
||||
</p>
|
||||
</div>
|
||||
<div className="flex gap-3">
|
||||
@@ -841,7 +841,7 @@ const AnalysisResultPage = () => {
|
||||
{/* Header Section */}
|
||||
<div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center', marginBottom: '15px' }}>
|
||||
<div style={{ width: '120px' }}>
|
||||
<img src={process.env.PUBLIC_URL + '/assets/images/elixify_logo.png'} style={{ height: '45px', objectFit: 'contain' }} alt="Logo" />
|
||||
<img src={process.env.PUBLIC_URL + '/assets/images/limelite_logo.png'} style={{ height: '45px', objectFit: 'contain' }} alt="Logo" />
|
||||
</div>
|
||||
<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>
|
||||
@@ -994,11 +994,11 @@ const AnalysisResultPage = () => {
|
||||
{/* Minimalist Footer */}
|
||||
<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' }}>
|
||||
* This diagnostic data is interpreted by Elixify AI Skin Vision. For detailed medical prescriptions, please book a 1-on-1 therapist consultation.
|
||||
* This diagnostic data is interpreted by Limelite AI Skin Vision. For detailed medical prescriptions, please book a 1-on-1 therapist consultation.
|
||||
</p>
|
||||
<div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center' }}>
|
||||
<p style={{ margin: 0, fontSize: '10px', fontWeight: '800', color: '#1a1a1a' }}>ELIXIFY CLINICAL SYSTEMS</p>
|
||||
<p style={{ margin: 0, fontSize: '9px', color: '#999' }}>support@elixify.com | elixify.com</p>
|
||||
<p style={{ margin: 0, fontSize: '10px', fontWeight: '800', color: '#1a1a1a' }}>LIMELITE CLINICAL SYSTEMS</p>
|
||||
<p style={{ margin: 0, fontSize: '9px', color: '#999' }}>support@limelite.com | limelite.com</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user