mirror of
https://github.com/AustinKelsay/plebdevs.git
synced 2025-04-19 19:01:19 +00:00
Few more small styling fixes on promotional carousel
This commit is contained in:
parent
befe9af718
commit
723179be81
@ -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 ? (
|
||||
|
@ -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 && (
|
||||
|
Loading…
x
Reference in New Issue
Block a user