From f11a906420975e833f278a08470d8f9783c76f73 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Mon, 9 Oct 2023 14:33:29 +0200 Subject: refactor(components): extract FlippingLogo from Branding component --- src/components/molecules/layout/branding.tsx | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'src/components/molecules/layout/branding.tsx') diff --git a/src/components/molecules/layout/branding.tsx b/src/components/molecules/layout/branding.tsx index c3d3b7c..9f8e6ce 100644 --- a/src/components/molecules/layout/branding.tsx +++ b/src/components/molecules/layout/branding.tsx @@ -1,6 +1,7 @@ import { type FC, useRef, type ReactNode } from 'react'; import { useStyles } from '../../../utils/hooks'; -import { Flip, FlipSide, Heading, Link } from '../../atoms'; +import { Heading, Link } from '../../atoms'; +import { FlippingLogo } from '../images'; import styles from './branding.module.scss'; export type BrandingProps = { @@ -42,7 +43,6 @@ export const Branding: FC = ({ photo, title, withLink = false, - ...props }) => { const baselineRef = useRef(null); const titleRef = useRef(null); @@ -61,12 +61,7 @@ export const Branding: FC = ({ return (
- - {photo} - - {logo} - - +