1import{_ as c}from"./AppLayout.vue_vue_type_script_setup_true_lang-CMTp3OzR.js";import{d as u,I as b,a as h,o as m,b as s,u as a,g as f,w as n,e,t as r,S as i,f as l,F as p}from"./app-Sjm4flg0.js";import"./Primitive-DAwDL9yE.js";import"./useForwardExpose-CfMg8AVP.js";import"./useForwardPropsEmits-BLmhAoAD.js";import"./TooltipTrigger.vue_vue_type_script_setup_true_lang-BT2WONvi.js";import"./SwitchLang.vue_vue_type_script_setup_true_lang-BsjLr_Uo.js";import"./AppLogoIcon.vue_vue_type_script_setup_true_lang-jGsn5TKp.js";import"./useDirection-8DtW-Wa-.js";import"./RovingFocusGroup-ux32MmRQ.js";import"./useArrowNavigation-B5rxJs06.js";const x={class:"flex h-full flex-1 flex-col gap-4 rounded-xl p-4 overflow-x-auto"},k={class:"mb-6"},y={class:"text-2xl font-bold text-gray-900 dark:text-gray-100"},v={class:"text-gray-600 dark:text-gray-400 mt-2"},w={class:"grid auto-rows-min gap-6 md:grid-cols-2"},_={class:"flex items-start gap-4"},M={class:"flex-1"},$={class:"text-lg font-semibold text-gray-900 dark:text-gray-100 mb-2"},C={class:"text-sm text-gray-600 dark:text-gray-400"},A={class:"flex items-start gap-4"},S={class:"flex-1"},B={class:"text-lg font-semibold text-gray-900 dark:text-gray-100 mb-2"},D={class:"text-sm text-gray-600 dark:text-gray-400"},j={class:"mt-6"},E={class:"text-lg font-semibold text-gray-900 dark:text-gray-100 mb-4"},V={class:"flex gap-4"},F=["href"],I={class:"mt-6 relative rounded-xl border border-sidebar-border/70 dark:border-sidebar-border bg-blue-50 dark:bg-blue-900/20 p-6"},N={class:"text-lg font-semibold text-gray-900 dark:text-gray-100 mb-2"},O={class:"space-y-2 text-sm text-gray-600 dark:text-gray-400"},K=u({__name:"Dashboard",setup(z){const{t:d}=b(),g=[{title:d("Dashboard"),href:route("admin.dashboard")}];return(t,o)=>(m(),h(p,null,[s(a(f),{title:a(d)("Dashboard")},null,8,["title"]),s(c,{breadcrumbs:g},{default:n(()=>[e("div",x,[e("div",k,[e("h2",y,r(t.$t("CMS Content Management System")),1),e("p",v,r(t.$t("Manage website categories and article content")),1)]),e("div",w,[s(a(i),{href:t.route("admin.categories.index"),class:"group relative overflow-hidden rounded-xl border border-sidebar-border/70 dark:border-sidebar-border bg-white dark:bg-gray-800 p-6 hover:shadow-lg transition-all"},{default:n(()=>[e("div",_,[o[0]||(o[0]=e("div",{class:"w-12 h-12 bg-blue-100 dark:bg-blue-900 rounded-lg flex items-center justify-center group-hover:scale-110 transition-transform"},[e("svg",{class:"w-6 h-6 text-blue-600 dark:text-blue-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 6h16M4 10h16M4 14h16M4 18h16"})])],-1)),e("div",M,[e("h3",$,r(t.$t("Category Management")),1),e("p",C,r(t.$t("Manage website categories, supports hierarchical structure")),1)]),o[1]||(o[1]=e("svg",{class:"w-5 h-5 text-gray-400 group-hover:translate-x-1 transition-transform",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5l7 7-7 7"})],-1))])]),_:1},8,["href"]),s(a(i),{href:t.route("admin.articles.index"),class:"group relative overflow-hidden rounded-xl border border-sidebar-border/70 dark:border-sidebar-border bg-white dark:bg-gray-800 p-6 hover:shadow-lg transition-all"},{default:n(()=>[e("div",A,[o[2]||(o[2]=e("div",{class:"w-12 h-12 bg-green-100 dark:bg-green-900 rounded-lg flex items-center justify-center group-hover:scale-110 transition-transform"},[e("svg",{class:"w-6 h-6 text-green-600 dark:text-green-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"})])],-1)),e("div",S,[e("h3",B,r(t.$t("Article Management")),1),e("p",D,r(t.$t("Create, edit and manage website article content")),1)]),o[3]||(o[3]=e("svg",{class:"w-5 h-5 text-gray-400 group-hover:translate-x-1 transition-transform",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5l7 7-7 7"})],-1))])]),_:1},8,["href"])]),e("div",j,[e("h3",E,r(t.$t("Quick Actions")),1),e("div",V,[s(a(i),{href:t.route("admin.categories.create"),class:"inline-flex items-center px-4 py-2 bg-blue-600 border border-transparent roun
1ded-md font-semibold text-xs text-white uppercase tracking-widest hover:bg-blue-700 active:bg-blue-900 focus:outline-none focus:border-blue-900 focus:ring focus:ring-blue-300 disabled:opacity-25 transition"},{default:n(()=>[l(r(t.$t("Add Category")),1)]),_:1},8,["href"]),s(a(i),{href:t.route("admin.articles.create"),class:"inline-flex items-center px-4 py-2 bg-green-600 border border-transparent rounded-md font-semibold text-xs text-white uppercase tracking-widest hover:bg-green-700 active:bg-green-900 focus:outline-none focus:border-green-900 focus:ring focus:ring-green-300 disabled:opacity-25 transition"},{default:n(()=>[l(r(t.$t("Add Article")),1)]),_:1},8,["href"]),e("a",{href:t.route("home"),target:"_blank",class:"inline-flex items-center px-4 py-2 bg-gray-600 border border-transparent rounded-md font-semibold text-xs text-white uppercase tracking-widest hover:bg-gray-700 active:bg-gray-900 focus:outline-none focus:border-gray-900 focus:ring focus:ring-gray-300 disabled:opacity-25 transition"},r(t.$t("View Frontend Website")),9,F)])]),e("div",I,[e("h3",N,r(t.$t("Instructions")),1),e("ul",O,[e("li",null,"⢠"+r(t.$t("Category Management: Create and manage website content categories")),1),e("li",null,"⢠"+r(t.$t("Article Management: Publish and edit articles, supports HTML format")),1),e("li",null,"⢠"+r(t.$t("Anti-duplicate: Use source_url to prevent duplicate collection")),1),e("li",null,"⢠"+r(t.$t("SEO Optimization: Every article supports custom SEO metadata")),1),e("li",null,"⢠"+r(t.$t("Detailed Docs: Check README_CMS.md for more features")),1)])])])]),_:1})],64))}});export{K as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.