diff --git a/components/v4/layout/HeroPostGrid.js b/components/v4/layout/HeroPostGrid.js index afa33dca..0f73bdd5 100644 --- a/components/v4/layout/HeroPostGrid.js +++ b/components/v4/layout/HeroPostGrid.js @@ -8,7 +8,7 @@ import RSSTitle from "../text/RSSTitle"; import PostsGroup3Cards from "./PostsGroup3Cards"; import BigBackgroundCard from "../card/BigCard/BigBackgroundCard"; -const HeroPostGrid = ({ largePost,showBigPost, smallPosts, showHeading,title, cols }) => { +const HeroPostGrid = ({ largePost,showBigPost, smallPosts, showHeading,showHeadingRow,title, cols }) => { let url = largePost?.attributes?.featuredImage?.data?.attributes?.url; const dummyAvatar = 'https://s3-us-west-1.amazonaws.com/tinify-bucket/%2Fprototypr%2Ftemp%2F1595435549331-1595435549330.png' const largeCoverImage = url @@ -19,7 +19,7 @@ const HeroPostGrid = ({ largePost,showBigPost, smallPosts, showHeading,title, co let largePostAvatar = authorData?.avatar?.data?authorData?.avatar?.data?.attributes?.url:authorData?.legacyAvatar?authorData?.legacyAvatar:dummyAvatar return ( <> -
+ {showHeadingRow!==false &&
{showHeading!==false?:''}
@@ -33,7 +33,7 @@ const HeroPostGrid = ({ largePost,showBigPost, smallPosts, showHeading,title, co
-
+
}
{showBigPost &&
diff --git a/components/v4/layout/LargePostGridC.js b/components/v4/layout/LargePostGridC.js index 7740e146..25f9fbeb 100644 --- a/components/v4/layout/LargePostGridC.js +++ b/components/v4/layout/LargePostGridC.js @@ -26,7 +26,7 @@ const LargePostGridC = ({ largePost, smallPosts, tools,showHeading, slug, headin {showHeading!==false?
-

+

{heading}

diff --git a/components/v4/layout/ToolLargeCardRow.js b/components/v4/layout/ToolLargeCardRow.js index efb29201..42ff5026 100644 --- a/components/v4/layout/ToolLargeCardRow.js +++ b/components/v4/layout/ToolLargeCardRow.js @@ -11,7 +11,7 @@ const ToolLargeCardRow = ({ tools }) => { <> {/* */}
-

+

{/* Featured tools */} Featured tools

diff --git a/components/v4/layout/TopicsGridHome.js b/components/v4/layout/TopicsGridHome.js index c29aca54..d7b76086 100644 --- a/components/v4/layout/TopicsGridHome.js +++ b/components/v4/layout/TopicsGridHome.js @@ -29,7 +29,7 @@ const TopicsGridHome = ({ largePost, smallPosts, tools,showHeading, slug, headin {showHeading!==false?
-

+

{heading}

diff --git a/components/v4/section/NewsletterSection.js b/components/v4/section/NewsletterSection.js index 2d198072..f3b90906 100644 --- a/components/v4/section/NewsletterSection.js +++ b/components/v4/section/NewsletterSection.js @@ -10,7 +10,7 @@ const NewsletterSection = ({title,padding}) =>{ className="w-full shadow-md relative flex h-full bg-gray-100 w-full lg:mt-8 rounded-3xl p-6" >
-

{title?title:'The best design articles, every week'}

+

{title?title:'The best design articles, every week'}

Join 25,000+ creatives who enjoy a regular dose of inspiration and motivation, delivered to your inbox every week.

diff --git a/components/v4/section/PostsSectionHero.js b/components/v4/section/PostsSectionHero.js index 99bf5854..4a965bec 100644 --- a/components/v4/section/PostsSectionHero.js +++ b/components/v4/section/PostsSectionHero.js @@ -1,22 +1,26 @@ // import SidebarDiscover from "@/components/v4/layout/SidebarDiscover"; import Container from "@/components/container"; -import PostsGridHero from "@/components/v4/layout/PostsGridHero"; +// import PostsGridHero from "@/components/v4/layout/PostsGridHero"; import PostsGroup3Cards from "../layout/PostsGroup3Cards"; import RSSTitle from "../text/RSSTitle"; import SectionDivider from "./SectionDivider"; import TagsNavRow from "./TagsNavRow"; -import {CaretRight} from 'phosphor-react' -import ToolIconCard from "../card/ToolIconCard"; -import Link from 'next/link' +import HeroPostGrid from "../layout/HeroPostGrid"; +// import {CaretRight} from 'phosphor-react' +// import ToolIconCard from "../card/ToolIconCard"; +// import Link from 'next/link' // import {RssSimple} from 'phosphor-react' const PostsSectionHero = ({user, heroCardPost,toolsList,showHeroTitle, viewablePosts, showTags,title, showRecent,showTitle }) => { return ( {showRecent && <> -
+ {/*
*/} +
- + {/* */} + + {/* */}
diff --git a/components/v4/section/ToolsCarouselSection.js b/components/v4/section/ToolsCarouselSection.js index 0f61a84f..6fc17878 100644 --- a/components/v4/section/ToolsCarouselSection.js +++ b/components/v4/section/ToolsCarouselSection.js @@ -10,7 +10,7 @@ const ToolsCarouselSection = () =>{ return(
Prototypr Toolbox
-

Tools to shape every idea

+

Tools to shape every idea

-

+

{intl.formatMessage({ id: title })}

diff --git a/components/v4/text/RSSTitle.js b/components/v4/text/RSSTitle.js index 9d2258fc..07518d2b 100644 --- a/components/v4/text/RSSTitle.js +++ b/components/v4/text/RSSTitle.js @@ -5,7 +5,7 @@ const RSSTitle = ({title}) =>{ const intl = useIntl(); return(
-

+

{title?intl.formatMessage({ id: title }): <> New & Noteworthy diff --git a/pages/index.js b/pages/index.js index 49b78102..c577d219 100644 --- a/pages/index.js +++ b/pages/index.js @@ -51,7 +51,7 @@ import Button from "@/components/Primitives/Button"; // import CategoriesIconCard from "@/components/v4/card/CategoriesIconCard"; // import TopicSubscription from "@/components/Settings/topicsSubscription"; import { TAB_ITEMS } from "@/lib/constants"; -import GiantTag from "@/components/v4/tag/GiantTag"; +// import GiantTag from "@/components/v4/tag/GiantTag"; import HeroArticleSection from "@/components/v4/section/HeroArticleSection"; import TopicSectionHome from "@/components/v4/section/TopicSectionHome"; import ToolsCarouselSection from "@/components/v4/section/ToolsCarouselSection"; @@ -185,7 +185,7 @@ export default function Index({
-

+

Browse by category