Changeset 90f7842 for src/app/page.tsx


Ignore:
Timestamp:
12/21/25 18:36:39 (9 months ago)
Author:
Stefan-Saveski <stefansaveski19@…>
Branches:
master
Children:
997d094
Parents:
b67f274
Message:

fix: Update API endpoints to use production URL for user data retrieval and authentication

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/app/page.tsx

    rb67f274 r90f7842  
    4949        {/* Login Form */}
    5050        <div className="flex items-center justify-center min-h-[calc(100vh-160px)] p-4">
    51           <div className="w-full max-w-md">
    52             {/* Login Card */}
    53             <div className="bg-white rounded-2xl shadow-xl border border-gray-100 overflow-hidden">
    54             {/* Header */}
    55             <div className="bg-primary text-white px-8 py-6 text-center">
     51          <div className="w-full max-w-5xl">
     52            <div className="grid grid-cols-1 gap-6 lg:grid-cols-[24rem_28rem_24rem] lg:items-start lg:justify-center">
     53              {/* Sticky Notes */}
     54              <div className="w-full flex flex-col gap-4">
     55                <div className="bg-yellow-100 border border-yellow-200 rounded-xl shadow-sm p-5">
     56                  <div className="text-sm font-bold text-gray-900 mb-2">Login for Student</div>
     57                  <div className="text-xs text-gray-800 whitespace-pre-wrap font-mono">
     58                    {`"email":"boris@example.com",
     59"password":"your-password-here",`}
     60                  </div>
     61                  <div className="mt-3 text-xs text-gray-700">
     62                    may take up to 30 seconds afte long inactivity
     63                  </div>
     64                </div>
     65
     66                <div className="bg-yellow-100 border border-yellow-200 rounded-xl shadow-sm p-5">
     67                  <div className="text-sm font-bold text-gray-900 mb-2">Login for Professor</div>
     68                  <div className="text-xs text-gray-800 whitespace-pre-wrap font-mono">
     69                    {`"email":"andonov@gmail.com",
     70"password":"123lol456",`}
     71                  </div>
     72                </div>
     73              </div>
     74
     75              {/* Login Card Column */}
     76              <div className="w-full max-w-md lg:max-w-none lg:w-[28rem] mx-auto">
     77                {/* Login Card */}
     78                <div className="bg-white rounded-2xl shadow-xl border border-gray-100 overflow-hidden">
     79                {/* Header */}
     80                <div className="bg-primary text-white px-8 py-6 text-center">
    5681              <div className="mb-4">
    5782                <div className="inline-flex items-center justify-center w-16 h-16 bg-white bg-opacity-20 rounded-full">
     
    170195              </p>
    171196            </div>
    172           </div>
    173 
    174           {/* Additional Info */}
    175           <div className="mt-6 text-center">
    176             <div className="inline-flex items-center gap-2 px-4 py-2 bg-white bg-opacity-80 rounded-lg shadow-sm">
    177               <FontAwesomeIcon icon={faGraduationCap} className="text-primary" />
    178               <span className="text-sm text-gray-600">
    179                 Студентски информационен систем
    180               </span>
     197                </div>
     198
     199                {/* Additional Info */}
     200                <div className="mt-6 text-center">
     201                  <div className="inline-flex items-center gap-2 px-4 py-2 bg-white bg-opacity-80 rounded-lg shadow-sm">
     202                    <FontAwesomeIcon icon={faGraduationCap} className="text-primary" />
     203                    <span className="text-sm text-gray-600">
     204                      Студентски информационен систем
     205                    </span>
     206                  </div>
     207                </div>
     208              </div>
     209
     210              {/* Right spacer column (keeps login centered) */}
     211              <div className="hidden lg:block" />
    181212            </div>
    182213          </div>
     
    184215      </div>
    185216    </div>
    186     </div>
    187217  );
    188218}
Note: See TracChangeset for help on using the changeset viewer.