From 2f43b608734ff62b4e158d36fe22f4384edd8bca Mon Sep 17 00:00:00 2001 From: Victor Fernandez de Alba Date: Tue, 16 Apr 2024 11:31:38 -0600 Subject: [PATCH] No specific slots for now --- packages/slots/src/Header/Header.tsx | 56 ---------------------------- 1 file changed, 56 deletions(-) delete mode 100644 packages/slots/src/Header/Header.tsx diff --git a/packages/slots/src/Header/Header.tsx b/packages/slots/src/Header/Header.tsx deleted file mode 100644 index c9d049be35..0000000000 --- a/packages/slots/src/Header/Header.tsx +++ /dev/null @@ -1,56 +0,0 @@ -import React from 'react'; -import SlotRenderer from '../SlotRenderer'; -import { ActionsResponse, Content } from '@plone/types'; - -interface HeaderProps { - content: Content; - pathname: string; - token: string; - siteActions: ActionsResponse['site_actions']; -} - -const Header: React.FC = ({ - content, - pathname, - token, - siteActions, -}) => { - return ( -
-
-
- - -
- {!token && } - {siteActions && - siteActions.map((item) => ( - - {item.title} - - ))} -
- {siteLabel && ( -
-

{siteLabel}

-
- )} -
-
-
- -
- - -
-
- -
-
-
-
-
- ); -}; - -export default Header;