Enhance SvelteKit project by adding new API routes for dark mode toggling, updating existing route parameters, and improving type definitions. Refactor component imports and optimize asset handling for better performance and maintainability.
This commit is contained in:
@@ -0,0 +1 @@
|
||||
import"../chunks/Bzak7iHL.js";import{p as v,j as e,m as _,n as g,i as k,x as B,t as y,o as s,l as i,s as m,$ as A,v as o,w as C}from"../chunks/DScGFiBY.js";import{s as P}from"../chunks/B7h8GtFa.js";import{h as b}from"../chunks/ChlQth4G.js";import{B as j}from"../chunks/CcEFwafz.js";import{C as w,a as q}from"../chunks/Y4l2nr7b.js";var S=i('<p class="text-muted-foreground text-sm"> </p> <a href="/accounts"><!></a>',1),z=i('<main class="container mx-auto flex flex-col gap-6 px-4 py-6 sm:px-6 sm:py-8"><div class="flex items-center gap-3"><a href="/accounts" class="text-muted-foreground hover:text-foreground shrink-0 text-sm" title="Back to accounts">Back</a> <h1 class="text-xl font-semibold sm:text-2xl">Account</h1></div> <!></main>');function M(p,r){v(r,!0);var t=z();b("xw1yjl",c=>{g(()=>{A.title="Account – Stackq"})});var f=m(s(t),2);w(f,{children:(c,D)=>{q(c,{class:"flex flex-col gap-4 py-8",children:(u,E)=>{var n=S(),a=k(n),x=s(a);o(a);var l=m(a,2),d=s(l);j(d,{variant:"outline",children:(h,F)=>{C();var $=B("Back to accounts");e(h,$)},$$slots:{default:!0}}),o(l),y(()=>P(x,`Account ${r.params.id??""}`)),e(u,n)},$$slots:{default:!0}})},$$slots:{default:!0}}),o(t),e(p,t),_()}export{M as component};
|
||||
Reference in New Issue
Block a user