@@ -21,18 +21,17 @@ export const DownloadModelModal: React.FC<Props> = ({
2121
2222 return (
2323 < AnimatePresence >
24- < div className = "absolute left-0 top-0 z-20 flex h-screen w-screen flex-col items-center justify-center bg-black/90" >
25- < div
26- style = { { width : 'min(750px, 50vw)' } }
27- className = "flex flex-col gap-5 rounded-md border border-background-1 bg-backdrop p-8"
28- >
24+ < div className = "absolute left-0 top-0 z-20 flex h-screen w-screen flex-col items-center justify-center bg-black/90 px-4 md:px-0" >
25+ < div className = "flex w-full flex-col gap-5 rounded-md border border-background-1 bg-backdrop p-5 md:w-[min(750px,50vw)] md:p-8" >
2926 < div className = "flex items-center gap-2" >
30- < span className = "material-symbols-outlined text-3xl" >
27+ < span className = "material-symbols-outlined text-2xl md:text- 3xl" >
3128 auto_awesome
3229 </ span >
33- < h1 className = "text-3xl font-bold" > Download Our New Model</ h1 >
30+ < h1 className = "text-2xl font-bold md:text-3xl" >
31+ Download Our New Model
32+ </ h1 >
3433 </ div >
35- < div className = "flex flex-col gap-3" >
34+ < div className = "flex flex-col gap-3 text-sm md:text-base " >
3635 < p className = "text-primary/80" >
3736 Our newest model, Maia 2, provides richer and more in-depth
3837 analysis, allowing for:
@@ -58,25 +57,30 @@ export const DownloadModelModal: React.FC<Props> = ({
5857 </ div >
5958 < div className = "mt-6 flex flex-row items-center justify-end gap-2" >
6059 { progress ? (
61- < div className = "flex h-10 flex-1 items-center overflow-hidden rounded bg-human-4/20" >
60+ < div className = "relative flex h-8 flex-1 items-center justify-start overflow-hidden rounded bg-human-4/20 px-3 md:h-10" >
61+ < p className = "text-sm text-primary md:text-base" >
62+ { Math . round ( progress ) } %
63+ </ p >
6264 < div
63- className = "h-10 rounded-l bg-human-4/80"
65+ className = "absolute left-0 top-0 h-10 rounded-l bg-human-4/80"
6466 style = { { width : `${ progress } %` } }
6567 />
6668 </ div >
6769 ) : null }
6870 < div
6971 tabIndex = { 0 }
7072 role = "button"
71- className = "flex h-10 cursor-pointer select-none items-center gap-1 self-end rounded bg-human-4 px-4 transition duration-200 hover:bg-human-4/90"
73+ className = "flex h-8 cursor-pointer select-none items-center gap-1 self-end rounded bg-human-4 px-3 text-sm transition duration-200 hover:bg-human-4/90 md:h-10 md:px-4 md:text-base "
7274 onClick = { download }
7375 onKeyDown = { ( e ) => {
7476 if ( e . key === 'Enter' || e . key === ' ' ) {
7577 download ( )
7678 }
7779 } }
7880 >
79- < span className = "material-symbols-outlined" > download</ span >
81+ < span className = "material-symbols-outlined text-lg md:text-xl" >
82+ download
83+ </ span >
8084 < p >
8185 Download Maia 2{ ' ' }
8286 < span className = "text-xs text-primary/60" > (90mb)</ span >
0 commit comments