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"../chunks/DAapakUx.js";import{j as t,n as k,l as v,$ as B,s as i,o as e,i as w,w as d,x as f,v as a}from"../chunks/DScGFiBY.js";import{h as y}from"../chunks/ChlQth4G.js";import{B as x}from"../chunks/CcEFwafz.js";import{C as P,a as C}from"../chunks/Y4l2nr7b.js";var j=v('<p class="text-muted-foreground text-center text-sm">Receipt creation will be available here.</p> <div class="flex justify-center gap-2"><a href="/receipts"><!></a> <a href="/"><!></a></div>',1),q=v('<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="/receipts" class="text-muted-foreground hover:text-foreground shrink-0 text-sm" title="Back to receipts">Back</a> <h1 class="text-xl font-semibold sm:text-2xl">New receipt</h1></div> <!></main>');function F($){var r=q();y("1mqc1bt",c=>{k(()=>{B.title="New receipt – Stackq"})});var h=i(e(r),2);P(h,{children:(c,N)=>{C(c,{class:"flex flex-col gap-4 py-8",children:(u,H)=>{var n=j(),p=i(w(n),2),s=e(p),g=e(s);x(g,{variant:"outline",children:(o,b)=>{d();var l=f("Back to receipts");t(o,l)},$$slots:{default:!0}}),a(s);var m=i(s,2),_=e(m);x(_,{variant:"ghost",children:(o,b)=>{d();var l=f("Home");t(o,l)},$$slots:{default:!0}}),a(m),a(p),t(u,n)},$$slots:{default:!0}})},$$slots:{default:!0}}),a(r),t($,r)}export{F as component};
|
||||
Reference in New Issue
Block a user