Rebrand to MyMidas
- Browser tab title: MyMidas - Sidebar logo: Coins icon + MyMidas text - Login page header: MyMidas - TOTP issuer name: MyMidas (shows in authenticator apps) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
61a7884ee5
commit
c7b868e585
4 changed files with 9 additions and 9 deletions
|
|
@ -156,7 +156,7 @@ def generate_totp_secret() -> str:
|
||||||
|
|
||||||
def get_totp_uri(secret: str, email: str) -> str:
|
def get_totp_uri(secret: str, email: str) -> str:
|
||||||
return pyotp.totp.TOTP(secret).provisioning_uri(
|
return pyotp.totp.TOTP(secret).provisioning_uri(
|
||||||
name=email, issuer_name="Finance Tracker"
|
name=email, issuer_name="MyMidas"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,8 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>Finance Tracker</title>
|
<title>MyMidas</title>
|
||||||
<meta name="description" content="Self-hosted personal finance tracker" />
|
<meta name="description" content="MyMidas — self-hosted personal finance tracker" />
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||||
<link href="https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=DM+Mono:wght@400;500&family=VT323&family=Orbitron:wght@400;600;700&family=Lora:ital,wght@0,400;0,500;0,600;1,400&family=Share+Tech+Mono&display=swap" rel="stylesheet" />
|
<link href="https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=DM+Mono:wght@400;500&family=VT323&family=Orbitron:wght@400;600;700&family=Lora:ital,wght@0,400;0,500;0,600;1,400&family=Share+Tech+Mono&display=swap" rel="stylesheet" />
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ import {
|
||||||
Settings,
|
Settings,
|
||||||
ChevronLeft,
|
ChevronLeft,
|
||||||
ChevronRight,
|
ChevronRight,
|
||||||
DollarSign,
|
Coins,
|
||||||
} from "lucide-react";
|
} from "lucide-react";
|
||||||
|
|
||||||
const navItems = [
|
const navItems = [
|
||||||
|
|
@ -39,9 +39,9 @@ export default function Sidebar() {
|
||||||
>
|
>
|
||||||
{/* Logo */}
|
{/* Logo */}
|
||||||
<div className="flex items-center h-16 px-4 border-b border-border shrink-0">
|
<div className="flex items-center h-16 px-4 border-b border-border shrink-0">
|
||||||
<DollarSign className="w-7 h-7 text-primary shrink-0" />
|
<Coins className="w-7 h-7 text-primary shrink-0" />
|
||||||
{sidebarOpen && (
|
{sidebarOpen && (
|
||||||
<span className="ml-2 font-semibold text-lg truncate">Finance</span>
|
<span className="ml-2 font-semibold text-lg truncate">MyMidas</span>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ import { useState } from "react";
|
||||||
import { useNavigate } from "react-router-dom";
|
import { useNavigate } from "react-router-dom";
|
||||||
import { login, loginTotp, getMe } from "@/api/auth";
|
import { login, loginTotp, getMe } from "@/api/auth";
|
||||||
import { useAuthStore } from "@/store/authStore";
|
import { useAuthStore } from "@/store/authStore";
|
||||||
import { DollarSign, Eye, EyeOff, Loader2, ShieldCheck } from "lucide-react";
|
import { Coins, Eye, EyeOff, Loader2, ShieldCheck } from "lucide-react";
|
||||||
|
|
||||||
export default function LoginPage() {
|
export default function LoginPage() {
|
||||||
const navigate = useNavigate();
|
const navigate = useNavigate();
|
||||||
|
|
@ -78,9 +78,9 @@ export default function LoginPage() {
|
||||||
<div className="w-full max-w-md">
|
<div className="w-full max-w-md">
|
||||||
<div className="flex items-center justify-center gap-2 mb-8">
|
<div className="flex items-center justify-center gap-2 mb-8">
|
||||||
<div className="p-2 rounded-xl bg-primary/20">
|
<div className="p-2 rounded-xl bg-primary/20">
|
||||||
<DollarSign className="w-8 h-8 text-primary" />
|
<Coins className="w-8 h-8 text-primary" />
|
||||||
</div>
|
</div>
|
||||||
<span className="text-2xl font-bold">Finance Tracker</span>
|
<span className="text-2xl font-bold">MyMidas</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="bg-card border border-border rounded-xl p-8 shadow-xl">
|
<div className="bg-card border border-border rounded-xl p-8 shadow-xl">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue