Files
nirvana/pages/index.js
T
2022-01-20 03:34:10 -08:00

175 lines
6.4 KiB
JavaScript

import Head from "next/head";
import Image from "next/image";
import {
FaSlackHash,
FaNewspaper,
FaCalendarAlt,
FaRocketchat,
FaAngleRight,
} from "react-icons/fa";
import TeamVoiceLine from "../components/demo/TeamVoiceLine";
import Announcements from "../components/demo/Announcements";
import Rooms from "../components/demo/Rooms";
import MainLogo from "../components/MainLogo";
import { Divider } from "antd";
export default function Home() {
const handleGetDemo = () => {
window.open("https://calendly.com/usenirvana/30min", "_blank");
};
const getStartedButton = (
<button
onClick={handleGetDemo}
className="rounded font-semibold bg-teal-600 p-2 text-white shadow-lg flex flex-row items-center space-x-2"
>
<span>Get Demo</span>
<FaAngleRight />
</button>
);
return (
<div className="landing-page-bg bg-left-bottom bg-fixed bg-cover bg-no-repeat">
<div className="container mx-auto pb-10">
{/* header */}
<div className="flex flex-row py-5 px-5 items-center justify-start mx-auto">
<MainLogo className="mr-auto text-3xl" />
<span className="flex flex-row space-x-5 items-center">
<span className="font-bold underline decoration-slate-400 underline-offset-4">
Home
</span>
<span className="text-gray-500">Features</span>
<span className="text-gray-500 border-r-2 pr-5">Pricing</span>
<span className="ml-auto text-gray-500 mr-5">Log In</span>
{getStartedButton}
</span>
</div>
<div className="flex flex-col justify-start items-baseline max-w-screen-sm md:mt-20 backdrop-blur-xl rounded-lg">
<span className="flex flex-row text-left text-6xl space-x-5 h-[5rem] overflow-hidden">
<span className="font-semibold text-black py-4">Less</span>
<span className="flippingWords flex flex-col space-y-5 text-red-600 ">
<span className="flex flex-row space-x-2">
<FaRocketchat /> <span>threads</span>
</span>
<span className="flex flex-row space-x-2">
<FaSlackHash /> <span>slacking</span>
</span>
<span className="flex flex-row space-x-2">
<FaCalendarAlt /> <span>calendars</span>
</span>
<span className="flex flex-row space-x-2">
<FaNewspaper /> <span>files</span>
</span>
<span className="flex flex-row space-x-2">
<FaRocketchat /> <span>threads</span>
</span>
</span>
</span>
<span className="flex flex-row text-left text-6xl space-x-5">
<span className="font-semibold text-black">More</span>
<span className="text-sky-600 font-bold">work.</span>
</span>
<span className="my-10 text-xl max-w-xl text-gray-600">
Minimal collaboration tool for scrum/agile teams. Wasting 80% of
your work day on slack, teams, gmail, calendars, chats, emojis,
notifications?
</span>
<span className="flex flex-row space-x-2">
<button className="rounded text-teal-600 p-2 shadow-l flex flex-row items-center space-x-2">
<span>Features</span>
</button>
{getStartedButton}
</span>
</div>
{/* main mission */}
<div className="mx-auto flex flex-col items-start max-w-screen-sm rounded-lg bg-gray-200 bg-opacity-25 backdrop-blur-xl md:mt-[15rem] p-10">
<span className="bg-clip-text text-transparent bg-gradient-to-r from-pink-500 to-violet-500">
Philosophy
</span>
<span className="text-left text-lg mb-5 text-gray-700">
In today's distracted world, we mistake using 10 software and tools
for productivity.
</span>
<span className="text-left text-lg text-gray-700">
At Nirvana, are bringing remote work back to the basics. Voice first
communication because voice makes us human and less is more. An
experience as if your team was right next to you.
</span>
<></>
</div>
{/* voice line concept */}
<div className="mx-auto flex flex-row items-start justify-between mt-[15rem] pb-20">
<span className="flex flex-col grow max-w-sm rounded-lg bg-gray-200 bg-opacity-25 backdrop-blur-xl p-10">
<span className="bg-clip-text text-transparent bg-gradient-to-r from-pink-500 to-violet-500">
Voice Line
</span>
<span className="text-left text-lg text-gray-700">
More clear and efficient communication.
</span>
<Divider />
<span className="text-left text-md text-gray-600 mt-5">
No more notifications, clicking, scrolling.
</span>
<span className="text-left text-md text-gray-600 mt-5">
Listen to your engineer voice their problem realtime or have an
asynchronous conversation.
</span>
</span>
<TeamVoiceLine />
<Announcements />
</div>
{/* explaining rooms */}
<div className="mx-auto flex flex-row flex-wrap items-start justify-between mt-[15rem]">
<Rooms />
<span className="flex flex-col grow max-w-sm rounded-lg bg-gray-200 bg-opacity-25 backdrop-blur-xl p-10">
<span className="bg-clip-text text-transparent bg-gradient-to-r from-pink-500 to-violet-500">
Rooms
</span>
<span className="text-left text-lg text-gray-700">
See what&apos;s going on across the hall at a glance.
</span>
<Divider />
<span className="text-left text-md text-gray-600 mt-5">
Why go back and forth through chat 100 times or schedule a meeting
tomorrow at 2pm?
</span>
<span className="text-left text-md text-gray-600 mt-5">
Jump into rooms and resolve issues quicker.
</span>
</span>
</div>
{/* action section */}
<div className="flex flex-col items-center mx-auto max-w-screen-sm backdrop-blur-xl rounded-lg p-10">
<span className="text-xl mb-10 font-semibold">
Ready to start working?
</span>
{getStartedButton}
</div>
</div>
</div>
);
}