feat: integrate R2 for secure build artifact downloads and update flashing flow with authentication

This commit is contained in:
Ben Allfree
2025-11-24 05:44:59 -08:00
parent 9cc1a96c1a
commit 60cf17b584
12 changed files with 344 additions and 14 deletions
+3 -1
View File
@@ -31,7 +31,9 @@ export default function Navbar() {
<div className="flex items-center gap-4">
<Unauthenticated>
<Button
onClick={() => signIn('google', { redirectTo: '/dashboard' })}
onClick={() =>
signIn('google', { redirectTo: window.location.href })
}
className="bg-white text-slate-900 hover:bg-slate-200"
>
Sign in
+1 -1
View File
@@ -30,7 +30,7 @@ export function ProfileStatisticPills({
}
interface ProfileCardContentProps {
profile: Doc
profile: Doc<'profiles'>
}
export function ProfileCardContent({ profile }: ProfileCardContentProps) {
+1 -1
View File
@@ -18,7 +18,7 @@ interface ProfileFormValues {
}
interface ProfileEditorProps {
initialData?: Doc
initialData?: Doc<'profiles'>
onSave: () => void
onCancel: () => void
}