From e5551c489f40844ea11533d0de58c3939b48ad37 Mon Sep 17 00:00:00 2001 From: Gregory Schier Date: Wed, 22 Feb 2023 19:44:44 -0800 Subject: [PATCH] Started on grid layout --- src-web/App.tsx | 82 +++++++++++++++------------- src-web/components/Button.tsx | 3 +- src-web/components/Editor/Editor.css | 24 ++++++-- src-web/components/Editor/Editor.tsx | 2 +- src-web/components/Grid.tsx | 9 ++- src-web/components/Input.tsx | 27 +++++---- src-web/components/UrlBar.tsx | 13 +++-- 7 files changed, 98 insertions(+), 62 deletions(-) diff --git a/src-web/App.tsx b/src-web/App.tsx index 6a1572c5..d3f18c35 100644 --- a/src-web/App.tsx +++ b/src-web/App.tsx @@ -7,6 +7,9 @@ import { WindowDragRegion } from './components/WindowDragRegion'; import { IconButton } from './components/IconButton'; import { Sidebar } from './components/Sidebar'; import { UrlBar } from './components/UrlBar'; +import { Input } from './components/Input'; +import { Button } from './components/Button'; +import { Grid } from './components/Grid'; interface Response { url: string; @@ -63,44 +66,49 @@ function App() { - - -
Send Request
- -
- - - {error &&
{error}
} - {response !== null && ( - <> -
- {response?.method.toUpperCase()} -  •  - {response?.status} -  •  - {response?.elapsed}ms  •  - {response?.elapsed2}ms -
- {contentType.includes('html') ? ( -