more adjustments all around

This commit is contained in:
Arjun Patel
2022-01-20 23:43:34 -08:00
parent 3c47c8f2af
commit 979a647f72
3 changed files with 29 additions and 11 deletions
+27 -9
View File
@@ -15,6 +15,8 @@ import VoiceLineConceptDemo from "../components/demo/VoiceLineConceptDemo";
import MainLogo from "../components/MainLogo";
import { Divider } from "antd";
import { useRouter } from "next/router";
import { useState } from "react";
import SkeletonLoader from "../components/Loading/skeletonLoader";
export default function Home() {
const handleGetDemo = () => {
@@ -23,6 +25,8 @@ export default function Home() {
const router = useRouter();
const [loading, setLoading] = useState(false);
const getStartedButton = (
<button
onClick={handleGetDemo}
@@ -33,6 +37,15 @@ export default function Home() {
</button>
);
if (loading) {
return <SkeletonLoader />;
}
function handleLogin() {
setLoading(true);
router.push("/teams");
}
return (
<div className="landing-page-bg bg-left-bottom bg-fixed bg-cover bg-no-repeat">
<div className="container mx-auto md:pb-10 px-5">
@@ -47,8 +60,8 @@ export default function Home() {
Philosophy
</span> */}
<button
onClick={() => router.push("/teams")}
className="ml-auto text-gray-500 mr-2"
onClick={handleLogin}
className="ml-auto text-gray-500 mr-2 hidden md:block"
>
Log In
</button>
@@ -60,7 +73,7 @@ export default function Home() {
{/* above fold main */}
<div className="flex flex-row flex-wrap md:flex-nowrap md:mt-20">
<span className="flex flex-col max-w-screen-sm justify-start items-baseline backdrop-blur-xl rounded-lg">
<span className="flex flex-row text-left md:text-6xl text-3xl space-x-5 h-[5rem] overflow-hidden">
<span className="flex flex-row text-left md:text-6xl text-5xl space-x-5 h-[5rem] overflow-hidden">
<span className="font-semibold text-black py-4">No</span>
<span className="md:hidden flex flex-row space-x-2 py-4 text-red-600">
<FaSlackHash /> <span>slacking</span>
@@ -84,29 +97,34 @@ export default function Home() {
</span>
</span>
<span className="flex flex-row text-left md:text-6xl text-3xl space-x-5">
<span className="flex flex-row text-left md:text-6xl text-5xl space-x-5">
<span className="font-semibold text-black">More</span>
<span className="text-sky-600 font-bold">focus.</span>
</span>
<span className="my-10 text-md md:text-xl max-w-xl text-gray-600">
<span className="my-10 text-md text-xl max-w-xl text-gray-600">
Voice-first collaboration tool for scrum/agile teams.
<br></br>
Skip slack and email, just talk to your team.
</span>
<span className="flex flex-row space-x-2">
<a
href="mailto:[email protected]?subject=Interested in Nirvana for Startups"
<button
onClick={() =>
window.open(
"mailto:[email protected]?subject=Interested in Nirvana for Startups",
"_blank"
)
}
className="rounded text-teal-600 p-2 shadow-l flex flex-row items-center space-x-2"
>
Email Us
</a>
</button>
{getStartedButton}
</span>
</span>
<span className="flex flex-row relative items-baseline">
<span className="flex flex-row relative items-baseline flex-1 md:block hidden">
<VoiceLineConceptDemo />
</span>
</div>