From e83fb7e18b57ed6bfa14c12d277ae9965e3e3809 Mon Sep 17 00:00:00 2001 From: AlejoYarce Date: Thu, 9 Jan 2025 21:13:05 -0500 Subject: [PATCH] Showcasing components on App.js --- src/App.tsx | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++- src/index.css | 11 +++++++++++ 2 files changed, 63 insertions(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index 64bf082..62d65c4 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,6 +1,57 @@ +/* eslint-disable @typescript-eslint/no-unused-vars */ + +import SwitchDemo from './components/Switch/SwitchDemo' +import ButtonDemo from './components/Buttons/Button/ButtonDemo' +import RadioDemo from './components/Radio/RadioDemo' +import TabBarDemo from './components/TabBar/TabBarDemo' +import CheckboxDemo from './components/Checkbox/CheckboxDemo' +import LayerSidebar from './components/Layer/LayerSidebar/Demo' +import TagDemo from './components/Tag/TagDemo' +import InlineMessageDemo from './components/InlineMessage/InlineMessageDemo' +import TextInputDemo from './components/TextInput/TextInputDemo' +import TextareaDemo from './components/Textarea/TextareaDemo' +import CloseButtonDemo from './components/Buttons/CloseButton/CloseButtonDemo' +import IconButtonDemo from './components/Buttons/IconButton/IconButtonDemo' +import SliderDemo from './components/Slider/SliderDemo' +import QualitativeDemo from './components/Legend/QualitativeLegend/QualitativeLegendDemo' +import LayerParametersDemo from './components/Legend/LayerParameters/LayerParametersDemo' +import ScaleLegendDemo from './components/Legend/ScaleLegend/ScaleLegendDemo' +import { LegendItemDemo } from './components/Legend/LegendItem/LegendItemDemo' +import LegendPanelDemo from './components/Legend/LegendPanel/LegendPanelDemo' + const App = () => (
-

Welcome to WRI OS

+
+

Welcome to WRI OS

+
+ + + + + + + + + + + + + + + + + +
+ + +
) diff --git a/src/index.css b/src/index.css index 9381881..8a6b905 100644 --- a/src/index.css +++ b/src/index.css @@ -15,3 +15,14 @@ code { *:focus-visible { box-shadow: none !important; } + +.app-container { + margin-left: 364px; + transition: margin-left 0.1s; + padding: 20px; +} + +.app-container.sidebar-closed { + margin-left: 64px; + transition: margin-left 0.1s; +}