Skip to content

Commit

Permalink
chore: ignore chromatic and set footer current year
Browse files Browse the repository at this point in the history
  • Loading branch information
colorfield committed Apr 10, 2024
1 parent 02ae5c2 commit 1eeab2f
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions packages/ui/src/components/Organisms/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -171,14 +171,14 @@ export function Footer() {
)}
{item.children.length > 0
? item.children.map((child) => (
<Link
key={child.target}
href={child.target}
className="block transition-all text-base mb-4 hover:text-blue-600"
>
{child.title}
</Link>
))
<Link
key={child.target}
href={child.target}
className="block transition-all text-base mb-4 hover:text-blue-600"
>
{child.title}
</Link>
))
: null}
</li>
</>
Expand All @@ -193,15 +193,18 @@ export function Footer() {
}
>
<div className={'text-base'}>
<p className="mt-10 text-center text-xs leading-5 text-gray-500">
<p
className="mt-10 text-center text-xs leading-5 text-gray-500"
data-chromatic="ignore"
>
&copy;{' '}
{intl.formatMessage(
{
defaultMessage: '{year} {company_name}. All rights reserved.',
id: 'qA8qQH',
},
{
year: 2024,
year: new Date().getFullYear(),
company_name: intl.formatMessage({
defaultMessage: 'Company name',
id: 'FPGwAt',
Expand Down

0 comments on commit 1eeab2f

Please sign in to comment.