Merge pull request 'resolve padding of featured authors' (#149) from fix/featured-authors into develop

Reviewed-on: http://85.143.176.51:3000/free-land/front-end/pulls/149
This commit is contained in:
Daniel Weissmall 2022-10-17 11:55:47 +00:00
commit 0c0a79d81d

View File

@ -75,10 +75,12 @@ export default function FeaturedAuthorsCards(): JSX.Element {
return ( return (
<div> <div>
{/* The Title of Featured Authors section */} {/* The Title of Featured Authors section */}
<Heading className="text-center my-8 text-3xl font-semibold">{t("mainPage.featuredAuthors")}</Heading> <Heading className="text-center my-8 text-3xl font-semibold">
{t("mainPage.featuredAuthors")}
</Heading>
{/* Featured Authors section */} {/* Featured Authors section */}
<div className="slider-wrapper Authors"> <div className="slider-wrapper Authors px-8">
<Swiper <Swiper
slidesPerView={1.25} slidesPerView={1.25}
slidesPerGroup={1} slidesPerGroup={1}
@ -133,7 +135,7 @@ export default function FeaturedAuthorsCards(): JSX.Element {
<Card.CardAction href={card.Link}> <Card.CardAction href={card.Link}>
<Link className="text-blue-500 font-bold" to="*"> <Link className="text-blue-500 font-bold" to="*">
{t('mainPage.more')} {t("mainPage.more")}
</Link> </Link>
<SVGCaretRight className="fill-blue-500 w-4 h-4" /> <SVGCaretRight className="fill-blue-500 w-4 h-4" />
</Card.CardAction> </Card.CardAction>