Skip to content

Commit 0976750

Browse files
committed
updates
2 parents 4610216 + 16b3e2c commit 0976750

18 files changed

+443
-19279
lines changed

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# OpenQ-Frontend
2-
1+
# OpenQ-Frontend
2+
33
## Boot Locally
44

55
If the work you are engaged in doesn't require the Fullstack, you can boot just the OpenQ-Frontend by following these instructions. We normally work on the 'staging' branch, so make sure have all latest changes from it and do your Pull Requests to 'staging' unless instructed otherwise.
66

7-
Note: the instructions should work if you are using Mac OS, Linux, but if you are on Windows, make sure to be using (Windows Sublinux System (WSL))[https://learn.microsoft.com/en-us/windows/wsl/install].
7+
Note: the instructions should work if you are using Mac OS, Linux, but if you are on Windows, make sure to be using (Windows Sublinux System (WSL))[https://learn.microsoft.com/en-us/windows/wsl/install].
88

99
### 1 Get the right .env variables
1010

@@ -26,6 +26,13 @@ yarn json-server
2626
### 3 Boot the App
2727

2828
```bash
29+
For Powershell Users:
30+
$env:DEPLOY_ENV = "staging"
31+
32+
yarn next dev
33+
34+
OR
35+
2936
yarn boot:local-targeting-staging
3037
```
3138

components/Sales/drm/devrel-hero.jsx

Lines changed: 23 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,32 @@
11
import React from 'react';
22
import UpperAnim from '../../animations/UpperAnim';
3+
import LeftAnim from '../../animations/LeftAnim';
4+
import RightAnim from '../../animations/rightAnim';
35

46
const DevRelHero = () => {
57
return (
6-
<div className='flex flex-col justify-content-center items-center bg-white'>
7-
<div className='pt-16 pr-96'>
8-
<UpperAnim />
9-
</div>
10-
<div className='flex flex-col justify-center items-center text-center'>
11-
<div className='text-gray-400 text-sm font-normal'>Developer Relationship Management Platform</div>
12-
<div className='text-black text-4xl font-extrabold pt-3 w-[40rem]'>
13-
Supercharge developer relations without manual work.
8+
<div className=' bg-white pt-16'>
9+
<div className='flex flex-row items-center justify-between'>
10+
<div className='mt-48 ml-44'>
11+
<LeftAnim />
12+
</div>
13+
<div className='flex flex-col justify-content-center items-center '>
14+
<div className=''>
15+
<UpperAnim />
16+
</div>
17+
<div className='flex flex-col justify-center items-center text-center'>
18+
<div className='text-gray-400 text-sm font-normal'>Developer Relationship Management Platform</div>
19+
<div className='text-black text-4xl font-extrabold pt-3 w-[40rem]'>
20+
Supercharge developer relations without manual work.
21+
</div>
22+
<div className='text-gray-800 text-lg pt-5 w-[32rem]'>
23+
OpenQ's DRM Platform offers real-time insights into developer activities, tracks project relevance, and
24+
enhances interactions for efficient and informed collaborations. It's time to calculate and validate ROI.
25+
</div>
26+
</div>
1427
</div>
15-
<div className='text-gray-800 text-lg pt-5 w-[32rem]'>
16-
OpenQ's DRM Platform offers real-time insights into developer activities, tracks project relevance, and
17-
enhances interactions for efficient and informed collaborations. It's time to calculate and validate ROI.
28+
<div className='mt-48 mr-44'>
29+
<RightAnim />
1830
</div>
1931
</div>
2032
</div>

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import TableRow from './table-row.jsx';
55
const StepTwoContent = () => {
66
const [tableData, setTableData] = useState(null);
77
const [, setIsVisibleStates] = useState([false, false, false, false, false, false, false]);
8+
89
const parentRef = useRef(null);
910

1011
useEffect(() => {

components/animations/LeftAnim.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { useEffect } from 'react';
33
export default function UpperAnim() {
44
return (
55
<object
6-
data='/left-anim.svg'
6+
data='/left-anim-6.svg'
77
style={{
88
width: '528px', // set the width
99
height: '209px', // set the height

components/animations/RightAnim.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/* eslint-disable */
2+
import { useEffect } from 'react';
3+
export default function RightAnim() {
4+
return (
5+
<object
6+
data='/right-anim-4.svg'
7+
style={{
8+
width: '528px', // set the width
9+
height: '209px', // set the height
10+
}}
11+
/>
12+
);
13+
}

components/animations/UpperAnim.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { useEffect } from 'react';
33
export default function UpperAnim() {
44
return (
55
<object
6-
data='/original-infite-2.svg'
6+
data='/upper-anim-2.svg'
77
style={{
88
width: '528px', // set the width
99
height: '209px', // set the height

public/left-animation.svg renamed to public/left-anim-2.svg

Lines changed: 8 additions & 8 deletions
Loading

public/left-anim-3.svg

Lines changed: 32 additions & 0 deletions
Loading

public/left-anim-4.svg

Lines changed: 32 additions & 0 deletions
Loading

public/left-anim-5.svg

Lines changed: 32 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)