diff --git a/public/images/plebdevs-icon.png b/public/images/plebdevs-icon.png new file mode 100644 index 0000000..9675291 Binary files /dev/null and b/public/images/plebdevs-icon.png differ diff --git a/src/components/BottomBar.js b/src/components/BottomBar.js index d77a0aa..da7193a 100644 --- a/src/components/BottomBar.js +++ b/src/components/BottomBar.js @@ -20,6 +20,9 @@ const BottomBar = () => {
router.push('/feed?channel=global')} className={`hover:bg-gray-700 cursor-pointer px-4 py-2 rounded-lg ${isActive('/feed') ? 'bg-gray-700' : ''}`}>
+
router.push('/about')} className={`hover:bg-gray-700 cursor-pointer px-4 py-2 rounded-lg ${isActive('/about') ? 'bg-gray-700' : ''}`}> + +
); }; diff --git a/src/components/MoreInfo.js b/src/components/MoreInfo.js index cb5aedf..b93eb98 100644 --- a/src/components/MoreInfo.js +++ b/src/components/MoreInfo.js @@ -3,7 +3,7 @@ import { Dialog } from 'primereact/dialog'; import { Tooltip } from 'primereact/tooltip'; import useWindowWidth from '@/hooks/useWindowWidth'; -const MoreInfo = ({ tooltip, modalTitle, modalBody, className = '' }) => { +const MoreInfo = ({ tooltip, modalTitle, modalBody, className = '', tooltipPosition = 'right' }) => { const [visible, setVisible] = useState(false); const windowWidth = useWindowWidth(); const isMobile = windowWidth < 768; @@ -14,11 +14,9 @@ const MoreInfo = ({ tooltip, modalTitle, modalBody, className = '' }) => { className={`pi pi-question-circle cursor-pointer ${className}`} onClick={() => setVisible(true)} data-pr-tooltip={tooltip} - data-pr-position="right" - data-pr-at="right+5 top" - data-pr-my="left center-2" + data-pr-position={tooltipPosition} /> - {!isMobile && } + {!isMobile && } { const [currentTech, setCurrentTech] = useState('Bitcoin'); @@ -16,7 +14,6 @@ const HeroBanner = () => { const techs = ['Bitcoin', 'Lightning', 'Nostr']; const windowWidth = useWindowWidth(); const router = useRouter(); - const { returnImageProxy } = useImageProxy(); const { data: session } = useSession(); const isTabView = windowWidth <= 1360; @@ -49,10 +46,10 @@ const HeroBanner = () => { }; const getHeroHeight = () => { - if (isSuperWideScreen) return 'h-[900px]'; - if (isWideScreen) return 'h-[700px]'; - if (isMobile) return 'h-[450px]'; - return 'h-[600px]'; + if (isSuperWideScreen) return 'h-[700px]'; + if (isWideScreen) return 'h-[550px]'; + if (isMobile) return 'h-[400px]'; + return 'h-[500px]'; }; const handleLearnToCode = async () => { @@ -106,7 +103,7 @@ const HeroBanner = () => { }; return ( -
+
Banner {
{!isTabView && ( -
+
)} -
-

+
+

Learn to code Build on{' '} @@ -145,16 +142,16 @@ const HeroBanner = () => { Become a dev

{isMobile ? ( -

+

A one of a kind developer education, content, and community platform built on Nostr and fully Lightning integrated.

) : ( -

+

A one of a kind developer education, content, and community platform built on Nostr and fully Lightning integrated.

)}
!isMobile && window.open('https://www.udemy.com/user/austin-james-kelsay/', '_blank')} style={{ cursor: isMobile ? 'default' : 'pointer' }} > @@ -181,21 +178,10 @@ const HeroBanner = () => { label="Learn To Code" icon={} rounded - severity="info" - className="border-2" - size={isMobile ? null : "large"} - outlined - onClick={handleLearnToCode} - /> - } - rounded - size={isMobile ? null : "large"} severity="success" className="border-2" outlined - onClick={() => router.push('/content?tag=all')} + onClick={handleLearnToCode} />
diff --git a/src/components/content/carousels/CoursesCarousel.js b/src/components/content/carousels/CoursesCarousel.js index 093003d..06a9fcf 100644 --- a/src/components/content/carousels/CoursesCarousel.js +++ b/src/components/content/carousels/CoursesCarousel.js @@ -18,7 +18,7 @@ const responsiveOptions = [ numScroll: 1 }, { - breakpoint: '575px', + breakpoint: '675px', numVisible: 1, numScroll: 1 } @@ -56,18 +56,18 @@ export default function CoursesCarousel() { return ( <> -

Courses

- +

Courses

+
diff --git a/src/components/content/carousels/DocumentsCarousel.js b/src/components/content/carousels/DocumentsCarousel.js index deac41d..58b916d 100644 --- a/src/components/content/carousels/DocumentsCarousel.js +++ b/src/components/content/carousels/DocumentsCarousel.js @@ -20,7 +20,7 @@ const responsiveOptions = [ numScroll: 1 }, { - breakpoint: '575px', + breakpoint: '675px', numVisible: 1, numScroll: 1 } @@ -82,17 +82,17 @@ export default function DocumentsCarousel() { return ( <> -

Documents

- +

Documents

+ diff --git a/src/components/content/carousels/GenericCarousel.js b/src/components/content/carousels/GenericCarousel.js index 42da495..c1f27a7 100644 --- a/src/components/content/carousels/GenericCarousel.js +++ b/src/components/content/carousels/GenericCarousel.js @@ -27,6 +27,7 @@ export default function GenericCarousel({items, selectedTopic, title}) { return `${type}-${baseKey}-${index}`; }; + // todo: max sizing for single peice of content being shown const renderItem = (item, index) => { if (!item) return ; @@ -58,7 +59,7 @@ export default function GenericCarousel({items, selectedTopic, title}) { }; return ( -
+
{items.map((item, index) => (
diff --git a/src/components/content/carousels/InteractivePromotionalCarousel.js b/src/components/content/carousels/InteractivePromotionalCarousel.js index 440c157..19a7173 100644 --- a/src/components/content/carousels/InteractivePromotionalCarousel.js +++ b/src/components/content/carousels/InteractivePromotionalCarousel.js @@ -105,7 +105,7 @@ const InteractivePromotionalCarousel = () => { }, [selectedPromotion]); return ( -
+
{selectedPromotion.video ? (