Skip to content

Commit f99a6aa

Browse files
finished landing page
1 parent 2848e22 commit f99a6aa

File tree

12 files changed

+99
-21
lines changed

12 files changed

+99
-21
lines changed

components/Sales/Subnav.jsx

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import React, { useState } from 'react';
22
import Link from 'next/link';
33
import { ChevronRightIcon } from '@primer/octicons-react';
4+
import Typeform from '../Sales/drm/base/typeform';
45

56
const Subnav = () => {
67
const [isOpen, setIsOpen] = useState(false);
@@ -18,12 +19,12 @@ const Subnav = () => {
1819
</Link>
1920
</div>
2021
<div className='hidden md:flex px-12 gap-8'>
21-
<Link className='self-end' href='/demo'>
22+
<Link className='self-end' href='https://calendly.com/ricketh/openqdemo'>
2223
<div className='underline rounded-sm text-black text-xl font-semibold py-1 px-3'>Schedule demo</div>
2324
</Link>
24-
<Link className='self-end' href='/waitlist'>
25+
<Typeform>
2526
<div className='bg-[#533AED] rounded-lg text-white text-xl font-semibold p-1 px-5'>Join waitlist</div>
26-
</Link>
27+
</Typeform>
2728
</div>
2829
<div className='md:hidden flex-1 flex justify-end pr-6'>
2930
<button onClick={() => setIsOpen(!isOpen)}>
@@ -61,9 +62,9 @@ const Subnav = () => {
6162
<a href='#' className='text-gray-900 px-3 text-md font-normal pl-6 pb-5'>
6263
Schedule a Demo
6364
</a>
64-
<a href='#' className='text-gray-900 px-3 text-md font-normal pl-6'>
65-
Join waitlist
66-
</a>
65+
<Typeform>
66+
<div className='text-gray-900 justify-self-start px-3 text-md font-normal pl-6'>Join waitlist</div>
67+
</Typeform>
6768
</div>
6869
)}
6970

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import React from 'react';
2+
import { PopupButton } from '@typeform/embed-react';
3+
4+
const Typeform = ({ children }) => {
5+
return (
6+
<PopupButton
7+
id='TzsJCiRT'
8+
style={{
9+
fontSize: 18,
10+
padding: 0,
11+
border: 'transparent',
12+
backgroundColor: 'transparent',
13+
justifyContent: 'left',
14+
}}
15+
>
16+
{children}
17+
</PopupButton>
18+
);
19+
};
20+
21+
export default Typeform;

components/Sales/drm/cta.jsx

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import React from 'react';
22
import Link from 'next/link';
33
import Heading from './base/heading';
44
import Paragraph from './base/paragraph';
5+
import Typeform from './base/typeform';
56

67
const Cta = () => {
78
return (
@@ -14,22 +15,22 @@ const Cta = () => {
1415
<Paragraph className='pt-8 max-w-[48rem]'>
1516
OpenQ is already helping teams just like yours to manage their developer community. Let us help you next.
1617
</Paragraph>
17-
<div className='flex flex-row justify-center items center gap-4 md:gap-x-10 pt-16'>
18-
<Link href='/waitlist'>
19-
<div className='bg-[#533AED] rounded-lg text-white text-xl font-semibold p-2 px-5 whitespace-nowrap'>
18+
<div className='flex flex-col sm:flex-row justify-center items center gap-4 md:gap-x-10 pt-16'>
19+
<Typeform>
20+
<div className='bg-[#533AED] self-start rounded-lg text-white text-lg font-semibold p-2 px-5 w-full whitespace-nowrap'>
2021
Join waitlist
2122
</div>
22-
</Link>
23+
</Typeform>
2324
<div className='flex flex-row space-x-1 items-center'>
2425
<div className='relative inline-block'>
25-
<Link href='/demo'>
26+
<Link href='https://calendly.com/ricketh/openqdemo'>
2627
<div className='underline rounded-sm text-black text-xl font-semibold py-1 px-3 whitespace-nowrap'>
2728
Schedule demo
2829
</div>
2930
</Link>
3031
<span className='absolute bg-white bottom-0 left-0 h-px w-full'></span>
3132
</div>
32-
<div>
33+
<div className='sm:block hidden'>
3334
<svg
3435
xmlns='http://www.w3.org/2000/svg'
3536
fill='none'
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
import React from 'react';
2+
import Image from 'next/image';
23

34
export default function CRMContextTwo() {
45
return (
5-
<div className='max-w-[27rem] h-[17.2rem] border rounded-lg border-gray-500'>
6-
<div className='my-64'></div>
6+
<div className='max-w-[27rem] h-[17.2rem] rounded-lg px-8 flex items-center content-center'>
7+
<div>
8+
<Image width={432} height='100' className='rounded-lg' src='/landingpage/drm/devrel/HubSpotWhine.png' />
9+
</div>
710
</div>
811
);
912
}

components/Sales/drm/elements/org-card.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ const OrgCard = ({ name, link, rounded }) => {
66
<div className='lg:w-60'>
77
<div className='p-2 w-full border border-gray-300 bg-[#FBFBFB] rounded-sm'>
88
<div className='flex flex-row justify-between items-center'>
9-
<div className='flex items-center space-x-3'>
10-
<div className='rounded-full' style={{ width: '20px', height: '20px', position: 'relative' }}>
9+
<div className='flex items-center gap-x-3'>
10+
<div className='rounded-full' style={{ aspectRatio: 1, height: '20px', position: 'relative' }}>
1111
<Image
1212
className={`${rounded ? 'rounded-lg' : ''}`}
1313
src={link}

components/Sales/drm/elements/step-one-content.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const StepOneContent = () => {
4242
};
4343

4444
return (
45-
<div ref={parentRef} className='h-[38rem] min-w-[34rem] max-w-[48rem] sm:border border-gray-300 rounded-md'>
45+
<div ref={parentRef} className='h-[38rem] md:min-w-[34rem] md:max-w-[48rem] sm:border border-gray-300 rounded-md'>
4646
<div className='p-10 w-full'>
4747
<div className='text-gray-800 font-semibold text-lg pb-2'>Add targets</div>
4848
<div className='border border-gray-300 bg-[#F2F2F2] p-2 px-5 w-full rounded-sm'>
@@ -120,7 +120,7 @@ const StepOneContent = () => {
120120
<div className='flex-1 hidden lg:block whitespace-nowrap'>
121121
<OrgCard name={'OpenQDev/OpenQ-Contracts'} link={'/openq-logo.png'} />
122122
</div>
123-
<div className='flex-1 lg:hidden whitespace-nowrap'>
123+
<div className='flex-1 lg:hidden md:whitespace-nowrap'>
124124
<OrgCard name={'OpenQ-Contracts'} link={'/openq-logo.png'} />
125125
</div>
126126
</>

components/animations/MobileAnim.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import React from 'react';
33
const MobileAnim = () => {
44
return (
55
<object
6-
className='object-contain w-full pt-20'
6+
className='object-contain w-full pt-4'
77
data='/mobile-anim.svg'
88
style={{
99
width: '100%', // set the width

next.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ module.exports = () => {
5050
},
5151
images: {
5252
domains: [
53+
'images.prismic.io',
5354
'githubusercontent.com',
5455
'assets.coingecko.com',
5556
'avatars.githubusercontent.com',

package.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
"gen": "node services/ethers/mocks/abiToJavascriptClass.js",
2323
"prepare-mumbai": "mustache constants/config/mumbai.json constants/polygon-mumbai.json.mustache > constants/polygon-mumbai.json && mustache constants/config/mumbai.json constants/polygon-mumbai-tokens.json.mustache > constants/polygon-mumbai-tokens.json",
2424
"prepare-polygon": "mustache constants/config/mainnet.json constants/polygon-mainnet.json.mustache > constants/polygon-mainnet.json && mustache constants/config/mainnet.json constants/polygon-mainnet-tokens.json.mustache > constants/polygon-mainnet-tokens.json",
25-
"prepare": "husky install"
25+
"prepare": "husky install",
26+
"slicemachine": "start-slicemachine"
2627
},
2728
"dependencies": {
2829
"@apollo/client": "3.7.10",
@@ -40,6 +41,10 @@
4041
"@metamask/jazzicon": "2.0.0",
4142
"@next/eslint-plugin-next": "^13.4.12",
4243
"@primer/octicons-react": "18.2.0",
44+
"@typeform/embed-react": "^2.30.0",
45+
"@prismicio/client": "^7.1.0",
46+
"@prismicio/next": "^1.3.3",
47+
"@prismicio/react": "^2.7.1",
4348
"@react-pdf/renderer": "3.1.7",
4449
"@svgr/webpack": "^8.0.1",
4550
"@tailwindcss/container-queries": "0.1.0",
@@ -99,6 +104,7 @@
99104
"devDependencies": {
100105
"@babel/eslint-parser": "7.19.1",
101106
"@babel/preset-react": "7.18.6",
107+
"@slicemachine/adapter-next": "^0.3.8",
102108
"@testing-library/jest-dom": "5.16.5",
103109
"@testing-library/react": "14.0.0",
104110
"@vitest/ui": "^0.29.8",
@@ -112,10 +118,11 @@
112118
"jest-junit": "15.0.0",
113119
"postcss": "8.4.21",
114120
"prettier": "2.8.4",
121+
"slice-machine-ui": "^1.7.0",
115122
"tailwindcss": "3.2.7",
116123
"vitest": "^0.29.8"
117124
},
118125
"jest-junit": {
119126
"addFileAttribute": "true"
120127
}
121-
}
128+
}

public/blog/blog-image.png

2.7 MB
Loading

0 commit comments

Comments
 (0)