diff --git a/src/components/ArticleType.jsx b/src/components/ArticleType.jsx index 5bdc130a8..1675213ad 100644 --- a/src/components/ArticleType.jsx +++ b/src/components/ArticleType.jsx @@ -5,6 +5,7 @@ import { GuideIcon } from './icons/GuideIcon' export function ArticleType({ type, children }) { if (type.toLowerCase() === 'design') return null + if (type.toLowerCase() === 'noicon') return null return (
diff --git a/src/components/Layout.jsx b/src/components/Layout.jsx index 4aa96de7a..7fcea3b04 100644 --- a/src/components/Layout.jsx +++ b/src/components/Layout.jsx @@ -221,6 +221,8 @@ export function Layout({ return section.id === currentSection } + console.log(type) + return ( <> @@ -229,18 +231,18 @@ export function Layout({ {isHomePage && }
- {!isHomePage || - !is404Page || - (!is500Page && ( + {type !== 'design' && + (!isHomePage || !is404Page || !is500Page ? (
-
+
- ))} + ) : null)} +
@@ -259,9 +261,8 @@ export function Layout({ {children}
- {!isHomePage || - !is404Page || - (!is500Page && ( + {type !== 'design' && + (!isHomePage || !is404Page || !is500Page ? (
- ))} + ) : null)}