+
{' '}
@@ -847,6 +847,6 @@ export const SessionLayout = ({ sessions, event }: { sessions: SessionType[] | n
)}
-
+
)
}
diff --git a/devcon-app/src/components/domain/app/dc7/speakers/index.tsx b/devcon-app/src/components/domain/app/dc7/speakers/index.tsx
index 1909fe8ac..b656e5c42 100644
--- a/devcon-app/src/components/domain/app/dc7/speakers/index.tsx
+++ b/devcon-app/src/components/domain/app/dc7/speakers/index.tsx
@@ -517,12 +517,12 @@ export const SpeakerLayout = ({ speakers }: { speakers: SpeakerType[] | null })
if (!speakers) return null
return (
-
@@ -545,6 +545,6 @@ export const SpeakerLayout = ({ speakers }: { speakers: SpeakerType[] | null })
)}
-
+
)
}
diff --git a/devcon-app/src/pages/login/index.module.scss b/devcon-app/src/pages/login/index.module.scss
index b3cfb6443..aa0a36b8a 100644
--- a/devcon-app/src/pages/login/index.module.scss
+++ b/devcon-app/src/pages/login/index.module.scss
@@ -37,4 +37,8 @@
// // background: yellow;
// mix-blend-mode: overlay;
}
-}
\ No newline at end of file
+}
+
+.login-container {
+ // height: calc(100vh - max(0px, env(safe-area-inset-top)) - max(0px, env(safe-area-inset-bottom)));
+}
diff --git a/devcon-app/src/pages/login/index.tsx b/devcon-app/src/pages/login/index.tsx
index 09d6ffb80..8ae95be85 100644
--- a/devcon-app/src/pages/login/index.tsx
+++ b/devcon-app/src/pages/login/index.tsx
@@ -277,14 +277,14 @@ const TrustModels = (props: any) => {
To get the full utility out of the Devcon Passport it is recommended to connect your wallet.
-
-
- Skip to Dashboard
-
+
+
-
+
Devcon facilitates complete ownership over your data, while allowing you to access web3 interactivity through
our application if you choose to.
@@ -357,21 +357,21 @@ const Login = (props: any) => {
const Index = (props: any) => {
const router = useRouter()
// Safari/iOS is just terrible...
- // useEffect(() => {
- // const setVhAndBackground = () => {
- // const vh = window.innerHeight * 0.01
- // document.documentElement.style.setProperty('--vh', `${vh}px`)
- // document.documentElement.style.backgroundColor = 'black'
- // }
-
- // setVhAndBackground()
- // window.addEventListener('resize', setVhAndBackground)
-
- // return () => {
- // window.removeEventListener('resize', setVhAndBackground)
- // document.documentElement.style.removeProperty('background-color')
- // }
- // }, [])
+ useEffect(() => {
+ const setVhAndBackground = () => {
+ const vh = window.innerHeight * 0.01
+ document.documentElement.style.setProperty('--vh', `${vh}px`)
+ document.documentElement.style.backgroundColor = 'black'
+ }
+
+ setVhAndBackground()
+ window.addEventListener('resize', setVhAndBackground)
+
+ return () => {
+ window.removeEventListener('resize', setVhAndBackground)
+ document.documentElement.style.removeProperty('background-color')
+ }
+ }, [])
// Only redirect to login the first time the user visits the site
useEffect(() => {
@@ -387,7 +387,12 @@ const Index = (props: any) => {
return (
{/*
*/}
-
+
diff --git a/lib/components/ai/overlay.tsx b/lib/components/ai/overlay.tsx
index 1e9b01cb9..5b7d0d048 100644
--- a/lib/components/ai/overlay.tsx
+++ b/lib/components/ai/overlay.tsx
@@ -242,6 +242,7 @@ const DevaBot = ({
if (recommendationMode) {
url += "?recommendations=true";
}
+
const response = await fetch(url, {
method: "POST",
headers: {
@@ -924,7 +925,9 @@ const DevaBot = ({
"!bg-[#7D52F4]": query.length > 0,
}
)}
- onClick={onSend}
+ onClick={() => {
+ onSend();
+ }}
disabled={executingQuery || query.length === 0}
>
{executingQuery}
diff --git a/lib/components/pop-up/PopUp.tsx b/lib/components/pop-up/PopUp.tsx
index 8903adda3..7836006cf 100644
--- a/lib/components/pop-up/PopUp.tsx
+++ b/lib/components/pop-up/PopUp.tsx
@@ -107,7 +107,7 @@ export const Popup = ({
Back to Overview
-