From c0a60f9bcc6bbda50cb784b9b0cfbcc5e15fa4a4 Mon Sep 17 00:00:00 2001 From: Silas Date: Fri, 26 Nov 2021 15:05:36 -0500 Subject: [PATCH] clean up directory structure and remove unused files --- src/App.css | 0 src/App.tsx | 95 ------------------- src/App2.tsx | 21 ---- src/index.css | 0 .../pages}/SecretCreationPage1.stories.tsx | 0 .../pages}/SecretCreationPage1.tsx | 20 ++-- .../pages}/SecretCreationPage2.stories.tsx | 0 .../pages}/SecretCreationPage2.tsx | 22 ++--- .../pages}/SecretCreationPage3.stories.tsx | 0 .../pages}/SecretCreationPage3.tsx | 22 ++--- .../pages}/SecretRevealPage.stories.tsx | 0 src/{ => stories/pages}/SecretRevealPage.tsx | 20 ++-- .../pages}/SplashPage.stories.tsx | 0 src/{ => stories/pages}/SplashPage.tsx | 12 +-- .../pages}/VerifyPage.stories.tsx | 0 src/{ => stories/pages}/VerifyPage.tsx | 16 ++-- 16 files changed, 56 insertions(+), 172 deletions(-) delete mode 100644 src/App.css delete mode 100644 src/App.tsx delete mode 100644 src/App2.tsx delete mode 100644 src/index.css rename src/{ => stories/pages}/SecretCreationPage1.stories.tsx (100%) rename src/{ => stories/pages}/SecretCreationPage1.tsx (74%) rename src/{ => stories/pages}/SecretCreationPage2.stories.tsx (100%) rename src/{ => stories/pages}/SecretCreationPage2.tsx (75%) rename src/{ => stories/pages}/SecretCreationPage3.stories.tsx (100%) rename src/{ => stories/pages}/SecretCreationPage3.tsx (70%) rename src/{ => stories/pages}/SecretRevealPage.stories.tsx (100%) rename src/{ => stories/pages}/SecretRevealPage.tsx (68%) rename src/{ => stories/pages}/SplashPage.stories.tsx (100%) rename src/{ => stories/pages}/SplashPage.tsx (63%) rename src/{ => stories/pages}/VerifyPage.stories.tsx (100%) rename src/{ => stories/pages}/VerifyPage.tsx (71%) diff --git a/src/App.css b/src/App.css deleted file mode 100644 index e69de29..0000000 diff --git a/src/App.tsx b/src/App.tsx deleted file mode 100644 index cba6f33..0000000 --- a/src/App.tsx +++ /dev/null @@ -1,95 +0,0 @@ -import React, { useState } from "react"; - -import { ProgressIndicator } from "./stories/ProgressIndicator"; - -import { Header1 } from "./stories/Header1"; -import { Header2 } from "./stories/Header2"; - -import { Button } from "./stories/Button"; -import { IconArrow } from "./stories/IconArrow"; -import { InputButtonWithIcon } from "./stories/InputButtonWithIcon"; - -import { Label } from "./stories/Label"; -import { Input } from "./stories/Input"; -import { AutoResizingTextArea } from "./stories/AutoResizingTextArea"; -import { Select } from "./stories/Select"; - -import { CenteredContainer } from "./stories/utilities/CenteredContainer"; -import { SpaceBetweenContainer } from "./stories/utilities/SpaceBetweenContainer"; -import { Spacer } from "./stories/utilities/Spacer"; -import { TextAlignWrapper } from "./stories/utilities/TextAlignWrapper"; - -function App() { - const [input1, setInput1] = useState(""); - const [input2, setInput2] = useState(""); - const [select, setSelect] = useState("github"); - - const handleInputChange1 = (e: React.ChangeEvent) => { - setInput1(e.target.value); - }; - - const handleInputChange2 = (e: React.ChangeEvent) => { - setInput2(e.target.value); - }; - - const handleSelectChange = (e: React.ChangeEvent) => { - setSelect(e.target.value); - }; - - return ( - - - - {/* Securely Share Your Secrets */} - - Tell someone - - - - - - - {}} - /> - -