fix(web): align header and match badges with brand styling
This commit is contained in:
1 parent
ee3e5935d6
commit
577ce45b64
3 files changed
+8
-8
No files matched your search
@@ -27,7 +27,7 @@ function MsalHeaderActions() {
|
|||||||
if (!account) {
|
if (!account) {
|
||||||
return (
|
return (
|
||||||
<Link
|
<Link
|
||||||
className="btn btn-ghost btn-xs px-2 text-base-content/60 hover:text-base-content"
|
className="btn btn-ghost btn-sm px-2 text-base-content/60 hover:text-base-content"
|
||||||
to="/login"
|
to="/login"
|
||||||
>
|
>
|
||||||
로그인
|
로그인
|
||||||
@@ -38,7 +38,7 @@ function MsalHeaderActions() {
|
|||||||
return (
|
return (
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
className="btn btn-ghost btn-xs px-3"
|
className="btn btn-ghost btn-sm px-3"
|
||||||
onClick={() => void instance.logoutRedirect()}
|
onClick={() => void instance.logoutRedirect()}
|
||||||
>
|
>
|
||||||
{account.name ?? account.username} 로그아웃
|
{account.name ?? account.username} 로그아웃
|
||||||
@@ -56,11 +56,11 @@ function ThemeToggle() {
|
|||||||
<span className="tooltip tooltip-bottom" data-tip={label}>
|
<span className="tooltip tooltip-bottom" data-tip={label}>
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
className="btn btn-ghost btn-xs btn-square text-base-content/60 hover:text-base-content"
|
className="btn btn-ghost btn-sm btn-square text-base-content/60 hover:text-base-content"
|
||||||
aria-label={label}
|
aria-label={label}
|
||||||
onClick={() => setTheme(nextTheme)}
|
onClick={() => setTheme(nextTheme)}
|
||||||
>
|
>
|
||||||
<Icon className="h-3.5 w-3.5" aria-hidden="true" />
|
<Icon className="size-4" aria-hidden="true" />
|
||||||
</button>
|
</button>
|
||||||
</span>
|
</span>
|
||||||
);
|
);
|
||||||
@@ -121,9 +121,9 @@ function App() {
|
|||||||
<BrowserRouter>
|
<BrowserRouter>
|
||||||
<div className="min-h-screen bg-base-100 flex flex-col">
|
<div className="min-h-screen bg-base-100 flex flex-col">
|
||||||
<nav className="bg-base-100 border-b border-base-content/10 sticky top-0 z-50">
|
<nav className="bg-base-100 border-b border-base-content/10 sticky top-0 z-50">
|
||||||
<div className="max-w-5xl mx-auto px-4 sm:px-6 flex items-center justify-between h-11">
|
<div className="max-w-5xl mx-auto px-4 sm:px-6 flex items-center justify-between h-12">
|
||||||
<Link
|
<Link
|
||||||
className="text-sm font-bold tracking-tight text-base-content"
|
className="text-base font-bold tracking-tight text-base-content"
|
||||||
to="/"
|
to="/"
|
||||||
>
|
>
|
||||||
{communityLabel}
|
{communityLabel}
|
||||||
|
|||||||
@@ -923,7 +923,7 @@ function TeamCard({
|
|||||||
{team.name}
|
{team.name}
|
||||||
</span>
|
</span>
|
||||||
{isWinner && (
|
{isWinner && (
|
||||||
<span className="inline-flex items-center text-xs font-bold px-1.5 py-0.5 bg-amber-500/15 text-amber-400 border border-amber-500/20">
|
<span className="inline-flex items-center text-xs font-bold px-1.5 py-0.5 bg-accent/15 text-amber-400 border border-accent/20">
|
||||||
WIN
|
WIN
|
||||||
</span>
|
</span>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -129,7 +129,7 @@ function ParticipantLine({
|
|||||||
{name}
|
{name}
|
||||||
</span>
|
</span>
|
||||||
{isCaptain && (
|
{isCaptain && (
|
||||||
<span className="shrink-0 border border-amber-500/20 bg-amber-500/10 px-1.5 py-0.5 text-xs font-bold text-amber-500">
|
<span className="shrink-0 border border-accent/20 bg-accent/10 px-1.5 py-0.5 text-xs font-bold text-amber-500">
|
||||||
팀장
|
팀장
|
||||||
</span>
|
</span>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in new issue
Block a user