File tree Expand file tree Collapse file tree 4 files changed +8
-7
lines changed
Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -158,10 +158,10 @@ const ArticlesPage = () => {
158158 </ section >
159159 </ div >
160160 < section className = "col-span-4 hidden lg:block" >
161- < div className = "mb-8 mt-2 border border-neutral-300 bg-white text-neutral-900 dark:border-neutral-600 dark:bg-neutral-900 dark:text-neutral-50" >
161+ < div className = "mb-8 mt-2 rounded border border-neutral-300 bg-white text-neutral-900 dark:border-neutral-600 dark:bg-neutral-900 dark:text-neutral-50" >
162162 < Link href = "/articles/join-our-6-week-writing-challenge-quohtgqb" >
163163 < Image
164- className = "w-full"
164+ className = "w-full rounded-t "
165165 src = { challenge }
166166 alt = { `"Codú Writing Challenge" text on white background` }
167167 />
@@ -191,7 +191,7 @@ const ArticlesPage = () => {
191191 key = { title }
192192 // only reason this is toLowerCase is to make url look nicer. Not needed for functionality
193193 href = { `/articles?tag=${ title . toLowerCase ( ) } ` }
194- className = "border border-neutral-300 bg-white px-6 py-2 text-neutral-900 dark:border-neutral-600 dark:bg-neutral-900 dark:text-neutral-50"
194+ className = "rounded border border-neutral-300 bg-white px-6 py-2 text-neutral-900 dark:border-neutral-600 dark:bg-neutral-900 dark:text-neutral-50"
195195 >
196196 { getCamelCaseFromLower ( title ) }
197197 </ Link >
Original file line number Diff line number Diff line change @@ -52,10 +52,10 @@ const Home = async () => {
5252 < TrendingPosts session = { session } />
5353 </ Suspense >
5454 < section className = "col-span-5 hidden lg:block" >
55- < div className = "mb-8 mt-2 border border-neutral-300 bg-white text-neutral-900 dark:border-neutral-600 dark:bg-neutral-900 dark:text-neutral-50" >
55+ < div className = "mb-8 mt-2 rounded border border-neutral-300 bg-white text-neutral-900 dark:border-neutral-600 dark:bg-neutral-900 dark:text-neutral-50" >
5656 < Link href = "/articles/join-our-6-week-writing-challenge-quohtgqb" >
5757 < Image
58- className = "w-full"
58+ className = "w-full rounded-t "
5959 src = { challenge }
6060 alt = { `"Codú Writing Challenge" text on white background` }
6161 />
Original file line number Diff line number Diff line change @@ -96,7 +96,8 @@ const ArticlePreview: NextPage<Props> = ({
9696 } ;
9797
9898 return (
99- < article className = "my-2 rounded-r border border-l-4 border-neutral-300 border-l-pink-600 bg-white p-4 dark:border-neutral-600 dark:border-l-pink-600 dark:bg-neutral-900" >
99+ < article className = "relative my-2 rounded-r border border-l-0 border-neutral-300 bg-white p-4 pl-6 dark:border-neutral-600 dark:bg-neutral-900" >
100+ < div className = "absolute bottom-[-1px] left-0 top-[-1px] flex w-2 justify-between bg-pink-600" />
100101 < div className = "flex justify-between" >
101102 < div className = "mb-4 flex items-center" >
102103 < span className = "sr-only" > { name } </ span >
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ export default async function PopularTags() {
2121 // only reason this is toLowerCase is to make url look nicer. Not needed for functionality
2222 href = { `/articles?tag=${ tag . title . toLowerCase ( ) } ` }
2323 key = { tag . title }
24- className = "border border-neutral-300 bg-white px-6 py-2 text-neutral-900 dark:border-neutral-600 dark:bg-neutral-900 dark:text-neutral-50"
24+ className = "rounded border border-neutral-300 bg-white px-6 py-2 text-neutral-900 dark:border-neutral-600 dark:bg-neutral-900 dark:text-neutral-50"
2525 >
2626 { getCamelCaseFromLower ( tag . title ) }
2727 </ Link >
You can’t perform that action at this time.
0 commit comments