import { AppCard } from "@/components";
import { useLocation } from "react-router-dom";
import "./index.scss";

export function RoutePlaceholderPage() {
    const location = useLocation();

    return (
        <div className="route-placeholder">
            <AppCard title="动态路由占位页">
                <p>当前路由：{location.pathname}</p>
                <p>这里先用于承接动态菜单和页面挂载，后续再补真实业务实现。</p>
            </AppCard>
        </div>
    );
}
