diff --git a/app/[locale]/error.tsx b/app/[locale]/error.tsx index 09751a84cd7df..55a6c5fdf7922 100644 --- a/app/[locale]/error.tsx +++ b/app/[locale]/error.tsx @@ -1,5 +1,6 @@ 'use client'; +import { ArrowRightIcon } from '@heroicons/react/24/solid'; import { captureException } from '@sentry/nextjs'; import { useTranslations } from 'next-intl'; import type { FC } from 'react'; @@ -37,7 +38,10 @@ const ErrorPage: FC<{ error: Error }> = ({ error }) => {
{t('layouts.error.internalServerError.description')}
- + ); diff --git a/app/[locale]/not-found.tsx b/app/[locale]/not-found.tsx index a49f5100116c4..c6ce677c297eb 100644 --- a/app/[locale]/not-found.tsx +++ b/app/[locale]/not-found.tsx @@ -1,5 +1,6 @@ 'use client'; +import { ArrowRightIcon } from '@heroicons/react/24/solid'; import { useTranslations } from 'next-intl'; import type { FC } from 'react'; @@ -32,7 +33,10 @@ const NotFoundPage: FC = () => {{t('layouts.error.notFound.description')}
- + ); diff --git a/app/global-error.tsx b/app/global-error.tsx index e67915b8c536a..5bf85dacae365 100644 --- a/app/global-error.tsx +++ b/app/global-error.tsx @@ -1,5 +1,6 @@ 'use client'; +import { ArrowRightIcon } from '@heroicons/react/24/solid'; import { captureException } from '@sentry/nextjs'; import ErrorComponent from 'next/error'; import type { FC } from 'react'; @@ -39,7 +40,10 @@ const GlobalErrorPage: FC<{ error: Error }> = ({ error }) => {This page has thrown a non-recoverable error.
- + diff --git a/components/Common/Button/index.module.css b/components/Common/Button/index.module.css index 1d86c3b27fc1f..6d6009b267348 100644 --- a/components/Common/Button/index.module.css +++ b/components/Common/Button/index.module.css @@ -1,10 +1,17 @@ .button { @apply relative + inline-flex + items-center + gap-2 px-4.5 py-2.5 text-center font-semibold; + svg { + @apply size-5; + } + &[aria-disabled='true'] { @apply cursor-not-allowed; } diff --git a/components/Common/Button/index.stories.tsx b/components/Common/Button/index.stories.tsx index aa4e4e8797c4d..d10805dc60e54 100644 --- a/components/Common/Button/index.stories.tsx +++ b/components/Common/Button/index.stories.tsx @@ -1,3 +1,4 @@ +import { ArrowRightIcon } from '@heroicons/react/24/solid'; import type { Meta as MetaObj, StoryObj } from '@storybook/react'; import Button from '@/components/Common/Button'; @@ -37,4 +38,17 @@ export const Special: Story = { }, }; +export const WithIcon: Story = { + args: { + kind: 'primary', + children: ( + <> + Back to Home +