-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor article content into sep components
- Loading branch information
1 parent
dc0ecd1
commit 0e4c742
Showing
5 changed files
with
94 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import React from "react"; | ||
|
||
const About = () => { | ||
return ( | ||
<> | ||
<h2 className="major">About</h2> | ||
<span className="image main"><img src="/static/images/pic03.jpg" alt="" /></span> | ||
<p>Lorem ipsum dolor sit amet, consectetur et adipiscing elit. Praesent eleifend dignissim arcu, at eleifend sapien imperdiet ac. Aliquam erat volutpat. Praesent urna nisi, fringila lorem et vehicula lacinia quam. Integer sollicitudin mauris nec lorem luctus ultrices. Aliquam libero et malesuada fames ac ante ipsum primis in faucibus. Cras viverra ligula sit amet ex mollis mattis lorem ipsum dolor sit amet.</p> | ||
</> | ||
) | ||
} | ||
|
||
export default About; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
import React from "react"; | ||
import {FontAwesomeIcon} from '@fortawesome/react-fontawesome' | ||
import {faTwitter, faFacebook, faInstagram, faGithub} from '@fortawesome/fontawesome-free-brands'; | ||
|
||
const Contact = () => { | ||
return ( | ||
<> | ||
<h2 className="major">Contact</h2> | ||
<form method="post" action="#"> | ||
<div className="field half first"> | ||
<label htmlFor="name">Name</label> | ||
<input type="text" name="name" id="name" /> | ||
</div> | ||
<div className="field half"> | ||
<label htmlFor="email">Email</label> | ||
<input type="text" name="email" id="email" /> | ||
</div> | ||
<div className="field"> | ||
<label htmlFor="message">Message</label> | ||
<textarea name="message" id="message" rows="4"></textarea> | ||
</div> | ||
<ul className="actions"> | ||
<li><input type="submit" value="Send Message" className="special" /></li> | ||
<li><input type="reset" value="Reset" /></li> | ||
</ul> | ||
</form> | ||
<ul className="icons"> | ||
<li><a href="#"> | ||
<FontAwesomeIcon icon={faTwitter} /> | ||
</a></li> | ||
<li><a href="#"> | ||
<FontAwesomeIcon icon={faFacebook} /> | ||
</a></li> | ||
<li><a href="#"> | ||
<FontAwesomeIcon icon={faInstagram} /> | ||
</a></li> | ||
<li><a href="#"> | ||
<FontAwesomeIcon icon={faGithub} /> | ||
</a></li> | ||
</ul> | ||
</> | ||
) | ||
} | ||
|
||
export default Contact; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import React from "react"; | ||
|
||
const Intro = () => { | ||
return ( | ||
<> | ||
<h2 className="major">Intro</h2> | ||
<span className="image main"><img src="/static/images/pic01.jpg" alt="" /></span> | ||
<p>Aenean ornare velit lacus, ac varius enim ullamcorper eu. Proin aliquam facilisis ante interdum congue. Integer mollis, nisl amet convallis, porttitor magna ullamcorper, amet egestas mauris. Ut magna finibus nisi nec lacinia. Nam maximus erat id euismod egestas. By the way, check out my <a href="#work">awesome work</a>.</p> | ||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis dapibus rutrum facilisis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Etiam tristique libero eu nibh porttitor fermentum. Nullam venenatis erat id vehicula viverra. Nunc ultrices eros ut ultricies condimentum. Mauris risus lacus, blandit sit amet venenatis non, bibendum vitae dolor. Nunc lorem mauris, fringilla in aliquam at, euismod in lectus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. In non lorem sit amet elit placerat maximus. Pellentesque aliquam maximus risus, vel sed vehicula.</p> | ||
</> | ||
) | ||
} | ||
|
||
export default Intro; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import React from "react"; | ||
|
||
const Work = () => { | ||
return ( | ||
<> | ||
<h2 className="major">Work</h2> | ||
<span className="image main"><img src="/static/images/pic02.jpg" alt="" /></span> | ||
<p>Adipiscing magna sed dolor elit. Praesent eleifend dignissim arcu, at eleifend sapien imperdiet ac. Aliquam erat volutpat. Praesent urna nisi, fringila lorem et vehicula lacinia quam. Integer sollicitudin mauris nec lorem luctus ultrices.</p> | ||
<p>Nullam et orci eu lorem consequat tincidunt vivamus et sagittis libero. Mauris aliquet magna magna sed nunc rhoncus pharetra. Pellentesque condimentum sem. In efficitur ligula tate urna. Maecenas laoreet massa vel lacinia pellentesque lorem ipsum dolor. Nullam et orci eu lorem consequat tincidunt. Vivamus et sagittis libero. Mauris aliquet magna magna sed nunc rhoncus amet feugiat tempus.</p> | ||
</> | ||
) | ||
} | ||
|
||
export default Work; |