From f11a906420975e833f278a08470d8f9783c76f73 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Mon, 9 Oct 2023 14:33:29 +0200
Subject: refactor(components): extract FlippingLogo from Branding component

---
 .../images/flipping-logo/flipping-logo.stories.tsx | 34 ++++++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 src/components/molecules/images/flipping-logo/flipping-logo.stories.tsx

(limited to 'src/components/molecules/images/flipping-logo/flipping-logo.stories.tsx')

diff --git a/src/components/molecules/images/flipping-logo/flipping-logo.stories.tsx b/src/components/molecules/images/flipping-logo/flipping-logo.stories.tsx
new file mode 100644
index 0000000..43ef150
--- /dev/null
+++ b/src/components/molecules/images/flipping-logo/flipping-logo.stories.tsx
@@ -0,0 +1,34 @@
+import type { ComponentMeta, ComponentStory } from '@storybook/react';
+import NextImage from 'next/image';
+import { Logo } from '../../../atoms';
+import { FlippingLogo as FlippingLogoComponent } from './flipping-logo';
+
+/**
+ * FlippingLogo - Storybook Meta
+ */
+export default {
+  title: 'Molecules/Images/Flipping Logo',
+  component: FlippingLogoComponent,
+  args: {},
+  argTypes: {},
+} as ComponentMeta<typeof FlippingLogoComponent>;
+
+const Template: ComponentStory<typeof FlippingLogoComponent> = (args) => (
+  <FlippingLogoComponent {...args} />
+);
+
+/**
+ * FlippingLogo Story
+ */
+export const FlippingLogo = Template.bind({});
+FlippingLogo.args = {
+  back: <Logo heading="A logo example" />,
+  front: (
+    <NextImage
+      alt="A photo example"
+      height={200}
+      src="https://picsum.photos/200"
+      width={200}
+    />
+  ),
+};
-- 
cgit v1.2.3

