veza/.build/incus/web/js/SocialPage-Do_G7s_O.js
senke 1ed6e7f07b state-ownership: delete unused optimisticStoreUpdates.ts file
- Deleted apps/web/src/utils/optimisticStoreUpdates.ts (unused file)
- File was unused - no imports found in codebase
- Mutations already use React Query's onMutate pattern
- No TypeScript errors after deletion
- Actions 4.4.1.2 and 4.4.1.3 complete
2026-01-15 19:26:53 +01:00

2 lines
4.5 KiB
JavaScript

import{a3 as i,r as c,j as e,ao as t,B as a,aP as l,au as o,bt as n,bC as x}from"./chunk-Cad8leGS.js";import"./chunk-wkfC2Tom.js";import"./chunk-BoPufJSi.js";import"./chunk-VMUEamc6.js";import"./chunk-Df4po8fP.js";function g(){const{toast:r}=i(),[d]=c.useState([{id:1,author:"DJ Nova",avatar:"🎧",content:"Just dropped a new track! Check it out on my profile.",likes:42,comments:8,timestamp:"2h ago"},{id:2,author:"Producer Mike",avatar:"🎹",content:"Working on a collaboration with some amazing artists. Stay tuned!",likes:28,comments:5,timestamp:"4h ago"}]);return e.jsxs("div",{className:"min-h-screen p-6 space-y-6",children:[e.jsx("div",{className:"glass-hud rounded-2xl border-white/10 p-6 hud-corner",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-12 h-12 rounded-xl bg-kodo-cyan/20 flex items-center justify-center border border-kodo-cyan/30",children:e.jsx(t,{className:"w-6 h-6 text-kodo-cyan"})}),e.jsxs("div",{children:[e.jsx("h1",{className:"text-2xl font-display font-bold text-white",children:"Community Feed"}),e.jsx("p",{className:"text-sm text-kodo-secondary",children:"Connect with artists worldwide"})]})]}),e.jsx(a,{className:"bg-kodo-cyan hover:bg-kodo-cyan/80 text-black",onClick:()=>r({message:"Post creation coming soon!",type:"info"}),children:"Create Post"})]})}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[e.jsx("div",{className:"glass-hud rounded-xl border-white/10 p-4",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(l,{className:"w-5 h-5 text-kodo-lime"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-kodo-secondary",children:"Trending"}),e.jsx("p",{className:"text-lg font-bold text-white",children:"156 Posts"})]})]})}),e.jsx("div",{className:"glass-hud rounded-xl border-white/10 p-4",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(t,{className:"w-5 h-5 text-kodo-cyan"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-kodo-secondary",children:"Following"}),e.jsx("p",{className:"text-lg font-bold text-white",children:"42 Artists"})]})]})}),e.jsx("div",{className:"glass-hud rounded-xl border-white/10 p-4",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(o,{className:"w-5 h-5 text-kodo-magenta"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs text-kodo-secondary",children:"Likes"}),e.jsx("p",{className:"text-lg font-bold text-white",children:"1.2K Total"})]})]})})]}),e.jsx("div",{className:"space-y-4",children:d.map(s=>e.jsx("div",{className:"glass-hud rounded-xl border-white/10 p-6 hud-corner",children:e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"w-12 h-12 rounded-xl bg-kodo-graphite border border-white/10 flex items-center justify-center text-2xl",children:s.avatar}),e.jsxs("div",{className:"flex-1",children:[e.jsx("div",{className:"flex items-center justify-between mb-2",children:e.jsxs("div",{children:[e.jsx("h3",{className:"font-bold text-white",children:s.author}),e.jsx("p",{className:"text-xs text-kodo-secondary",children:s.timestamp})]})}),e.jsx("p",{className:"text-white mb-4",children:s.content}),e.jsxs("div",{className:"flex items-center gap-6",children:[e.jsxs("button",{className:"flex items-center gap-2 text-kodo-secondary hover:text-kodo-magenta transition-colors",children:[e.jsx(o,{className:"w-4 h-4"}),e.jsx("span",{className:"text-sm",children:s.likes})]}),e.jsxs("button",{className:"flex items-center gap-2 text-kodo-secondary hover:text-kodo-cyan transition-colors",children:[e.jsx(n,{className:"w-4 h-4"}),e.jsx("span",{className:"text-sm",children:s.comments})]}),e.jsxs("button",{className:"flex items-center gap-2 text-kodo-secondary hover:text-white transition-colors",children:[e.jsx(x,{className:"w-4 h-4"}),e.jsx("span",{className:"text-sm",children:"Share"})]})]})]})]})},s.id))}),e.jsxs("div",{className:"glass-hud rounded-xl border-white/10 p-12 text-center",children:[e.jsx(t,{className:"w-16 h-16 text-kodo-secondary mx-auto mb-4 opacity-50"}),e.jsx("h3",{className:"text-lg font-bold text-white mb-2",children:"Start Following Artists"}),e.jsx("p",{className:"text-kodo-secondary mb-4",children:"Follow artists to see their latest updates in your feed"}),e.jsx(a,{variant:"outline",className:"border-kodo-cyan/30 text-kodo-cyan hover:bg-kodo-cyan/10",children:"Discover Artists"})]})]})}export{g as SocialPage};
//# sourceMappingURL=SocialPage-Do_G7s_O.js.map