From 9e6690b5bf5dba5ebfffd340c921dab8d251cb38 Mon Sep 17 00:00:00 2001 From: samishal1998 Date: Mon, 1 Apr 2024 02:10:15 +0200 Subject: [PATCH] refactor(domain_owned): moved them to templates --- .../{ => Templates}/DomainOwned/DomainOwned.tsx | 0 .../DomainOwned/components/DomainOwnedLayout.tsx | 6 +++--- .../DomainOwned/components/LinkChip.tsx | 2 +- .../DomainOwned/components/ProgressBar.tsx | 2 +- .../DomainOwned/components/StepButton.tsx | 6 +++--- .../{ => Templates}/DomainOwned/components/Steps.tsx | 2 +- .../DomainOwned/components/WalletInput.tsx | 6 +++--- src/components/{ => Templates}/DomainOwned/index.ts | 0 .../{ => Templates}/DomainOwned/views/Borrow.tsx | 4 ++-- .../{ => Templates}/DomainOwned/views/Information.tsx | 6 +++--- .../{ => Templates}/DomainOwned/views/ListForSale.tsx | 4 ++-- .../{ => Templates}/DomainOwned/views/Transfer.tsx | 10 +++++----- .../{ => Templates}/DomainOwned/views/index.ts | 0 .../Templates/ImportFlow/components/ActionButton.tsx | 2 +- .../ImportFlow/components/ImportFlowLayout.tsx | 2 +- .../Templates/ImportFlow/components/Steps.tsx | 2 +- src/pages/DomainOwned/content.tsx | 2 +- .../Templates/DomainOwned/DomainOwned.stories.tsx | 2 +- src/stories/Templates/DomainOwned/FullPage.stories.tsx | 4 ++-- .../DomainOwned/components/LinkChip.stories.tsx | 2 +- .../DomainOwned/components/ProgressBar.stories.tsx | 2 +- .../DomainOwned/components/StepButton.stories.tsx | 2 +- .../Templates/DomainOwned/components/Steps.stories.tsx | 4 ++-- .../DomainOwned/components/WalletInput.stories.tsx | 2 +- .../DomainOwned/components/layouts/Links.stories.tsx | 2 +- .../DomainOwned/components/layouts/Main.stories.tsx | 2 +- .../components/layouts/Progress.stories.tsx | 2 +- .../views/DomainOwnedBorrowView.stories.tsx | 2 +- .../views/DomainOwnedInformationView.stories.tsx | 2 +- .../views/DomainOwnedListForSaleView.stories.tsx | 2 +- .../views/DomainOwnedTransferView.stories.tsx | 2 +- 31 files changed, 44 insertions(+), 44 deletions(-) rename src/components/{ => Templates}/DomainOwned/DomainOwned.tsx (100%) rename src/components/{ => Templates}/DomainOwned/components/DomainOwnedLayout.tsx (93%) rename src/components/{ => Templates}/DomainOwned/components/LinkChip.tsx (92%) rename src/components/{ => Templates}/DomainOwned/components/ProgressBar.tsx (95%) rename src/components/{ => Templates}/DomainOwned/components/StepButton.tsx (83%) rename src/components/{ => Templates}/DomainOwned/components/Steps.tsx (98%) rename src/components/{ => Templates}/DomainOwned/components/WalletInput.tsx (87%) rename src/components/{ => Templates}/DomainOwned/index.ts (100%) rename src/components/{ => Templates}/DomainOwned/views/Borrow.tsx (84%) rename src/components/{ => Templates}/DomainOwned/views/Information.tsx (82%) rename src/components/{ => Templates}/DomainOwned/views/ListForSale.tsx (83%) rename src/components/{ => Templates}/DomainOwned/views/Transfer.tsx (92%) rename src/components/{ => Templates}/DomainOwned/views/index.ts (100%) diff --git a/src/components/DomainOwned/DomainOwned.tsx b/src/components/Templates/DomainOwned/DomainOwned.tsx similarity index 100% rename from src/components/DomainOwned/DomainOwned.tsx rename to src/components/Templates/DomainOwned/DomainOwned.tsx diff --git a/src/components/DomainOwned/components/DomainOwnedLayout.tsx b/src/components/Templates/DomainOwned/components/DomainOwnedLayout.tsx similarity index 93% rename from src/components/DomainOwned/components/DomainOwnedLayout.tsx rename to src/components/Templates/DomainOwned/components/DomainOwnedLayout.tsx index 56b18cbf..ab4a8fbb 100644 --- a/src/components/DomainOwned/components/DomainOwnedLayout.tsx +++ b/src/components/Templates/DomainOwned/components/DomainOwnedLayout.tsx @@ -2,11 +2,11 @@ import React from 'react'; import { IconCircleButton, type IconCircleButtonProps, -} from '../../../components/Core/Buttons/IconCircleButton'; -import { cn } from '../../../utils/cn'; +} from '../../../Core/Buttons/IconCircleButton'; +import { cn } from '../../../../utils/cn'; import { LinkChip, type LinkChipProps } from './LinkChip'; import { ProgressBar } from './ProgressBar'; -import { LinkIcon } from '../../../components/Core/icons/Link'; +import { LinkIcon } from '../../../Core/icons/Link'; export type DomainOwnedLayoutMainProps = { icon?: React.ReactNode; diff --git a/src/components/DomainOwned/components/LinkChip.tsx b/src/components/Templates/DomainOwned/components/LinkChip.tsx similarity index 92% rename from src/components/DomainOwned/components/LinkChip.tsx rename to src/components/Templates/DomainOwned/components/LinkChip.tsx index 225e08ca..b02cb988 100644 --- a/src/components/DomainOwned/components/LinkChip.tsx +++ b/src/components/Templates/DomainOwned/components/LinkChip.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { cn } from '../../../utils/cn'; +import { cn } from '../../../../utils/cn'; export type LinkChipProps = React.AnchorHTMLAttributes; diff --git a/src/components/DomainOwned/components/ProgressBar.tsx b/src/components/Templates/DomainOwned/components/ProgressBar.tsx similarity index 95% rename from src/components/DomainOwned/components/ProgressBar.tsx rename to src/components/Templates/DomainOwned/components/ProgressBar.tsx index 8ca7ff6d..05f22364 100644 --- a/src/components/DomainOwned/components/ProgressBar.tsx +++ b/src/components/Templates/DomainOwned/components/ProgressBar.tsx @@ -1,5 +1,5 @@ import React, { useMemo } from 'react'; -import { cn } from '../../../utils/cn'; +import { cn } from '../../../../utils/cn'; const PROGRESS_WIDTH_MAXIMUM = 100; const PROGRESS_WIDTH_MINIMUM = 5; diff --git a/src/components/DomainOwned/components/StepButton.tsx b/src/components/Templates/DomainOwned/components/StepButton.tsx similarity index 83% rename from src/components/DomainOwned/components/StepButton.tsx rename to src/components/Templates/DomainOwned/components/StepButton.tsx index 69b8b693..4e09b9e3 100644 --- a/src/components/DomainOwned/components/StepButton.tsx +++ b/src/components/Templates/DomainOwned/components/StepButton.tsx @@ -1,7 +1,7 @@ import React from 'react'; -import { Button } from '../../../components'; -import { RefreshIcon } from '../../../components/Core/icons/Refresh'; -import { cn } from '../../../utils/cn'; +import { Button } from '../../../index'; +import { RefreshIcon } from '../../../Core/icons/Refresh'; +import { cn } from '../../../../utils/cn'; export interface StepButtonProps { children?: React.ReactNode; diff --git a/src/components/DomainOwned/components/Steps.tsx b/src/components/Templates/DomainOwned/components/Steps.tsx similarity index 98% rename from src/components/DomainOwned/components/Steps.tsx rename to src/components/Templates/DomainOwned/components/Steps.tsx index 2079ee36..e9df42af 100644 --- a/src/components/DomainOwned/components/Steps.tsx +++ b/src/components/Templates/DomainOwned/components/Steps.tsx @@ -1,6 +1,6 @@ import React from 'react'; import { css } from '@emotion/css'; -import { cn } from '../../../utils/cn'; +import { cn } from '../../../../utils/cn'; export interface StepsProps { current: number; diff --git a/src/components/DomainOwned/components/WalletInput.tsx b/src/components/Templates/DomainOwned/components/WalletInput.tsx similarity index 87% rename from src/components/DomainOwned/components/WalletInput.tsx rename to src/components/Templates/DomainOwned/components/WalletInput.tsx index 31316608..d4d5a857 100644 --- a/src/components/DomainOwned/components/WalletInput.tsx +++ b/src/components/Templates/DomainOwned/components/WalletInput.tsx @@ -1,7 +1,7 @@ import React, { useCallback } from 'react'; -import { cn } from '../../../utils/cn'; -import MetamaskSVG from '../../../assets/metamask.svg'; -import { PasteIcon } from '../../../components/Core/icons/Paste'; +import { cn } from '../../../../utils/cn'; +import MetamaskSVG from '../../../../assets/metamask.svg'; +import { PasteIcon } from '../../../Core/icons/Paste'; export interface WalletInputProps { value?: string; diff --git a/src/components/DomainOwned/index.ts b/src/components/Templates/DomainOwned/index.ts similarity index 100% rename from src/components/DomainOwned/index.ts rename to src/components/Templates/DomainOwned/index.ts diff --git a/src/components/DomainOwned/views/Borrow.tsx b/src/components/Templates/DomainOwned/views/Borrow.tsx similarity index 84% rename from src/components/DomainOwned/views/Borrow.tsx rename to src/components/Templates/DomainOwned/views/Borrow.tsx index 89c91454..86961183 100644 --- a/src/components/DomainOwned/views/Borrow.tsx +++ b/src/components/Templates/DomainOwned/views/Borrow.tsx @@ -1,6 +1,6 @@ import React from 'react'; -import { NamefiBrandText } from '../../../components'; -import { LightningIcon } from '../../../components/Core/icons/Lightning'; +import { NamefiBrandText } from '../../../index'; +import { LightningIcon } from '../../../Core/icons/Lightning'; import { DomainOwnedLayout } from '../components/DomainOwnedLayout'; import { type LinkChipProps } from '../components/LinkChip'; diff --git a/src/components/DomainOwned/views/Information.tsx b/src/components/Templates/DomainOwned/views/Information.tsx similarity index 82% rename from src/components/DomainOwned/views/Information.tsx rename to src/components/Templates/DomainOwned/views/Information.tsx index fa9e21fb..e8d60229 100644 --- a/src/components/DomainOwned/views/Information.tsx +++ b/src/components/Templates/DomainOwned/views/Information.tsx @@ -1,7 +1,7 @@ import React, { useMemo } from 'react'; -import { ReverseRightIcon } from '../../../components/Core/icons/ReverseRight'; -import { BookmarkIcon } from '../../../components/Core/icons/Bookmark'; -import { LightningIcon } from '../../../components/Core/icons/Lightning'; +import { ReverseRightIcon } from '../../../Core/icons/ReverseRight'; +import { BookmarkIcon } from '../../../Core/icons/Bookmark'; +import { LightningIcon } from '../../../Core/icons/Lightning'; import { DomainOwnedLayout } from '../components/DomainOwnedLayout'; import { type LinkChipProps } from '../components/LinkChip'; diff --git a/src/components/DomainOwned/views/ListForSale.tsx b/src/components/Templates/DomainOwned/views/ListForSale.tsx similarity index 83% rename from src/components/DomainOwned/views/ListForSale.tsx rename to src/components/Templates/DomainOwned/views/ListForSale.tsx index c9e171be..d23d6f05 100644 --- a/src/components/DomainOwned/views/ListForSale.tsx +++ b/src/components/Templates/DomainOwned/views/ListForSale.tsx @@ -1,6 +1,6 @@ import React from 'react'; -import { NamefiBrandText } from '../../../components'; -import { BookmarkIcon } from '../../../components/Core/icons/Bookmark'; +import { NamefiBrandText } from '../../../index'; +import { BookmarkIcon } from '../../../Core/icons/Bookmark'; import { DomainOwnedLayout } from '../components/DomainOwnedLayout'; import { type LinkChipProps } from '../components/LinkChip'; diff --git a/src/components/DomainOwned/views/Transfer.tsx b/src/components/Templates/DomainOwned/views/Transfer.tsx similarity index 92% rename from src/components/DomainOwned/views/Transfer.tsx rename to src/components/Templates/DomainOwned/views/Transfer.tsx index 3b4deedf..73dddb44 100644 --- a/src/components/DomainOwned/views/Transfer.tsx +++ b/src/components/Templates/DomainOwned/views/Transfer.tsx @@ -1,9 +1,9 @@ import React, { useState, useCallback } from 'react'; -import { NamefiBrandText } from '../../../components'; -import { UnlockIcon } from '../../../components/Core/icons/Unlock'; -import { ReverseLeftIcon } from '../../../components/Core/icons/ReverseLeft'; -import { DoneIcon } from '../../../components/Core/icons/Done'; -import { ReverseRightIcon } from '../../../components/Core/icons/ReverseRight'; +import { NamefiBrandText } from '../../../index'; +import { UnlockIcon } from '../../../Core/icons/Unlock'; +import { ReverseLeftIcon } from '../../../Core/icons/ReverseLeft'; +import { DoneIcon } from '../../../Core/icons/Done'; +import { ReverseRightIcon } from '../../../Core/icons/ReverseRight'; import { DomainOwnedLayout } from '../components/DomainOwnedLayout'; import { type LinkChipProps } from '../components/LinkChip'; import { StepButton } from '../components/StepButton'; diff --git a/src/components/DomainOwned/views/index.ts b/src/components/Templates/DomainOwned/views/index.ts similarity index 100% rename from src/components/DomainOwned/views/index.ts rename to src/components/Templates/DomainOwned/views/index.ts diff --git a/src/components/Templates/ImportFlow/components/ActionButton.tsx b/src/components/Templates/ImportFlow/components/ActionButton.tsx index 7ea99a32..7a83ee97 100644 --- a/src/components/Templates/ImportFlow/components/ActionButton.tsx +++ b/src/components/Templates/ImportFlow/components/ActionButton.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { StepButton, type StepButtonProps } from '../../../DomainOwned'; +import { StepButton, type StepButtonProps } from '../../DomainOwned'; export type ActionButtonProps = StepButtonProps; export const ActionButton = StepButton; diff --git a/src/components/Templates/ImportFlow/components/ImportFlowLayout.tsx b/src/components/Templates/ImportFlow/components/ImportFlowLayout.tsx index 263ca509..85966d36 100644 --- a/src/components/Templates/ImportFlow/components/ImportFlowLayout.tsx +++ b/src/components/Templates/ImportFlow/components/ImportFlowLayout.tsx @@ -4,7 +4,7 @@ import { cn } from '../../../../utils/cn'; import { DomainOwnedLayout, type DomainOwnedLayoutProgressProps, -} from '../../../DomainOwned'; +} from '../../DomainOwned'; import InfoCircledSVG from '../../../../assets/InfoCircled.svg'; export type ImportFlowLayoutMainProps = { diff --git a/src/components/Templates/ImportFlow/components/Steps.tsx b/src/components/Templates/ImportFlow/components/Steps.tsx index 16d6e4ea..b0ef9638 100644 --- a/src/components/Templates/ImportFlow/components/Steps.tsx +++ b/src/components/Templates/ImportFlow/components/Steps.tsx @@ -1 +1 @@ -export { Steps, type StepsProps } from '../../../DomainOwned/components/Steps'; +export { Steps, type StepsProps } from '../../DomainOwned/components/Steps'; diff --git a/src/pages/DomainOwned/content.tsx b/src/pages/DomainOwned/content.tsx index 5c3bc09b..3295ed63 100644 --- a/src/pages/DomainOwned/content.tsx +++ b/src/pages/DomainOwned/content.tsx @@ -5,7 +5,7 @@ import { DomainCardProps, } from '../../components/Templates/DomainCard/DomainCardDemo'; -import { DomainOwned } from '../../components/DomainOwned'; +import { DomainOwned } from '../../components/Templates/DomainOwned'; export type DomainOwnedContentProps = { domainCardProps: DomainCardProps; diff --git a/src/stories/Templates/DomainOwned/DomainOwned.stories.tsx b/src/stories/Templates/DomainOwned/DomainOwned.stories.tsx index bf839834..fcd4b42e 100644 --- a/src/stories/Templates/DomainOwned/DomainOwned.stories.tsx +++ b/src/stories/Templates/DomainOwned/DomainOwned.stories.tsx @@ -6,7 +6,7 @@ import { DomainOwned, type DomainOwnedView, type TransferStatus, -} from '../../../components/DomainOwned/DomainOwned'; +} from '../../../components/Templates/DomainOwned/DomainOwned'; const meta = { title: 'Templates/DomainOwned/SideCard', diff --git a/src/stories/Templates/DomainOwned/FullPage.stories.tsx b/src/stories/Templates/DomainOwned/FullPage.stories.tsx index 55b3a0f8..8e6ca8fb 100644 --- a/src/stories/Templates/DomainOwned/FullPage.stories.tsx +++ b/src/stories/Templates/DomainOwned/FullPage.stories.tsx @@ -5,14 +5,14 @@ import '../../../index.css' import '../../../App.css' import { deterministicMoment } from '../../consts'; -const meta = { +const meta: Meta = { title: 'Templates/DomainOwned/FullPage', component: FullPageStory, parameters: { // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout layout: 'fullscreen', }, -} satisfies Meta; +} ; export default meta; type Story = StoryObj; diff --git a/src/stories/Templates/DomainOwned/components/LinkChip.stories.tsx b/src/stories/Templates/DomainOwned/components/LinkChip.stories.tsx index 97dc408c..1adb881e 100644 --- a/src/stories/Templates/DomainOwned/components/LinkChip.stories.tsx +++ b/src/stories/Templates/DomainOwned/components/LinkChip.stories.tsx @@ -1,7 +1,7 @@ import type { Meta, StoryObj } from '@storybook/react'; import '../../../../index.css'; import '../../../../App.css'; -import { LinkChip } from '../../../../components/DomainOwned/components/LinkChip'; +import { LinkChip } from '../../../../components/Templates/DomainOwned/components/LinkChip'; const meta = { title: 'Templates/DomainOwned/Components/LinkChip', diff --git a/src/stories/Templates/DomainOwned/components/ProgressBar.stories.tsx b/src/stories/Templates/DomainOwned/components/ProgressBar.stories.tsx index 52b2111c..597c74aa 100644 --- a/src/stories/Templates/DomainOwned/components/ProgressBar.stories.tsx +++ b/src/stories/Templates/DomainOwned/components/ProgressBar.stories.tsx @@ -1,5 +1,5 @@ import type { Meta, StoryObj } from '@storybook/react'; -import { ProgressBar } from '../../../../components/DomainOwned/components/ProgressBar'; +import { ProgressBar } from '../../../../components/Templates/DomainOwned/components/ProgressBar'; const meta = { title: 'Templates/DomainOwned/Components/ProgressBar', diff --git a/src/stories/Templates/DomainOwned/components/StepButton.stories.tsx b/src/stories/Templates/DomainOwned/components/StepButton.stories.tsx index 3b72d332..346d427d 100644 --- a/src/stories/Templates/DomainOwned/components/StepButton.stories.tsx +++ b/src/stories/Templates/DomainOwned/components/StepButton.stories.tsx @@ -1,5 +1,5 @@ import type { Meta, StoryObj } from '@storybook/react'; -import { StepButton } from '../../../../components/DomainOwned/components/StepButton'; +import { StepButton } from '../../../../components/Templates/DomainOwned/components/StepButton'; import { ReverseLeftIcon } from '../../../../components/Core/icons/ReverseLeft'; const meta = { diff --git a/src/stories/Templates/DomainOwned/components/Steps.stories.tsx b/src/stories/Templates/DomainOwned/components/Steps.stories.tsx index d6989d34..fba33f0c 100644 --- a/src/stories/Templates/DomainOwned/components/Steps.stories.tsx +++ b/src/stories/Templates/DomainOwned/components/Steps.stories.tsx @@ -1,7 +1,7 @@ import type { Meta, StoryObj } from '@storybook/react'; import { GlobeIcon } from '@radix-ui/react-icons'; -import { StepButton } from '../../../../components/DomainOwned/components/StepButton'; -import { Steps } from '../../../../components/DomainOwned/components/Steps'; +import { StepButton } from '../../../../components/Templates/DomainOwned/components/StepButton'; +import { Steps } from '../../../../components/Templates/DomainOwned/components/Steps'; import { UnlockIcon } from '../../../../components/Core/icons/Unlock'; import { ReverseLeftIcon } from '../../../../components/Core/icons/ReverseLeft'; import { DoneIcon } from '../../../../components/Core/icons/Done'; diff --git a/src/stories/Templates/DomainOwned/components/WalletInput.stories.tsx b/src/stories/Templates/DomainOwned/components/WalletInput.stories.tsx index 57d73973..cac542b7 100644 --- a/src/stories/Templates/DomainOwned/components/WalletInput.stories.tsx +++ b/src/stories/Templates/DomainOwned/components/WalletInput.stories.tsx @@ -1,6 +1,6 @@ import { useState } from 'react'; import type { Meta, StoryObj } from '@storybook/react'; -import { WalletInput } from '../../../../components/DomainOwned/components/WalletInput'; +import { WalletInput } from '../../../../components/Templates/DomainOwned/components/WalletInput'; const meta = { title: 'Templates/DomainOwned/Components/WalletInput', diff --git a/src/stories/Templates/DomainOwned/components/layouts/Links.stories.tsx b/src/stories/Templates/DomainOwned/components/layouts/Links.stories.tsx index 0d128848..24df8b56 100644 --- a/src/stories/Templates/DomainOwned/components/layouts/Links.stories.tsx +++ b/src/stories/Templates/DomainOwned/components/layouts/Links.stories.tsx @@ -1,7 +1,7 @@ import type { Meta, StoryObj } from '@storybook/react'; import '../../../../../index.css'; import '../../../../../App.css'; -import { DomainOwnedLayout } from '../../../../../components/DomainOwned/components/DomainOwnedLayout'; +import { DomainOwnedLayout } from '../../../../../components/Templates/DomainOwned/components/DomainOwnedLayout'; const meta = { title: 'Templates/DomainOwned/Components/Layouts/Links', diff --git a/src/stories/Templates/DomainOwned/components/layouts/Main.stories.tsx b/src/stories/Templates/DomainOwned/components/layouts/Main.stories.tsx index 67585091..095559a6 100644 --- a/src/stories/Templates/DomainOwned/components/layouts/Main.stories.tsx +++ b/src/stories/Templates/DomainOwned/components/layouts/Main.stories.tsx @@ -1,7 +1,7 @@ import type { Meta, StoryObj } from '@storybook/react'; import '../../../../../index.css'; import '../../../../../App.css'; -import { DomainOwnedLayout } from '../../../../../components/DomainOwned/components/DomainOwnedLayout'; +import { DomainOwnedLayout } from '../../../../../components/Templates/DomainOwned/components/DomainOwnedLayout'; import { DoneIcon } from '../../../../../components/Core/icons/Done'; import { ReverseRightIcon } from '../../../../../components/Core/icons/ReverseRight'; import { BookmarkIcon } from '../../../../../components/Core/icons/Bookmark'; diff --git a/src/stories/Templates/DomainOwned/components/layouts/Progress.stories.tsx b/src/stories/Templates/DomainOwned/components/layouts/Progress.stories.tsx index a673e47a..1217afb2 100644 --- a/src/stories/Templates/DomainOwned/components/layouts/Progress.stories.tsx +++ b/src/stories/Templates/DomainOwned/components/layouts/Progress.stories.tsx @@ -1,7 +1,7 @@ import type { Meta, StoryObj } from '@storybook/react'; import '../../../../../index.css'; import '../../../../../App.css'; -import { DomainOwnedLayout } from '../../../../../components/DomainOwned/components/DomainOwnedLayout'; +import { DomainOwnedLayout } from '../../../../../components/Templates/DomainOwned/components/DomainOwnedLayout'; const meta = { title: 'Templates/DomainOwned/Components/Layouts/Progress', diff --git a/src/stories/Templates/DomainOwned/views/DomainOwnedBorrowView.stories.tsx b/src/stories/Templates/DomainOwned/views/DomainOwnedBorrowView.stories.tsx index 882e34a6..0e51c864 100644 --- a/src/stories/Templates/DomainOwned/views/DomainOwnedBorrowView.stories.tsx +++ b/src/stories/Templates/DomainOwned/views/DomainOwnedBorrowView.stories.tsx @@ -1,7 +1,7 @@ import type { Meta, StoryObj } from '@storybook/react'; import '../../../../index.css'; import '../../../../App.css'; -import { Borrow } from '../../../../components/DomainOwned/views/Borrow'; +import { Borrow } from '../../../../components/Templates/DomainOwned/views/Borrow'; const meta = { title: 'Templates/DomainOwned/Views/Borrow', diff --git a/src/stories/Templates/DomainOwned/views/DomainOwnedInformationView.stories.tsx b/src/stories/Templates/DomainOwned/views/DomainOwnedInformationView.stories.tsx index 186e8d64..802b8736 100644 --- a/src/stories/Templates/DomainOwned/views/DomainOwnedInformationView.stories.tsx +++ b/src/stories/Templates/DomainOwned/views/DomainOwnedInformationView.stories.tsx @@ -1,7 +1,7 @@ import type { Meta, StoryObj } from '@storybook/react'; import '../../../../index.css'; import '../../../../App.css'; -import { Information } from '../../../../components/DomainOwned/views/Information'; +import { Information } from '../../../../components/Templates/DomainOwned/views/Information'; const meta = { title: 'Templates/DomainOwned/Views/Information', diff --git a/src/stories/Templates/DomainOwned/views/DomainOwnedListForSaleView.stories.tsx b/src/stories/Templates/DomainOwned/views/DomainOwnedListForSaleView.stories.tsx index 6c8d7638..ece8b399 100644 --- a/src/stories/Templates/DomainOwned/views/DomainOwnedListForSaleView.stories.tsx +++ b/src/stories/Templates/DomainOwned/views/DomainOwnedListForSaleView.stories.tsx @@ -1,7 +1,7 @@ import type { Meta, StoryObj } from '@storybook/react'; import '../../../../index.css'; import '../../../../App.css'; -import { ListForSale } from '../../../../components/DomainOwned/views/ListForSale'; +import { ListForSale } from '../../../../components/Templates/DomainOwned/views/ListForSale'; const meta = { title: 'Templates/DomainOwned/Views/ListForSale', diff --git a/src/stories/Templates/DomainOwned/views/DomainOwnedTransferView.stories.tsx b/src/stories/Templates/DomainOwned/views/DomainOwnedTransferView.stories.tsx index 5402f4a5..fb414ddb 100644 --- a/src/stories/Templates/DomainOwned/views/DomainOwnedTransferView.stories.tsx +++ b/src/stories/Templates/DomainOwned/views/DomainOwnedTransferView.stories.tsx @@ -2,7 +2,7 @@ import { useState, useMemo, useCallback } from 'react'; import type { Meta, StoryObj } from '@storybook/react'; import '../../../../index.css'; import '../../../../App.css'; -import { Transfer, type TransferStatus } from '../../../../components/DomainOwned/views/Transfer'; +import { Transfer, type TransferStatus } from '../../../../components/Templates/DomainOwned/views/Transfer'; const meta = { title: 'Templates/DomainOwned/Views/Transfer',