Few more small styling fixes on promotional carousel

This commit is contained in:
austinkelsay 2024-10-07 16:38:31 -05:00
parent befe9af718
commit 723179be81
2 changed files with 4 additions and 4 deletions

View File

@ -76,13 +76,13 @@ const InteractivePromotionalCarousel = () => {
}, [selectedPromotion]);
return (
<div className={`flex ${isTabView ? 'flex-col' : 'flex-row'} bg-gray-900 text-white m-4 mx-14 rounded-lg ${isTabView ? 'h-auto' : 'h-[620px]'} ${isTabView ? 'w-full mx-0 ml-0 mt-0' : null}`}>
<div className={`flex ${isTabView ? 'flex-col' : 'flex-row'} bg-gray-900 text-white m-4 mx-14 rounded-lg rounded-tr-none rounded-br-none ${isTabView ? 'h-auto' : 'h-[620px]'} ${isTabView ? 'w-full mx-0 ml-0 mt-0' : null}`}>
<div className={isTabView ? 'w-full' : 'lg:w-2/3 relative'}>
{selectedPromotion.video ? (
<video
ref={videoRef}
src={selectedPromotion.video}
className={`object-cover w-full ${isTabView ? 'h-[300px]' : 'h-full'} rounded-lg`}
className={`object-cover w-full ${isTabView ? 'h-[300px]' : 'h-full'} rounded-lg rounded-tr-none rounded-br-none`}
loop
muted
playsInline
@ -93,7 +93,7 @@ const InteractivePromotionalCarousel = () => {
alt={selectedPromotion.title}
width={800}
height={600}
className={`object-cover w-full ${isTabView ? 'h-[300px]' : 'h-full'} rounded-lg opacity-75`}
className={`object-cover w-full ${isTabView ? 'h-[300px]' : 'h-full'} rounded-lg opacity-75 rounded-tr-none rounded-br-none`}
/>
)}
{isTabView ? (

View File

@ -8,7 +8,7 @@ const MessageCarousel = ({ copyToClipboard }) => {
const messageTemplate = ({title, description, showGithub, showX, showNostr, showYoutube, showDonate, showFeedback}) => (
<div className="flex flex-col justify-between bg-gray-800 p-3 rounded-lg shadow-lg min-h-[182px]">
<p className="text-[#f8f8ff] text-[19px] font-semibold">{title}</p>
<p className="text-[#f8f8ff] text-[18px] font-semibold">{title}</p>
<p className="text-[#f8f8ff]">{description}</p>
<div className="flex flex-wrap gap-4 justify-center">
{showGithub && (