Move FAQ back link left

Moved back-to-home link outside main container to align further left, and adjusted spacing:
- Wrapped link in its own div with padding container
- Removed bottom margin on link
- Restored main content to start after the link with adjusted padding (pt-8)
- Kept FAQ heading and content as before

X-Lovable-Edit-ID: edt-a68f1e4e-8b0b-4e39-872d-c0206dba4d08
This commit is contained in:
gpt-engineer-app[bot]
2026-01-28 12:50:26 +00:00
+4 -2
View File
@@ -28,14 +28,16 @@ const FAQ = () => {
return ( return (
<div className="bg-background text-foreground min-h-screen"> <div className="bg-background text-foreground min-h-screen">
<Header /> <Header />
<main className="max-w-3xl mx-auto px-6 pt-32 pb-16"> <div className="px-6 pt-32">
<Link <Link
to="/" to="/"
className="inline-flex items-center gap-2 text-muted-foreground hover:text-primary transition-colors mb-8" className="inline-flex items-center gap-2 text-muted-foreground hover:text-primary transition-colors"
> >
<ArrowLeft size={16} /> <ArrowLeft size={16} />
<span>Tillbaka till startsidan</span> <span>Tillbaka till startsidan</span>
</Link> </Link>
</div>
<main className="max-w-3xl mx-auto px-6 pt-8 pb-16">
<h1 className="text-3xl md:text-4xl font-bold text-center mb-4"> <h1 className="text-3xl md:text-4xl font-bold text-center mb-4">
Vanliga frågor Vanliga frågor
</h1> </h1>