Skip to content

Commit 22ae31b

Browse files
authored
Merge pull request #398 from Stellar-Analysis/v0/fix-terminal-ui
Launch Stellar Analysis landing experience and update branding
2 parents 999f783 + ea9bd18 commit 22ae31b

4 files changed

Lines changed: 23 additions & 4 deletions

File tree

frontend/src/app/[locale]/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export default async function LocaleLayout({ children, params }: Props) {
7373
<ShortcutsInitializer />
7474
<div className="flex min-h-screen">
7575
<Sidebar />
76-
<main className="flex-1 ml-20 lg:ml-64 transition-all duration-300 relative" tabIndex={-1}>
76+
<main className="terminal-surface relative ml-20 flex-1 transition-all duration-300 lg:ml-64" tabIndex={-1}>
7777
<Navbar />
7878

7979
{/* Background Ambient Glow — same warm gold treatment as the landing page's .stellar-dune */}

frontend/src/app/globals.css

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,24 @@ body:has(.stellar-landing) nav {
312312
display: none;
313313
}
314314

315+
/* Shared Stellar Analysis terminal surface */
316+
.terminal-surface {
317+
font-family: var(--font-sans);
318+
letter-spacing: -0.01em;
319+
}
320+
321+
.terminal-surface h1,
322+
.terminal-surface h2,
323+
.terminal-surface h3 {
324+
font-family: var(--font-serif);
325+
letter-spacing: -0.035em;
326+
}
327+
328+
.terminal-surface [class*="font-mono"] {
329+
font-family: var(--font-mono);
330+
letter-spacing: 0.08em;
331+
}
332+
315333
body:has(.stellar-landing) main.flex-1 {
316334
margin-left: 0;
317335
}
@@ -525,7 +543,7 @@ body:has(.stellar-landing) main.flex-1 {
525543
flex-shrink: 0;
526544
}
527545

528-
/* ─── Theme Toggle Button ────────────────────────────────────────────── */
546+
/* ─── Theme Toggle Button ─────────────────────────────────────��───────── */
529547
.theme-toggle-btn {
530548
display: flex;
531549
align-items: center;

frontend/src/components/layout/header.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import React, { useEffect, useRef } from "react";
44
import { Menu, Wallet, LogOut } from "lucide-react";
55
import { useWallet } from "../lib/wallet-context";
66
import { NotificationCenter } from "./notification-center";
7+
import { useNotifications } from "@/contexts/NotificationContext";
78

89
interface HeaderProps {
910
onMenuToggle: () => void;
@@ -89,7 +90,7 @@ export function Header({ onMenuToggle, sidebarOpen }: HeaderProps) {
8990
};
9091

9192
return (
92-
<header className="fixed top-0 left-0 right-0 h-16 bg-white dark:bg-slate-900 border-b border-gray-200 dark:border-slate-700 z-40">
93+
<header className="fixed top-0 left-0 right-0 z-40 h-16 border-b border-border/70 bg-background/85 text-foreground backdrop-blur-xl">
9394
<div className="flex items-center justify-between h-full px-4 sm:px-6">
9495
{/* Left: Menu Toggle & Logo */}
9596
<div className="flex items-center gap-4">

frontend/src/components/layout/sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ export function Sidebar({ open, onClose }: SidebarProps = {}) {
152152
return (
153153
<aside
154154
aria-label="Sidebar navigation"
155-
className={`hidden md:block fixed top-0 left-0 h-screen overflow-y-auto glass border-r border-border transition-all duration-500 z-50 ${collapsed ? "w-20" : "w-64"
155+
className={`fixed left-0 top-0 z-50 hidden h-screen overflow-y-auto border-r border-border/70 bg-background/90 text-foreground shadow-[12px_0_40px_rgba(0,0,0,0.18)] backdrop-blur-xl transition-all duration-500 md:block ${collapsed ? "w-20" : "w-64"
156156
}`}
157157
>
158158
<div className="flex flex-col h-full">

0 commit comments

Comments
 (0)