Skip to content

Commit b7d1cef

Browse files
authored
[offers][style] fix education card style (#549)
1 parent 53fb711 commit b7d1cef

File tree

3 files changed

+7
-10
lines changed

3 files changed

+7
-10
lines changed

apps/portal/src/components/offers/profile/EducationCard.tsx

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
import {
2-
BuildingLibraryIcon,
3-
LightBulbIcon,
4-
} from '@heroicons/react/24/outline';
1+
import { BuildingLibraryIcon, LightBulbIcon } from '@heroicons/react/20/solid';
52

63
import type { EducationType } from '~/components/offers/EducationFields';
74
import { getLabelForEducationFieldType } from '~/components/offers/EducationFields';
@@ -18,9 +15,9 @@ export default function EducationCard({
1815
<div className="block rounded-lg border border-slate-200 bg-white p-4 text-sm ">
1916
<div className="flex justify-between">
2017
<div>
21-
<div className="flex items-center">
22-
<LightBulbIcon className="mr-1 h-5" />
23-
<span className="text-semibold ml-1">
18+
<div className="mb-2 flex items-center">
19+
<LightBulbIcon className="mr-1 h-5 text-slate-400" />
20+
<span className="ml-1 font-semibold">
2421
{field
2522
? `${
2623
type ? type.charAt(0).toUpperCase() + type.slice(1) : 'N/A'
@@ -35,7 +32,7 @@ export default function EducationCard({
3532
</div>
3633
{school && (
3734
<div className="flex flex-row">
38-
<BuildingLibraryIcon className="mr-1 h-5" />
35+
<BuildingLibraryIcon className="mr-1 h-5 text-slate-400" />
3936
<span className="ml-1">{school}</span>
4037
</div>
4138
)}

apps/portal/src/pages/offers/profile/[offerProfileId].tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ export default function OfferProfile() {
200200
<div className="flex h-screen w-screen">
201201
<div className="m-auto mx-auto w-screen justify-center font-medium text-slate-500">
202202
<Spinner display="block" size="lg" />
203-
<div className="text-center">Loading...</div>
203+
<div className="text-center">Loading profile...</div>
204204
</div>
205205
</div>
206206
) : (

apps/portal/src/pages/offers/submit/result/[offerProfileId].tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export default function OffersSubmissionResult() {
8282
<div className="flex h-screen w-screen">
8383
<div className="m-auto mx-auto w-screen justify-center font-medium text-slate-500">
8484
<Spinner display="block" size="lg" />
85-
<div className="text-center">Loading...</div>
85+
<div className="text-center">Loading results...</div>
8686
</div>
8787
</div>
8888
) : checkToken.isError || getAnalysis.isError ? (

0 commit comments

Comments
 (0)