Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V2site #28

Open
wants to merge 15 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,15 @@

# production
/build
keys

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local
.env.production

npm-debug.log*
yarn-debug.log*
Expand Down
240 changes: 0 additions & 240 deletions README.md

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions components/Calendar/BookDemo.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import React from "react";
import { PopupWidget } from "react-calendly";

export default function BookDemo({ fullName, email }) {
return (
<PopupWidget
url="https://calendly.com/qualifiedl/intro-meeting"
rootElement={document.getElementById("__next")}
text="Book a meeting"
prefill={{
email: email,
name: fullName
}}
/>
);
};

216 changes: 122 additions & 94 deletions components/Dropdowns/IndexDropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ const IndexDropdown = () => {
setDropdownPopoverShow(true);
};
const closeDropdownPopover = () => {
setDropdownPopoverShow(false);
};
setDropdownPopoverShow(false);
};
return (
<>
<a
Expand All @@ -27,7 +27,7 @@ const IndexDropdown = () => {
dropdownPopoverShow ? closeDropdownPopover() : openDropdownPopover();
}}
>
Demo Pages
EXPLORE QL
</a>
<div
ref={popoverDropdownRef}
Expand All @@ -36,109 +36,137 @@ const IndexDropdown = () => {
"bg-white text-base z-50 float-left py-2 list-none text-left rounded shadow-lg min-w-48"
}
>
<span
className={
"text-sm pt-2 pb-0 px-4 font-bold block w-full whitespace-nowrap bg-transparent text-blueGray-400"
}
>
Admin Layout
</span>
<Link href="/admin/dashboard">
<a
href="#pablo"
className={
"text-sm py-2 px-4 font-normal block w-full whitespace-nowrap bg-transparent text-blueGray-700"
}
>
Dashboard
</a>
</Link>
<Link href="/admin/settings">
<a
href="#pablo"
className={
"text-sm py-2 px-4 font-normal block w-full whitespace-nowrap bg-transparent text-blueGray-700"
}
>
Settings
</a>
</Link>
<Link href="/admin/tables">
<a
href="#pablo"
className={
"text-sm py-2 px-4 font-normal block w-full whitespace-nowrap bg-transparent text-blueGray-700"
}
>
Tables
</a>
</Link>
<Link href="/admin/maps">
<a
href="#pablo"
className={
"text-sm py-2 px-4 font-normal block w-full whitespace-nowrap bg-transparent text-blueGray-700"
}
>
Maps
</a>
</Link>
<div className="h-0 mx-4 my-2 border border-solid border-blueGray-100" />
<span
className={
"text-sm pt-2 pb-0 px-4 font-bold block w-full whitespace-nowrap bg-transparent text-blueGray-400"
}
>
Auth Layout
</span>
<Link href="/auth/login">
<a
href="#pablo"
className={
"text-sm py-2 px-4 font-normal block w-full whitespace-nowrap bg-transparent text-blueGray-700"
}
>
Login
</a>
</Link>
<Link href="/auth/register">
<a
href="#pablo"
className={
"text-sm py-2 px-4 font-normal block w-full whitespace-nowrap bg-transparent text-blueGray-700"
}
>
Register
</a>
</Link>
<div className="h-0 mx-4 my-2 border border-solid border-blueGray-100" />
<span

<span
className={
"text-sm pt-2 pb-0 px-4 font-bold block w-full whitespace-nowrap bg-transparent text-blueGray-400"
}
>
No Layout
Resources
</span>
<Link href="/landing">
<Link legacyBehavior href="/resources/How-to-get-the-most-searched-keywords-on-Google">
<a
href="#pablo"
className={
"text-sm py-2 px-4 font-normal block w-full whitespace-nowrap bg-transparent text-blueGray-700"
}
>
Landing
</a>
</Link>
<Link href="/profile">
<a
href="#pablo"
className={
"text-sm py-2 px-4 font-normal block w-full whitespace-nowrap bg-transparent text-blueGray-700"
}
>
Profile
>
Research Tools
</a>
</Link>

