Skip to content

Commit 7a8e0f4

Browse files
committed
Consistent styling with the rest of the homepage
1 parent 283b253 commit 7a8e0f4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/Index/AuthorsSection.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ const AuthorCard = ({
112112
};
113113
return (
114114
<div
115-
className={`py-8 sm:py-12 lg:py-8 px-4 sm:flex sm:flex-col xl:py-16 sm:px-8 border border-gray-300 dark:border-gray-700`}
115+
className={`py-8 sm:py-12 lg:py-8 px-4 sm:flex sm:flex-col xl:py-16 sm:px-8 border-2 dark:border-0 border-gray-200 dark:bg-gray-800 rounded-lg`}
116116
>
117117
<blockquote className="sm:flex-grow sm:flex sm:items-center text-center sm:text-left max-w-sm sm:max-w-3xl mx-auto w-full">
118118
<div className="flex-shrink-0">
@@ -187,12 +187,12 @@ export default function AuthorsSection() {
187187

188188
return (
189189
<section className="bg-gray-100 dark:bg-gray-900 overflow-hidden">
190-
<div className="py-6 sm:py-12 text-center border-b-2 border-gray-300 dark:border-gray-700">
190+
<div className="py-6 sm:py-12 text-center">
191191
<h2 className="text-3xl sm:text-5xl font-extrabold text-gray-700 dark:text-white px-4">
192192
Authors you can trust.
193193
</h2>
194194
</div>
195-
<div className="lg:grid lg:grid-cols-2 -m-px">
195+
<div className="grid lg:grid-cols-2 2xl:grid-cols-3 gap-4 sm:gap-6 lg:gap-8 px-4 sm:px-6 lg:px-8 2xl:px-16 py-16">
196196
{Authors.map(author => (
197197
<AuthorCard
198198
author={author}

0 commit comments

Comments
 (0)