[as] chore: 행정지원 메뉴 수정

This commit is contained in:
2026-08-05 17:18:38 +09:00
parent 1d8d9c7b3d
commit 4aa2d0a62c
18 changed files with 108 additions and 72 deletions
+2 -8
View File
@@ -1,12 +1,6 @@
"use client";
import {
Button,
Dialog,
DialogClose,
DialogContent,
DialogFooter,
} from "@common/components";
import { Button, Dialog, DialogClose, DialogContent, DialogFooter } from "@common/components";
import { useAlertStore } from "../lib/use-alert-store";
@@ -20,7 +14,7 @@ function AlertDialog() {
<Dialog open={!!message} onOpenChange={handleOpenChange}>
<DialogContent aria-describedby={undefined}>
<div className="py-10">
<p className="text-foreground whitespace-pre-line text-center text-[1.4rem]">
<p className="whitespace-pre-line break-keep text-center text-[1.4rem] text-foreground">
{message}
</p>
</div>
+3 -1
View File
@@ -1,2 +1,4 @@
export { PageLayout } from "./page-layout";
export { NoData } from "./no-data";
export { PageLayout } from "./page-layout";
export type { TextShimmerProps } from "./text-shimmer";
export { TEXT_SHIMMER_CLASS, TextShimmer } from "./text-shimmer";
+19
View File
@@ -0,0 +1,19 @@
import { cn } from "@common/components";
const TEXT_SHIMMER_CLASS =
"animate-text-shimmer bg-gradient-to-r from-muted-foreground via-muted to-muted-foreground bg-[length:200%_100%] bg-clip-text text-transparent";
interface TextShimmerProps extends React.ComponentPropsWithoutRef<"span"> {
active?: boolean;
}
function TextShimmer({ active = false, className, children, ...props }: TextShimmerProps) {
return (
<span className={cn(className, active && TEXT_SHIMMER_CLASS)} {...props}>
{children}
</span>
);
}
export { TEXT_SHIMMER_CLASS, TextShimmer };
export type { TextShimmerProps };