modified PostCarousel to use grid, among other things

This commit is contained in:
2024-12-10 14:08:03 -05:00
parent 637f0b47dd
commit addb2e55d9
5 changed files with 41 additions and 28 deletions

View File

@ -9,11 +9,13 @@ export default function AuthorCard({
}) {
return (
<div
class={isIdentified
? "p-6 bg-[#45475a] rounded-lg shadow-md"
: "p-6 bg-[#45475a] rounded-lg shadow-md transition-all duration-300 ease-in-out hover:shadow-xl hover:scale-105"}
class={
isIdentified
? "p-6 bg-[#313244] shadow-md"
: "p-6 bg-[#313244] shadow-md transition-all duration-300 ease-in-out hover:shadow-xl hover:scale-105"
}
>
<div class="min-w-screen flex flex-col items-center justify-between bg-[#313244] sm:min-h-screen">
<div class="min-w-screen flex flex-col items-center justify-between bg-[#45475a] rounded-lg shadow-md">
<div class="sm:mt-14 sm:mb-14 mt-12 mb-4 flex flex-col items-center gap-y-5 gap-x-10 md:flex-row">
<PhotoCircle
src={author.image ?? "/logo.svg"}