This commit is contained in:
gpt-engineer-app[bot]
2026-01-27 23:17:43 +00:00
parent a858b0c525
commit afb703314f
+8 -19
View File
@@ -175,28 +175,16 @@ const Account = () => {
</form> </form>
</div> </div>
{/* Sign Out */} {/* Links */}
<div className="bg-card border border-border rounded-lg p-6 shadow-sm"> <div className="text-center mt-6 space-y-3">
<div className="flex items-center justify-between"> <button
<div> type="button"
<h3 className="font-medium">Logga ut</h3>
<p className="text-sm text-muted-foreground">
Logga ut från ditt konto
</p>
</div>
<Button
variant="outline"
onClick={handleSignOut} onClick={handleSignOut}
className="border-destructive text-destructive hover:bg-destructive hover:text-destructive-foreground" className="text-sm text-muted-foreground hover:underline"
> >
<LogOut className="h-4 w-4 mr-2" />
Logga ut Logga ut
</Button> </button>
</div> <div>
</div>
{/* Back link */}
<div className="text-center mt-8">
<button <button
type="button" type="button"
onClick={() => navigate("/")} onClick={() => navigate("/")}
@@ -208,6 +196,7 @@ const Account = () => {
</div> </div>
</div> </div>
</div> </div>
</div>
); );
}; };