Privacy policy and navbar updates
All checks were successful
Deploy to Server / deploy (push) Successful in 30s
All checks were successful
Deploy to Server / deploy (push) Successful in 30s
This commit is contained in:
2
App.tsx
2
App.tsx
@@ -123,7 +123,9 @@ export default function App() {
|
|||||||
<div className="flex h-screen bg-secondary">
|
<div className="flex h-screen bg-secondary">
|
||||||
<aside className="w-64 bg-card border-r border-border flex flex-col">
|
<aside className="w-64 bg-card border-r border-border flex flex-col">
|
||||||
<div className="p-6 border-b border-border flex items-center justify-center">
|
<div className="p-6 border-b border-border flex items-center justify-center">
|
||||||
|
<button onClick={() => setActiveTab('dashboard')} className="cursor-pointer">
|
||||||
<img src={logo} alt="labwise" className="h-15" />
|
<img src={logo} alt="labwise" className="h-15" />
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<nav className="flex-1 p-4">
|
<nav className="flex-1 p-4">
|
||||||
{navItems.map(item => {
|
{navItems.map(item => {
|
||||||
|
|||||||
@@ -1,12 +1,27 @@
|
|||||||
|
import { ArrowLeft } from 'lucide-react';
|
||||||
|
|
||||||
const logo = '/logo.png';
|
const logo = '/logo.png';
|
||||||
|
|
||||||
export function PrivacyPolicy() {
|
export function PrivacyPolicy() {
|
||||||
return (
|
return (
|
||||||
<div className="min-h-screen bg-secondary">
|
<div className="min-h-screen bg-secondary">
|
||||||
<div className="max-w-3xl mx-auto px-6 py-12">
|
{/* Navbar */}
|
||||||
<div className="flex items-center gap-3 mb-8">
|
<nav className="sticky top-0 z-50 bg-card border-b border-border">
|
||||||
<img src={logo} alt="LabWise" className="h-10" />
|
<div className="max-w-6xl mx-auto px-6 h-14 flex items-center">
|
||||||
|
<a href="/">
|
||||||
|
<img src={logo} alt="LabWise" className="h-7" />
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<div className="max-w-3xl mx-auto px-6 py-12">
|
||||||
|
<a
|
||||||
|
href="/"
|
||||||
|
className="inline-flex items-center gap-1.5 text-sm text-muted-foreground hover:text-foreground transition-colors mb-6"
|
||||||
|
>
|
||||||
|
<ArrowLeft className="w-4 h-4" />
|
||||||
|
Back
|
||||||
|
</a>
|
||||||
|
|
||||||
<h1 className="text-3xl font-bold text-primary mb-2">Privacy Policy</h1>
|
<h1 className="text-3xl font-bold text-primary mb-2">Privacy Policy</h1>
|
||||||
<p className="text-muted-foreground mb-8">Last updated: April 9, 2026</p>
|
<p className="text-muted-foreground mb-8">Last updated: April 9, 2026</p>
|
||||||
|
|||||||
@@ -171,6 +171,12 @@ export function ProfileSettings() {
|
|||||||
</CardContent>
|
</CardContent>
|
||||||
</Card>
|
</Card>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
<p className="text-center mt-6">
|
||||||
|
<a href="/privacy" className="text-xs text-muted-foreground hover:text-foreground transition-colors">
|
||||||
|
Privacy Policy
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ export function EmailVerification({ email }: Props) {
|
|||||||
<Card className="w-full max-w-sm">
|
<Card className="w-full max-w-sm">
|
||||||
<CardContent className="p-8 space-y-6 text-center">
|
<CardContent className="p-8 space-y-6 text-center">
|
||||||
<div className="flex justify-center">
|
<div className="flex justify-center">
|
||||||
<img src={logo} alt="LabWise" className="h-12" />
|
<a href="/"><img src={logo} alt="LabWise" className="h-12" /></a>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex justify-center">
|
<div className="flex justify-center">
|
||||||
<div className="rounded-full bg-accent p-4">
|
<div className="rounded-full bg-accent p-4">
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ export function ForgotPassword({ onBack }: Props) {
|
|||||||
<Card className="w-full max-w-sm">
|
<Card className="w-full max-w-sm">
|
||||||
<CardContent className="p-8 space-y-6">
|
<CardContent className="p-8 space-y-6">
|
||||||
<div className="flex justify-center">
|
<div className="flex justify-center">
|
||||||
<img src={logo} alt="LabWise" className="h-12" />
|
<a href="/"><img src={logo} alt="LabWise" className="h-12" /></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{sent ? (
|
{sent ? (
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ export function LoginForm({ onSignUp, onForgotPassword }: Props) {
|
|||||||
{/* Sticky Navbar */}
|
{/* Sticky Navbar */}
|
||||||
<nav className="sticky top-0 z-50 bg-card border-b border-border">
|
<nav className="sticky top-0 z-50 bg-card border-b border-border">
|
||||||
<div className="max-w-6xl mx-auto px-6 h-14 flex items-center justify-between">
|
<div className="max-w-6xl mx-auto px-6 h-14 flex items-center justify-between">
|
||||||
<img src={logo} alt="LabWise" className="h-7" />
|
<a href="/"><img src={logo} alt="LabWise" className="h-7" /></a>
|
||||||
<div className="flex items-center gap-2">
|
<div className="flex items-center gap-2">
|
||||||
<Button variant="ghost" size="sm" onClick={scrollToAbout}>
|
<Button variant="ghost" size="sm" onClick={scrollToAbout}>
|
||||||
About
|
About
|
||||||
@@ -218,6 +218,12 @@ export function LoginForm({ onSignUp, onForgotPassword }: Props) {
|
|||||||
Create account
|
Create account
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div className="text-center">
|
||||||
|
<a href="/privacy" className="text-xs text-muted-foreground hover:text-foreground transition-colors">
|
||||||
|
Privacy Policy
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
</CardContent>
|
</CardContent>
|
||||||
</Card>
|
</Card>
|
||||||
|
|
||||||
@@ -285,7 +291,7 @@ export function LoginForm({ onSignUp, onForgotPassword }: Props) {
|
|||||||
<div className="border-t border-border">
|
<div className="border-t border-border">
|
||||||
<div className="max-w-5xl mx-auto px-6 py-6 flex items-center justify-between text-xs text-muted-foreground">
|
<div className="max-w-5xl mx-auto px-6 py-6 flex items-center justify-between text-xs text-muted-foreground">
|
||||||
<span>© {new Date().getFullYear()} LabWise</span>
|
<span>© {new Date().getFullYear()} LabWise</span>
|
||||||
<span>Built for research labs</span>
|
<a href="/privacy" className="hover:text-foreground transition-colors">Privacy Policy</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ export function ResetPassword({ onSuccess }: Props) {
|
|||||||
<Card className="w-full max-w-sm">
|
<Card className="w-full max-w-sm">
|
||||||
<CardContent className="p-8 space-y-6">
|
<CardContent className="p-8 space-y-6">
|
||||||
<div className="flex justify-center">
|
<div className="flex justify-center">
|
||||||
<img src={logo} alt="LabWise" className="h-12" />
|
<a href="/"><img src={logo} alt="LabWise" className="h-12" /></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{done ? (
|
{done ? (
|
||||||
|
|||||||
@@ -123,7 +123,7 @@ export function SignUpForm({ onLogin }: Props) {
|
|||||||
<Card className="w-full max-w-sm">
|
<Card className="w-full max-w-sm">
|
||||||
<CardContent className="p-8 space-y-6">
|
<CardContent className="p-8 space-y-6">
|
||||||
<div className="flex justify-center">
|
<div className="flex justify-center">
|
||||||
<img src={logo} alt="LabWise" className="h-12" />
|
<a href="/"><img src={logo} alt="LabWise" className="h-12" /></a>
|
||||||
</div>
|
</div>
|
||||||
<p className="text-center text-muted-foreground text-sm">
|
<p className="text-center text-muted-foreground text-sm">
|
||||||
Create your LabWise account.
|
Create your LabWise account.
|
||||||
|
|||||||
Reference in New Issue
Block a user