diff --git a/dashboard/src/stories/assets/code-brackets.svg b/dashboard/src/assets/code-brackets.svg similarity index 100% rename from dashboard/src/stories/assets/code-brackets.svg rename to dashboard/src/assets/code-brackets.svg diff --git a/dashboard/src/stories/assets/colors.svg b/dashboard/src/assets/colors.svg similarity index 100% rename from dashboard/src/stories/assets/colors.svg rename to dashboard/src/assets/colors.svg diff --git a/dashboard/src/stories/assets/comments.svg b/dashboard/src/assets/comments.svg similarity index 100% rename from dashboard/src/stories/assets/comments.svg rename to dashboard/src/assets/comments.svg diff --git a/dashboard/src/stories/assets/direction.svg b/dashboard/src/assets/direction.svg similarity index 100% rename from dashboard/src/stories/assets/direction.svg rename to dashboard/src/assets/direction.svg diff --git a/dashboard/src/stories/assets/flow.svg b/dashboard/src/assets/flow.svg similarity index 100% rename from dashboard/src/stories/assets/flow.svg rename to dashboard/src/assets/flow.svg diff --git a/dashboard/src/stories/assets/plugin.svg b/dashboard/src/assets/plugin.svg similarity index 100% rename from dashboard/src/stories/assets/plugin.svg rename to dashboard/src/assets/plugin.svg diff --git a/dashboard/src/stories/assets/repo.svg b/dashboard/src/assets/repo.svg similarity index 100% rename from dashboard/src/stories/assets/repo.svg rename to dashboard/src/assets/repo.svg diff --git a/dashboard/src/stories/assets/stackalt.svg b/dashboard/src/assets/stackalt.svg similarity index 100% rename from dashboard/src/stories/assets/stackalt.svg rename to dashboard/src/assets/stackalt.svg diff --git a/dashboard/src/stories/Button.stories.tsx b/dashboard/src/components/common/Button/Button.stories.tsx similarity index 100% rename from dashboard/src/stories/Button.stories.tsx rename to dashboard/src/components/common/Button/Button.stories.tsx diff --git a/dashboard/src/stories/Button.tsx b/dashboard/src/components/common/Button/Button.tsx similarity index 100% rename from dashboard/src/stories/Button.tsx rename to dashboard/src/components/common/Button/Button.tsx diff --git a/dashboard/src/stories/button.css b/dashboard/src/components/common/Button/button.css similarity index 100% rename from dashboard/src/stories/button.css rename to dashboard/src/components/common/Button/button.css diff --git a/dashboard/src/stories/Header.stories.tsx b/dashboard/src/components/common/Header/Header.stories.tsx similarity index 100% rename from dashboard/src/stories/Header.stories.tsx rename to dashboard/src/components/common/Header/Header.stories.tsx diff --git a/dashboard/src/stories/Header.tsx b/dashboard/src/components/common/Header/Header.tsx similarity index 97% rename from dashboard/src/stories/Header.tsx rename to dashboard/src/components/common/Header/Header.tsx index e34c2660..1be015f0 100644 --- a/dashboard/src/stories/Header.tsx +++ b/dashboard/src/components/common/Header/Header.tsx @@ -1,4 +1,4 @@ -import { Button } from "./Button"; +import { Button } from "../Button/Button"; import "./header.css"; type User = { diff --git a/dashboard/src/stories/header.css b/dashboard/src/components/common/Header/header.css similarity index 100% rename from dashboard/src/stories/header.css rename to dashboard/src/components/common/Header/header.css diff --git a/dashboard/src/stories/Page.stories.tsx b/dashboard/src/components/common/Page/Page.stories.tsx similarity index 100% rename from dashboard/src/stories/Page.stories.tsx rename to dashboard/src/components/common/Page/Page.stories.tsx diff --git a/dashboard/src/stories/Page.tsx b/dashboard/src/components/common/Page/Page.tsx similarity index 98% rename from dashboard/src/stories/Page.tsx rename to dashboard/src/components/common/Page/Page.tsx index 0fe9f249..15103118 100644 --- a/dashboard/src/stories/Page.tsx +++ b/dashboard/src/components/common/Page/Page.tsx @@ -1,6 +1,6 @@ import React from "react"; -import { Header } from "./Header"; +import { Header } from "../Header/Header"; import "./page.css"; type User = { diff --git a/dashboard/src/stories/page.css b/dashboard/src/components/common/Page/page.css similarity index 100% rename from dashboard/src/stories/page.css rename to dashboard/src/components/common/Page/page.css diff --git a/dashboard/src/stories/Introduction.stories.mdx b/dashboard/src/stories/Introduction.stories.mdx index 987b18f5..341e468f 100644 --- a/dashboard/src/stories/Introduction.stories.mdx +++ b/dashboard/src/stories/Introduction.stories.mdx @@ -1,12 +1,12 @@ import { Meta } from "@storybook/addon-docs"; -import Code from "./assets/code-brackets.svg"; -import Colors from "./assets/colors.svg"; -import Comments from "./assets/comments.svg"; -import Direction from "./assets/direction.svg"; -import Flow from "./assets/flow.svg"; -import Plugin from "./assets/plugin.svg"; -import Repo from "./assets/repo.svg"; -import StackAlt from "./assets/stackalt.svg"; +import Code from "../assets/code-brackets.svg"; +import Colors from "../assets/colors.svg"; +import Comments from "../assets/comments.svg"; +import Direction from "../assets/direction.svg"; +import Flow from "../assets/flow.svg"; +import Plugin from "../assets/plugin.svg"; +import Repo from "../assets/repo.svg"; +import StackAlt from "../assets/stackalt.svg"; diff --git a/dashboard/yarn.lock b/dashboard/yarn.lock index e21b83d4..781ee90b 100644 --- a/dashboard/yarn.lock +++ b/dashboard/yarn.lock @@ -4975,10 +4975,10 @@ escodegen@^2.0.0: optionalDependencies: source-map "~0.6.1" -eslint-config-enpitech@^1.0.9: - version "1.0.9" - resolved "https://registry.npmjs.org/eslint-config-enpitech/-/eslint-config-enpitech-1.0.9.tgz" - integrity sha512-J/z9D8zvM2d3wpokwfqq7FX4jbxLsmIOxQEdIDPP71cKlrSS7zvjuMvyvPaCaVUjb2hI9FXlh1CgXWpXSMj0qQ== +eslint-config-enpitech@^1.0.6: + version "1.0.6" + resolved "https://registry.npmjs.org/eslint-config-enpitech/-/eslint-config-enpitech-1.0.6.tgz" + integrity sha512-pe4vCbIlDEBLV6c64CM6fIAWfbt6BDyNDmbAMya+Ud1s4jZkJfcIlhp9t5xZDDDIVaXPHEyxDRSa/eTKZ5VVQQ== dependencies: "@typescript-eslint/eslint-plugin" "^6.0.0" eslint-config-prettier "^8.8.0"