Skip to content

Commit 99c0ebc

Browse files
committed
feat: 🎨 Update AppLayout to use Link component and enhance user settings with dark mode and new themes
1 parent cc91652 commit 99c0ebc

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎data/bytebox.db‎

0 Bytes
Binary file not shown.

‎src/components/layout/AppLayout.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ export function AppLayout({
207207
const Icon = item.icon;
208208
const iconColor = getIconColor(item.name);
209209
return (
210-
<a
210+
<Link
211211
key={item.name}
212212
href={item.href}
213213
className={cn(
@@ -236,7 +236,7 @@ export function AppLayout({
236236
{item.name}
237237
</span>
238238
)}
239-
</a>
239+
</Link>
240240
);
241241
})}
242242
</nav>

‎src/lib/db/queries.ts‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -368,15 +368,15 @@ export async function getUserSettings(): Promise<UserSettingsData> {
368368
await prisma.userSettings.create({
369369
data: {
370370
id: SETTINGS_ID,
371-
mode: 'light',
372-
accentThemeId: 'default',
373-
iconThemeId: 'default',
371+
mode: 'dark',
372+
accentThemeId: 'byte-classic',
373+
iconThemeId: 'neon-grid',
374374
customAccentThemes: '[]',
375375
settingsPresets: '[]',
376-
backgroundConfig: '{}',
377-
fontConfig: '{}',
378-
customIconColor: '',
379-
glassIntensity: 0,
376+
backgroundConfig: '{"type":"default"}',
377+
fontConfig: '{"uiFont":"system","monoFont":"geist-mono"}',
378+
customIconColor: '#f472b6',
379+
glassIntensity: 60,
380380
},
381381
});
382382

0 commit comments

Comments
 (0)