Skip to content

Commit f9c0788

Browse files
committed
initial commit
1 parent 1b0010d commit f9c0788

File tree

9 files changed

+1031
-11660
lines changed

9 files changed

+1031
-11660
lines changed

Diff for: .gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,7 @@ dist
2020
npm-debug.log*
2121
yarn-debug.log*
2222
yarn-error.log*
23+
24+
.yarn
25+
.yarnrc.yml
26+
example/.yarn

Diff for: example/src/App.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import {
66
ProgressBar,
77
ComplexComponent,
88
PortfolioHome,
9-
TeamMembers
10-
9+
TeamMembers,
10+
ContactUs
1111

1212

1313
} from 'dezenix-react'
@@ -20,6 +20,7 @@ import {members} from "./data/members.json"
2020

2121

2222

23+
2324
const App = () => {
2425
return (
2526
<HashRouter>
@@ -45,7 +46,7 @@ const App = () => {
4546
<Route path='/complex' element={<ComplexComponent />} />
4647
<Route path='/portfoliohome' element={<PortfolioHome pic={img1} />} />
4748
<Route path='/team' element={<TeamMembers img={user} members={members} />} />
48-
49+
<Route path='/contactus' element={<ContactUs />} />
4950
</Routes>
5051
</HashRouter>
5152
)

Diff for: example/src/components/Home.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ const Home = () => {
3737
<Link to='/team' className='component'>
3838
<h2>Team members</h2>
3939
</Link>
40-
40+
<Link to='/contactus' className='component'>
41+
<h2>Contact Us</h2>
42+
</Link>
4143
</div>
4244
</div>
4345
</div>

Diff for: example/yarn.lock

+746-11,600
Large diffs are not rendered by default.

Diff for: package-lock.json

+79-55
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,6 @@
6161
"dependencies": {
6262
"react-icons": "^4.3.1",
6363
"styled-components": "^5.3.3"
64-
}
64+
},
65+
"packageManager": "[email protected]"
6566
}

Diff for: src/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ export { default as ProgressBar } from './lib-components/progress_bar'
55
export { default as ComplexComponent } from './lib-components/complexComponent'
66
export { default as PortfolioHome } from './lib-components/portfolio_home'
77
export { default as TeamMembers } from './lib-components/team_members'
8+
export { default as ContactUs} from './lib-components/contact_us'

Diff for: src/lib-components/contact_us/index.js

+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
import React from "react";
2+
import { FaPaperPlane } from "react-icons/fa";
3+
import styles from "./index.module.css";
4+
const ContactUs = () => {
5+
return (
6+
<div className={styles.contact}>
7+
<h1 className={styles["section-header"]}>Contact Us</h1>
8+
9+
<div className={styles["contact-wrapper"]}>
10+
<form
11+
id={styles["contact-form"]}
12+
className={styles["form-horizontal"]}
13+
role="form"
14+
>
15+
<input
16+
type="text"
17+
id="name"
18+
placeholder="NAME"
19+
name="name"
20+
required
21+
/>
22+
23+
<input
24+
type="email"
25+
id="email"
26+
placeholder="EMAIL"
27+
name="email"
28+
required
29+
/>
30+
31+
<textarea
32+
rows="10"
33+
placeholder="MESSAGE"
34+
name="message"
35+
required
36+
></textarea>
37+
38+
<button
39+
className={styles["send-button"]}
40+
id="submit"
41+
type="submit"
42+
value="SEND"
43+
>
44+
<div className={styles["alt-send-button"]}>
45+
<FaPaperPlane color= "#fff"/>
46+
47+
<span className={styles["send-text"]}>SEND</span>
48+
</div>
49+
</button>
50+
</form>
51+
</div>
52+
</div>
53+
);
54+
};
55+
56+
export default ContactUs;

0 commit comments

Comments
 (0)