From 01e6b6682acf02bfa5e68049afbb44cd0ddf2228 Mon Sep 17 00:00:00 2001 From: brahims Date: Sun, 29 Sep 2024 12:21:46 +0200 Subject: [PATCH] feat(app): add wip --- .prettierrc | 4 +- apps/uikit/src/app/app.tsx | 63 +- apps/uikit/src/app/styles.css | 97 ++ package-lock.json | 1168 +++++++++++++++++++++-- package.json | 7 +- shared-ui/src/index.ts | 2 +- shared-ui/src/lib/Form/index.tsx | 52 + shared-ui/src/lib/shared-ui.spec.tsx | 10 - shared-ui/src/lib/shared-ui.tsx | 15 - shared-ui/src/lib/styles/GlobalStyle.ts | 7 + 10 files changed, 1306 insertions(+), 119 deletions(-) create mode 100644 apps/uikit/src/app/styles.css create mode 100644 shared-ui/src/lib/Form/index.tsx delete mode 100644 shared-ui/src/lib/shared-ui.spec.tsx delete mode 100644 shared-ui/src/lib/shared-ui.tsx create mode 100644 shared-ui/src/lib/styles/GlobalStyle.ts diff --git a/.prettierrc b/.prettierrc index 7780def..58972b1 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,7 +1,7 @@ { "singleQuote": true, "trailingComma": "all", - "printWidth": 120, "useTabs": true, - "tabWidth": 2 + "tabWidth": 2, + "printWidth": 80 } diff --git a/apps/uikit/src/app/app.tsx b/apps/uikit/src/app/app.tsx index 9665b82..e547223 100644 --- a/apps/uikit/src/app/app.tsx +++ b/apps/uikit/src/app/app.tsx @@ -1,13 +1,72 @@ +import React from 'react'; +import * as Form from '@radix-ui/react-form'; import styled from 'styled-components'; +import { Theme, Button } from '@radix-ui/themes'; +import '@radix-ui/themes/styles.css'; +import './styles.css'; const StyledApp = styled.div` - // Your style here + display: flex; + flex-direction: column; + justify-items: center; + justify-content: space-between; + align-items: center; `; -export function App() { +export function App(): React.ReactElement { return (

Hello there

+ + + + + + + +
+ Email + + Please enter your email + + + Please provide a valid email + +
+ + + +
+ +
+ Question + + Please enter a question + +
+ +