Changeset ba52069 for src/app/page.tsx
- Timestamp:
- 02/13/26 19:32:02 (7 months ago)
- Branches:
- master
- Children:
- d7deae5
- Parents:
- 50f2fb4
- File:
-
- 1 edited
-
src/app/page.tsx (modified) (11 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/app/page.tsx
r50f2fb4 rba52069 56 56 {/* Sticky Notes */} 57 57 <div className="w-full flex flex-col gap-4"> 58 <div className="bg-yellow- 100 border border-yellow-200 rounded-xl shadow-sm p-5">59 <div className="text-sm font-bold text- gray-900mb-2">{t('login_student_title')}</div>60 <div className="text-xs text- gray-800whitespace-pre-wrap font-mono">58 <div className="bg-yellow-500/10 border border-yellow-500/20 rounded-xl shadow-sm p-5"> 59 <div className="text-sm font-bold text-card-foreground mb-2">{t('login_student_title')}</div> 60 <div className="text-xs text-card-foreground whitespace-pre-wrap font-mono"> 61 61 {t('login_student_example')} 62 62 </div> 63 <div className="mt-3 text-xs text- gray-700">63 <div className="mt-3 text-xs text-muted-foreground"> 64 64 {t('login_note_slow')} 65 65 </div> 66 66 </div> 67 67 68 <div className="bg-yellow- 100 border border-yellow-200 rounded-xl shadow-sm p-5">69 <div className="text-sm font-bold text- gray-900mb-2">{t('login_professor_title')}</div>70 <div className="text-xs text- gray-800whitespace-pre-wrap font-mono">68 <div className="bg-yellow-500/10 border border-yellow-500/20 rounded-xl shadow-sm p-5"> 69 <div className="text-sm font-bold text-card-foreground mb-2">{t('login_professor_title')}</div> 70 <div className="text-xs text-card-foreground whitespace-pre-wrap font-mono"> 71 71 {t('login_professor_example')} 72 72 </div> … … 77 77 <div className="w-full max-w-md lg:max-w-none lg:w-[28rem] mx-auto"> 78 78 {/* Login Card */} 79 <div className="bg- white rounded-2xl shadow-xl border border-gray-100overflow-hidden">79 <div className="bg-card rounded-2xl shadow-xl border border-border overflow-hidden"> 80 80 {/* Header */} 81 81 <div className="bg-primary text-white px-8 py-6 text-center"> 82 82 <div className="mb-4"> 83 <div className="inline-flex items-center justify-center w-16 h-16 bg-white bg-opacity-20 rounded-full">84 <FontAwesomeIcon icon={faUser} className="text-2xl text- primary" />83 <div className="inline-flex items-center justify-center w-16 h-16 bg-white rounded-full shadow-lg"> 84 <FontAwesomeIcon icon={faUser} className="text-2xl text-[#0272D1]" /> 85 85 </div> 86 86 </div> … … 100 100 {/* Email Field */} 101 101 <div> 102 <label htmlFor="email" className="block text-sm font-medium text- gray-700mb-2">102 <label htmlFor="email" className="block text-sm font-medium text-muted-foreground mb-2"> 103 103 {t('login_email_label')} 104 104 </label> 105 105 <div className="relative"> 106 106 <div className="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"> 107 <FontAwesomeIcon icon={faUser} className="h-4 w-4 text- gray-400" />107 <FontAwesomeIcon icon={faUser} className="h-4 w-4 text-muted-foreground" /> 108 108 </div> 109 109 <input … … 114 114 value={formData.email} 115 115 onChange={handleInputChange} 116 className="w-full pl-10 pr-4 py-3 border border- gray-300rounded-lg focus:outline-none focus:ring-2 focus:ring-primary focus:border-primary transition-colors"116 className="w-full pl-10 pr-4 py-3 border border-input rounded-lg focus:outline-none focus:ring-2 focus:ring-primary focus:border-primary transition-colors" 117 117 placeholder={t('login_email_placeholder')} 118 118 /> … … 122 122 {/* Password Field */} 123 123 <div> 124 <label htmlFor="password" className="block text-sm font-medium text- gray-700mb-2">124 <label htmlFor="password" className="block text-sm font-medium text-muted-foreground mb-2"> 125 125 {t('login_password_label')} 126 126 </label> 127 127 <div className="relative"> 128 128 <div className="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"> 129 <FontAwesomeIcon icon={faLock} className="h-4 w-4 text- gray-400" />129 <FontAwesomeIcon icon={faLock} className="h-4 w-4 text-muted-foreground" /> 130 130 </div> 131 131 <input … … 136 136 value={formData.password} 137 137 onChange={handleInputChange} 138 className="w-full pl-10 pr-12 py-3 border border- gray-300rounded-lg focus:outline-none focus:ring-2 focus:ring-primary focus:border-primary transition-colors"138 className="w-full pl-10 pr-12 py-3 border border-input rounded-lg focus:outline-none focus:ring-2 focus:ring-primary focus:border-primary transition-colors" 139 139 placeholder={t('login_password_placeholder')} 140 140 /> … … 142 142 type="button" 143 143 onClick={() => setShowPassword(!showPassword)} 144 className="absolute inset-y-0 right-0 pr-3 flex items-center text- gray-400 hover:text-gray-600transition-colors"144 className="absolute inset-y-0 right-0 pr-3 flex items-center text-muted-foreground hover:text-foreground transition-colors" 145 145 > 146 146 <FontAwesomeIcon … … 159 159 name="remember" 160 160 type="checkbox" 161 className="h-4 w-4 text-primary focus:ring-primary border- gray-300rounded"161 className="h-4 w-4 text-primary focus:ring-primary border-input rounded" 162 162 /> 163 <label htmlFor="remember" className="ml-2 block text-sm text- gray-700">163 <label htmlFor="remember" className="ml-2 block text-sm text-muted-foreground"> 164 164 {t('login_remember_me')} 165 165 </label> … … 174 174 175 175 {errorMessage && ( 176 <div className="rounded-lg border border- red-200 bg-red-50 px-4 py-3 text-sm text-red-700">176 <div className="rounded-lg border border-destructive/20 bg-destructive/10 px-4 py-3 text-sm text-destructive"> 177 177 {t(errorMessage) || errorMessage} 178 178 </div> … … 192 192 193 193 {/* Footer */} 194 <div className="bg- gray-50 px-8 py-4 border-t border-gray-100">195 <p className="text-center text-sm text- gray-600">194 <div className="bg-accent px-8 py-4 border-t border-border"> 195 <p className="text-center text-sm text-muted-foreground"> 196 196 {t('login_no_account')}{' '} 197 197 <button className="text-primary hover:text-blue-700 font-medium transition-colors"> … … 204 204 {/* Additional Info */} 205 205 <div className="mt-6 text-center"> 206 <div className="inline-flex items-center gap-2 px-4 py-2 bg- whitebg-opacity-80 rounded-lg shadow-sm">206 <div className="inline-flex items-center gap-2 px-4 py-2 bg-card bg-opacity-80 rounded-lg shadow-sm"> 207 207 <FontAwesomeIcon icon={faGraduationCap} className="text-primary" /> 208 <span className="text-sm text- gray-600">208 <span className="text-sm text-muted-foreground"> 209 209 {t('login_footer')} 210 210 </span>
Note:
See TracChangeset
for help on using the changeset viewer.
