From 673b7553e06bb6d2be52b0262bce8c4ced29d2ec Mon Sep 17 00:00:00 2001 From: Juan Di Toro Date: Sun, 12 Nov 2023 20:52:31 +0100 Subject: [PATCH 1/2] chore: add disclaimer --- src/components/App.tsx | 17 +++++++++++++---- src/components/StartPage.tsx | 21 ++++++++++++++++++--- src/pages/index.astro | 4 +--- 3 files changed, 32 insertions(+), 10 deletions(-) diff --git a/src/components/App.tsx b/src/components/App.tsx index 85dc95f..b826036 100644 --- a/src/components/App.tsx +++ b/src/components/App.tsx @@ -41,8 +41,15 @@ const App: React.FC = () => {
{ethStatus?.syncState === "syncing" ? ( - - {ethStatus.sync.toFixed(1)}% Syncing Ethereum Network + + + {ethStatus.sync.toFixed(1)}% + {" "} + Syncing Ethereum Network ) : ethStatus?.syncState === "done" ? ( @@ -132,8 +139,10 @@ const Root = () => { - - +
+ + +
diff --git a/src/components/StartPage.tsx b/src/components/StartPage.tsx index 1ce77d6..005c8f2 100644 --- a/src/components/StartPage.tsx +++ b/src/components/StartPage.tsx @@ -8,7 +8,7 @@ type Props = { const AVAILABLE_PAGES = [ "blockranger.eth", "esteroids.eth", - "ens.eth", + // "ens.eth", "sogola.eth", "vitalik.eth", ]; @@ -17,7 +17,7 @@ const StartPage = ({ setUrl }: Props) => { const { ready, inited } = useLumeStatus(); const { isLoggedIn } = useAuth(); return ( -
+

Welcome to the Lume Browser

@@ -28,7 +28,7 @@ const StartPage = ({ setUrl }: Props) => {

For further documentation, see:{" "} - + https://docs.lumeweb.com/browser-webapp

@@ -37,6 +37,21 @@ const StartPage = ({ setUrl }: Props) => { {inited && ready ? (

+
+

Disclaimer

+

+ The sites listed below are the ones we currently support. We're a + small team working hard to make this technology possible. We don't + endorse any ideological views. Our focus is on building for a free + web. The listed sites are examples of what our technology can do + today. Please note that we are not hosting or serving any content + ourselves and have no control over the content as it's + decentralized. +

+

Currently Accessible Websites:

diff --git a/src/pages/index.astro b/src/pages/index.astro index 6101db6..30c4c8e 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -12,9 +12,7 @@ import "@/styles/globals.scss"; Web3 Browser - Powered By Lume Web - -
+ -
From 0ab9f438b6a7936d1bd310fb037a4251407b29f4 Mon Sep 17 00:00:00 2001 From: Juan Di Toro Date: Mon, 13 Nov 2023 17:31:40 +0100 Subject: [PATCH 2/2] fix: browser view --- src/components/App.tsx | 2 +- src/components/Browser.tsx | 2 +- src/pages/index.astro | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/App.tsx b/src/components/App.tsx index b826036..0796498 100644 --- a/src/components/App.tsx +++ b/src/components/App.tsx @@ -139,7 +139,7 @@ const Root = () => { -
+
diff --git a/src/components/Browser.tsx b/src/components/Browser.tsx index d13c4d7..dbf1455 100644 --- a/src/components/Browser.tsx +++ b/src/components/Browser.tsx @@ -346,7 +346,7 @@ export function Browser() { ref={iframeRef} onLoad={handleIframeLoad} src={url ? `/browse/${url}` : "about:blank"} - className={`${shouldRenderStartPage ? "hidden" : ""} w-full h-full`} + className={`${shouldRenderStartPage ? "hidden" : ""} flex-1 w-full h-full -mb-5`} > ); diff --git a/src/pages/index.astro b/src/pages/index.astro index 30c4c8e..7d17164 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -12,7 +12,7 @@ import "@/styles/globals.scss"; Web3 Browser - Powered By Lume Web - +