feat: redesigned Home (weather+forecast bar, today+tomorrow, pinned notes), fix snow animation, scrollable weather modal, weather hints
Some checks failed
Deploy / deploy (push) Has been cancelled
Some checks failed
Deploy / deploy (push) Has been cancelled
This commit is contained in:
@@ -11,6 +11,7 @@ interface Note {
|
||||
items?: { id: string; text: string; done: boolean }[]
|
||||
text?: string
|
||||
color: string
|
||||
pinDate: string | null
|
||||
createdAt: string
|
||||
updatedAt: string
|
||||
}
|
||||
@@ -42,6 +43,7 @@ export async function POST(req: Request) {
|
||||
items: body.type === 'shopping' ? [] : undefined,
|
||||
text: body.type === 'note' ? '' : undefined,
|
||||
color: body.color || '#6366f1',
|
||||
pinDate: body.pinDate || null,
|
||||
createdAt: new Date().toISOString(),
|
||||
updatedAt: new Date().toISOString(),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user