updated license and calendar card image

This commit is contained in:
zmeyer44 2023-11-14 09:32:43 -05:00
parent a0110f5e65
commit 6ed2d3706e
2 changed files with 7 additions and 4 deletions

View File

@ -1,4 +1,4 @@
Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0) License Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) License
Copyright (c) 2023 Zach Meyer. Copyright (c) 2023 Zach Meyer.
@ -14,6 +14,4 @@ Under the following terms:
- NonCommercial: You may not use the material for commercial purposes. - NonCommercial: You may not use the material for commercial purposes.
- NoDerivatives: If you remix, transform, or build upon the material, you may not distribute the modified material.
For full legal details of this license, please visit the Creative Commons website at https://creativecommons.org/licenses/by-nc-nd/4.0/legalcode. For full legal details of this license, please visit the Creative Commons website at https://creativecommons.org/licenses/by-nc-nd/4.0/legalcode.

View File

@ -108,7 +108,12 @@ export default function CalendarCard({ calendar }: CalendarCardProps) {
</CardDescription> </CardDescription>
</CardHeader> </CardHeader>
<Avatar className="absolute left-1/2 top-1/2 !aspect-square h-[100px] w-[100px] -translate-x-1/2 -translate-y-[70%] transform overflow-hidden rounded-lg bg-muted object-cover transition-all duration-300 group-hover:left-[50px] group-hover:top-[65px] group-hover:h-[70px] group-hover:w-[70px]"> <Avatar className="absolute left-1/2 top-1/2 !aspect-square h-[100px] w-[100px] -translate-x-1/2 -translate-y-[70%] transform overflow-hidden rounded-lg bg-muted object-cover transition-all duration-300 group-hover:left-[50px] group-hover:top-[65px] group-hover:h-[70px] group-hover:w-[70px]">
<AvatarImage src={image ?? BANNER} height={100} width={100} /> <AvatarImage
src={image ?? BANNER}
className="object-cover"
height={100}
width={100}
/>
<AvatarFallback> <AvatarFallback>
{getLettersPlain(name ?? profile?.displayName ?? profile?.name)} {getLettersPlain(name ?? profile?.displayName ?? profile?.name)}
</AvatarFallback> </AvatarFallback>