{
// <span
// className={
// "text-sm pt-2 pb-0 px-4 font-bold block w-full whitespace-nowrap bg-transparent text-blueGray-400"
// }
// >
// Admin Layout
// </span>
// <Link legacyBehavior href="/admin/dashboard">
// <a
// href="#pablo"
// className={
// "text-sm py-2 px-4 font-normal block w-full whitespace-nowrap bg-transparent text-blueGray-700"
// }
// >
// Dashboard
// </a>
// </Link>
// <Link legacyBehavior href="/admin/settings">
// <a
// href="#pablo"
// className={
// "text-sm py-2 px-4 font-normal block w-full whitespace-nowrap bg-transparent text-blueGray-700"
// }
// >
// Settings
// </a>
// </Link>
// <Link legacyBehavior href="/admin/tables">
// <a
// href="#pablo"
// className={
// "text-sm py-2 px-4 font-normal block w-full whitespace-nowrap bg-transparent text-blueGray-700"
// }
// >
// Tables
// </a>
// </Link>
// <Link legacyBehavior href="/admin/maps">
// <a
// href="#pablo"
// className={
// "text-sm py-2 px-4 font-normal block w-full whitespace-nowrap bg-transparent text-blueGray-700"
// }
// >
// Maps
// </a>
// </Link>
}




{
//<div className="h-0 mx-4 my-2 border border-solid border-blueGray-100" />
// <span
// className={
// "text-sm pt-2 pb-0 px-4 font-bold block w-full whitespace-nowrap bg-transparent text-blueGray-400"
// }
// >
// Auth Layout
// </span>
// <Link legacyBehavior href="/auth/login">
// <a
// href="#pablo"
// className={
// "text-sm py-2 px-4 font-normal block w-full whitespace-nowrap bg-transparent text-blueGray-700"
// }
// >
// Login
// </a>
// </Link>
// <Link legacyBehavior href="/auth/register">
// <a
// href="#pablo"
// className={
// "text-sm py-2 px-4 font-normal block w-full whitespace-nowrap bg-transparent text-blueGray-700"
// }
// >
// Register
// </a>
// </Link>
// <div className="h-0 mx-4 my-2 border border-solid border-blueGray-100" />
// <span
// className={
// "text-sm pt-2 pb-0 px-4 font-bold block w-full whitespace-nowrap bg-transparent text-blueGray-400"
// }
// >
// No Layout
// </span>
// <Link legacyBehavior href="/landing">
// <a
// href="#pablo"
// className={
// "text-sm py-2 px-4 font-normal block w-full whitespace-nowrap bg-transparent text-blueGray-700"
// }
// >
// Landing
// </a>
// </Link>
// <Link legacyBehavior href="/profile">
// <a
// href="#pablo"
// className={
// "text-sm py-2 px-4 font-normal block w-full whitespace-nowrap bg-transparent text-blueGray-700"
// }
// >
// Profile
// </a>
// </Link>

}
</div>
</>
);
Expand Down
16 changes: 8 additions & 8 deletions components/Dropdowns/PagesDropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const PagesDropdown = () => {
>
Admin Layout
</span>
<Link href="/admin/dashboard">
<Link legacyBehavior href="/admin/dashboard">
<a
href="#pablo"
className={
Expand All @@ -53,7 +53,7 @@ const PagesDropdown = () => {
Dashboard
</a>
</Link>
<Link href="/admin/settings">
<Link legacyBehavior href="/admin/settings">
<a
href="#pablo"
className={
Expand All @@ -63,7 +63,7 @@ const PagesDropdown = () => {
Settings
</a>
</Link>
<Link href="/admin/tables">
<Link legacyBehavior href="/admin/tables">
<a
href="#pablo"
className={
Expand All @@ -73,7 +73,7 @@ const PagesDropdown = () => {
Tables
</a>
</Link>
<Link href="/admin/maps">
<Link legacyBehavior href="/admin/maps">
<a
href="#pablo"
className={
Expand All @@ -91,7 +91,7 @@ const PagesDropdown = () => {
>
Auth Layout
</span>
<Link href="/auth/login">
<Link legacyBehavior href="/auth/login">
<a
href="#pablo"
className={
Expand All @@ -101,7 +101,7 @@ const PagesDropdown = () => {
Login
</a>
</Link>
<Link href="/auth/register">
<Link legacyBehavior href="/auth/register">
<a
href="#pablo"
className={
Expand All @@ -119,7 +119,7 @@ const PagesDropdown = () => {
>
No Layout
</span>
<Link href="/landing">
<Link legacyBehavior href="/landing">
<a
href="#pablo"
className={
Expand All @@ -129,7 +129,7 @@ const PagesDropdown = () => {
Landing
</a>
</Link>
<Link href="/profile">
<Link legacyBehavior href="/profile">
<a
href="#pablo"
className={
Expand Down
Loading