From 5aae0182736f7b3df119d5dde94306ae95329ea8 Mon Sep 17 00:00:00 2001 From: nvim Date: Sun, 29 Sep 2024 15:32:37 +0200 Subject: [PATCH] Remove information modal --- src/App.css | 18 +++++++----------- src/App.tsx | 20 +++++--------------- 2 files changed, 12 insertions(+), 26 deletions(-) diff --git a/src/App.css b/src/App.css index cb287c0..cf52404 100644 --- a/src/App.css +++ b/src/App.css @@ -114,8 +114,7 @@ button:disabled { .editor { display: flex; - margin-left: 50px; - height: 100vh; + height: 85vh; } .logo { @@ -123,13 +122,10 @@ button:disabled { border-radius: 8px; } -.infoButton { - position: absolute; - left: 12px; - bottom: 12px; - z-index: 100; -} - -.infoContent { - text-align: center; +.footer { + background-color: #f4f8fb; + height: 8vh; + display: flex; + justify-content: center; + align-items: center; } \ No newline at end of file diff --git a/src/App.tsx b/src/App.tsx index 761d5dc..4f8919e 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,12 +1,11 @@ -import React, { useState } from 'react'; +import React from 'react'; import './App.css'; import { useFHIRPathUI } from './hooks'; import Editor from '@monaco-editor/react'; import { Allotment } from "allotment"; import "allotment/dist/style.css"; -import { Play, ShareFat, FileArrowDown, Info } from "@phosphor-icons/react"; +import { Play, ShareFat, FileArrowDown } from "@phosphor-icons/react"; import Loader from './components/loader'; -import { Modal } from './components/Modal'; import logo from './assets/logo.png'; import { ToastContainer } from 'react-toastify'; import 'react-toastify/dist/ReactToastify.css'; @@ -16,22 +15,10 @@ const App: React.FC = () => { const { url, handleUrlChange, handleFetch, resource, expression, setExpression, setResource, handleExecute, result, handleShare, isLoading, isExecuteActive, isGetResourceActive, isShareActive } = useFHIRPathUI(); - const [infoModalOpen, setInfoModalOpen] = useState(false); return (
-
- -
{isLoading ? : null} - setInfoModalOpen(false)}> -
-

Open source UI for the FHIRPath expression

-

GitHub Repo

-

Developed by Pavel Rozhkov

-

FHIRPath engine developed by Beda Software

-
-
Logo
@@ -62,6 +49,9 @@ const App: React.FC = () => {
+
+

Source Code

+
);