앱 수정

This commit is contained in:
Macbook
2026-05-28 15:37:02 +09:00
parent 3503ef33f5
commit f64dc1e983
21 changed files with 1434 additions and 755 deletions
+23
View File
@@ -0,0 +1,23 @@
import React from 'react';
interface Props {
title: string;
subtitle?: string;
onBack: () => void;
right?: React.ReactNode;
}
export default function MobileStackHeader({ title, subtitle, onBack, right }: Props) {
return (
<header className="screen-header mobile-stack-header">
<button type="button" className="mobile-back-btn" onClick={onBack} aria-label="목록으로">
</button>
<div className="mobile-stack-header-titles">
<h1 className="screen-title mobile-stack-title">{title}</h1>
{subtitle && <p className="text-muted mobile-stack-subtitle">{subtitle}</p>}
</div>
{right && <div className="mobile-stack-header-right">{right}</div>}
</header>
);
}