mirror of
https://github.com/Dasemu/skipredictor.git
synced 2026-11-26 15:26:15 +00:00
feat(crowd): add automated historical webcam collection and dataset integration
This commit is contained in:
1 parent
e952cea417
commit
b4c6041eea
91 files changed
+7957
-40
No files matched your search
@@ -0,0 +1,49 @@
|
||||
import type { ReactNode } from 'react'
|
||||
|
||||
interface BlockProps {
|
||||
title: string
|
||||
message: string
|
||||
action?: ReactNode
|
||||
}
|
||||
|
||||
export function SplashScreen() {
|
||||
return (
|
||||
<section className="auth-shell auth-shell--splash">
|
||||
<div className="auth-card">
|
||||
<p className="eyebrow">Ski Predictor</p>
|
||||
<h1>Preparando la app</h1>
|
||||
<p className="auth-card__hint">
|
||||
Cargando sesión, preferencias y últimas predicciones.
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
|
||||
export function LoadingBlock({ title, message }: BlockProps) {
|
||||
return (
|
||||
<section className="state-block">
|
||||
<div className="loader" aria-hidden="true" />
|
||||
<h3>{title}</h3>
|
||||
<p>{message}</p>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
|
||||
export function EmptyBlock({ title, message, action }: BlockProps) {
|
||||
return (
|
||||
<section className="state-block">
|
||||
<h3>{title}</h3>
|
||||
<p>{message}</p>
|
||||
{action}
|
||||
</section>
|
||||
)
|
||||
}
|
||||
|
||||
export function ErrorBanner({ message }: { message: string }) {
|
||||
return <div className="notice-banner notice-banner--error">{message}</div>
|
||||
}
|
||||
|
||||
export function InfoBanner({ message }: { message: string }) {
|
||||
return <div className="notice-banner notice-banner--info">{message}</div>
|
||||
}
|
||||
Reference in new issue
Block a user