import { logoPath } from 'shared/components/logos/freesewing.mjs' import { useTranslation } from 'next-i18next' export const ns = ['commom'] const strokeScale = 0.7 const StrokedText = (props) => ( <> ) export const FreeSewingAnimation = ({ className = 'w-full', // Any classes to set on the SVG tag stroke = 1, // The stroke width of the initial colouring in of the logo duration = 10, // Duration of the complete animation in seconds }) => { const { t } = useTranslation(ns) // Ensure duration is a number duration = Number(duration) // Ensure stroke is a number stroke = Number(stroke) * strokeScale return ( FreeSewing {t('common:slogan1')} {t('common:slogan2')} ) }