File tree Expand file tree Collapse file tree 3 files changed +7
-8
lines changed
Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ export default function Events() {
6363 >
6464
6565 < h2 className = "pb-2 text-3xl text-white font-bold md:pb-10" > Community Events</ h2 >
66- < div className = "grid grid-cols-1 gap-y-4 md:gap-y-10 gap-x-6 sm:grid-cols-2 lg:grid-cols-3 xl:gap-x-8 md:grid-cols-2 px-4 md:px-10 lg:px-16 py -8 md:py -14 xl:py -16" >
66+ < div className = "grid grid-cols-1 gap-y-4 md:gap-y-10 gap-x-6 sm:grid-cols-2 lg:grid-cols-3 xl:gap-x-8 md:grid-cols-2 px-4 md:px-10 lg:px-16 pt -8 md:pt -14 xl:pt -16" >
6767 { events . map ( ( event ) => (
6868 < DisplayRC
6969 key = { event . id }
@@ -74,18 +74,17 @@ export default function Events() {
7474 target = { event . target }
7575 />
7676 ) ) }
77-
78- < div className = "flex items-center justify-center pt-1 tracking-wide mt-4 text-white md:pt-0 md:text-right md:absolute md:bottom-24 md:right- 10 2xl:bottom-26 lg:right -16" >
77+ </ div >
78+ < div className = "flex items-start justify-center md:justify-end tracking-wide mt-4 px-4 md:px-10 lg:px-16 w-full text-white pb- 10 md:pb-14 xl:pb -16" >
7979 < Link href = "https://kommunity.com/reactjs-developer-community-kenya-reactdevske/events" >
8080 < a
8181 target = "_blank"
82- className = "bg-[#61dafb] text-black px-6 py-3 rounded-full font-semibold text-lg hover:bg-[#48cae4] transition duration-300 ease-in-out hover:scale-105 hover:shadow-lg"
82+ className = "bg-[#61dafb] text-black px-6 w-full max-w-[350px] text-center py-3 rounded-md font-semibold text-lg hover:bg-[#48cae4] transition duration-300 ease-in-out hover:scale-105 hover:shadow-lg"
8383 >
8484 See More Events
8585 </ a >
8686 </ Link >
8787 </ div >
88- </ div >
8988 </ section >
9089 ) ;
9190}
Original file line number Diff line number Diff line change @@ -6,14 +6,14 @@ import backgroundImage from '/public/images/hero-image.jpg'; // Add your backgro
66export default function MobileHero ( ) {
77 return (
88 < div
9- className = "flex h-[50vh] items-center justify-center bg-black bg-cover bg-center text-white mt-0"
9+ className = "flex items-center justify-center bg-black bg-cover bg-center text-white mt-0"
1010 style = { {
1111 backgroundImage : `url(${ backgroundImage . src } )`
1212 } }
1313 >
1414
1515 < div
16- className = "bg-black h-full justify-end items-center flex-col bg-opacity-50 p-6 rounded-md flex bg-cover bg-center text-white mt-0"
16+ className = "bg-black pt-[20vh] h-full justify-end items-center pb-[5vh] flex-col bg-opacity-50 p-6 rounded-md flex bg-cover bg-center text-white mt-0"
1717 > { /* Adds opacity to make text more legible */ }
1818 < h1 className = "font-robotoMono font-medium text-2xl text-center mb-2 text-white" >
1919 React Developer Community Kenya
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ export default function Navbar() {
2323
2424 if ( ! screenWidth ) return null ;
2525 return (
26- < header className = "lg:pl-[49px] fixed top-0 w-full bg-black text-white justify-between bg-opacity-50 z-10" >
26+ < header className = "lg:pl-[49px] fixed top-0 backdrop-blur-md w-full bg-black text-white justify-between bg-opacity-50 z-10" >
2727 < nav className = "nav py-2 md:py-4 md:pl-5 flex flex-row justify-between md:justify-around px-4 items-center" >
2828 < div className = "" >
2929 < Link href = { HOME } >
You can’t perform that action at this time.
0 commit comments