From 391f42946367333c3971c719833852a0248662ff Mon Sep 17 00:00:00 2001 From: ozakione <29860391+OzakIOne@users.noreply.github.com> Date: Thu, 22 Aug 2024 16:46:03 +0200 Subject: [PATCH] refactor --- .../Blog/Components/Author/GeneratedImage/index.tsx | 11 ++++++++--- .../Author/GeneratedImage/styles.module.css | 11 ----------- .../theme/Blog/Components/Author/styles.module.css | 1 + website/_dogfooding/_blog tests/authors.yml | 8 ++++++++ 4 files changed, 17 insertions(+), 14 deletions(-) delete mode 100644 packages/docusaurus-theme-classic/src/theme/Blog/Components/Author/GeneratedImage/styles.module.css diff --git a/packages/docusaurus-theme-classic/src/theme/Blog/Components/Author/GeneratedImage/index.tsx b/packages/docusaurus-theme-classic/src/theme/Blog/Components/Author/GeneratedImage/index.tsx index 35f56b679c48..fea99c75ad8c 100644 --- a/packages/docusaurus-theme-classic/src/theme/Blog/Components/Author/GeneratedImage/index.tsx +++ b/packages/docusaurus-theme-classic/src/theme/Blog/Components/Author/GeneratedImage/index.tsx @@ -9,7 +9,6 @@ import React from 'react'; import clsx from 'clsx'; import Link, {type Props as LinkProps} from '@docusaurus/Link'; import type {Props} from '@theme/Blog/Components/Author/GeneratedImage'; -import styles from './styles.module.css'; function MaybeLink(props: LinkProps): JSX.Element { if (props.href) { @@ -26,10 +25,16 @@ export default function GeneratedImage({ return ( - + + + + + + +