Skip to content

Commit f7d4e11

Browse files
authored
homepage style tweaks (#36)
1 parent 01b03e3 commit f7d4e11

1 file changed

Lines changed: 23 additions & 10 deletions

File tree

frontend/src/app/(public-area)/page.tsx

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,28 @@ const Page = () => {
7070
</Link>
7171
</div>
7272
</div>
73-
<div className="flex-1 flex flex-col bg-dark-purple text-snow rounded-lg p-4">
74-
<h2>
75-
<Link href="/articles/capital-one-data-breach" className="link">
76-
😱{' '}
77-
<span className="text-amethyst-gradient">Capital One Data Breach – A Cautionary Tale</span>
78-
</Link>
79-
</h2>
80-
<div className="text-sm text-amethyst">
81-
What&apos;s in your <s>wallet</s> cloud?
73+
<div className="flex-1 flex flex-col translucent-snow rounded-lg p-4">
74+
<div className="flex gap-4 items-center">
75+
<Image
76+
src="/images/chris.jpg"
77+
alt={`By Chris`}
78+
height={48}
79+
width={48}
80+
className="rounded-full h-[48px] w-[48px]"
81+
/>
82+
<div>
83+
<h2>
84+
<Link href="/articles/capital-one-data-breach" className="link">
85+
<span className="text-amethyst-gradient">
86+
Capital One Data Breach – A Cautionary Tale
87+
</span>{' '}
88+
😱
89+
</Link>
90+
</h2>
91+
<div className="text-sm text-amethyst">
92+
What&apos;s in your <s>wallet</s> cloud?
93+
</div>
94+
</div>
8295
</div>
8396
<p className="text-sm mt-4">
8497
Capital One lost hundreds of millions after being notified by a third party of an intruder that
@@ -88,7 +101,7 @@ const Page = () => {
88101
<div className="flex mt-8 items-center gap-2">
89102
<Link
90103
href="/articles/capital-one-data-breach"
91-
className="snow-button flex grow-0 items-center whitespace-nowrap"
104+
className="button flex grow-0 items-center whitespace-nowrap"
92105
>
93106
Read More
94107
<ChevronRightIcon className="h-4 w-4 ml-2" />

0 commit comments

Comments
 (0)