forked from PlatziMaster/frontend
-
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.
- Loading branch information
1 parent
a9d42a0
commit 7ec7c64
Showing
15 changed files
with
33,142 additions
and
10 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,5 +1,8 @@ | ||
import { configure } from 'enzyme'; | ||
import Adapter from 'enzyme-adapter-react-16'; | ||
|
||
import 'core-js/stable'; | ||
import 'regenerator-runtime/runtime'; | ||
|
||
configure({ adapter: new Adapter() }); | ||
global.fetch = require('jest-fetch-mock'); |
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,17 @@ | ||
import React from 'react'; | ||
|
||
const About = () => ( | ||
<> | ||
<section className='About'> | ||
<h3 className='About-title'>About</h3> | ||
<p>Description</p> | ||
<ul> | ||
<li className='About-item'>Item</li> | ||
<li className='About-item'>Item</li> | ||
<li className='About-item'>Item</li> | ||
</ul> | ||
</section> | ||
</> | ||
); | ||
|
||
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,21 @@ | ||
import React from 'react'; | ||
|
||
const Academic = () => ( | ||
<section className='Academic Card'> | ||
<h1 className='Academic-title'>Estudios</h1> | ||
<article className='Academic-item'> | ||
<h3>School name</h3> | ||
<p>date</p> | ||
</article> | ||
<article className='Academic-item'> | ||
<h3>School name</h3> | ||
<p>date</p> | ||
</article> | ||
<article className='Academic-item'> | ||
<h3>School name</h3> | ||
<p>date</p> | ||
</article> | ||
</section> | ||
); | ||
|
||
export default Academic; |
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,9 @@ | ||
import React from 'react'; | ||
|
||
const ColumnFlex = ({ children }) => ( | ||
<div className='Column-2'> | ||
{ children } | ||
</div> | ||
); | ||
|
||
export default ColumnFlex; |
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,9 @@ | ||
import React from 'react'; | ||
|
||
const Container = ({ children }) => ( | ||
<div className='Container'> | ||
{ children } | ||
</div> | ||
); | ||
|
||
export default Container; |
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,24 @@ | ||
import React from 'react'; | ||
|
||
const Experience = () => ( | ||
<section className='Experience Card'> | ||
<h1 className='Experience-title'>Experience</h1> | ||
<article className='Experience-item'> | ||
<h3>Job</h3> | ||
<p>Date</p> | ||
<p>description</p> | ||
</article> | ||
<article className='Experience-item'> | ||
<h3>Job</h3> | ||
<p>Date</p> | ||
<p>description</p> | ||
</article> | ||
<article className='Experience-item'> | ||
<h3>Job</h3> | ||
<p>Date</p> | ||
<p>description</p> | ||
</article> | ||
</section> | ||
); | ||
|
||
export default Experience; |
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,29 @@ | ||
import React from 'react'; | ||
import Container from './Container'; | ||
|
||
const Header = ({ children }) => ( | ||
<section className='Header'> | ||
<Container> | ||
<div className='Header-flex'> | ||
<img | ||
src='https://avatars.githubusercontent.com/u/2994011?v=4' | ||
alt='raulfbgomez' | ||
/> | ||
<div className='Header-info'> | ||
<h1 className='Header-title'>Raúl Bautista Gómez</h1> | ||
<h2 className='Header-job-title'>Web Developer</h2> | ||
<div className='Header-flex'> | ||
<p className='Header-phone'>phone</p> | ||
<p className='Header-email'>email</p> | ||
<p className='Header-website'>website</p> | ||
</div> | ||
<p className='Header-website'>Address</p> | ||
{ children } | ||
</div> | ||
|
||
</div> | ||
</Container> | ||
</section> | ||
); | ||
|
||
export default Header; |
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 Interest = () => ( | ||
<section className='Interest Card'> | ||
<h1 className='Interest-title'>Interest</h1> | ||
<ul> | ||
<li className='Interest-item'>Interest</li> | ||
<li className='Interest-item'>Interest</li> | ||
<li className='Interest-item'>Interest</li> | ||
</ul> | ||
</section> | ||
); | ||
|
||
export default Interest; |
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 Languages = () => ( | ||
<section className='Languajes Card'> | ||
<h1 className='Languages-title'>Languages</h1> | ||
<ul> | ||
<li className='Languages-item'>language</li> | ||
<li className='Languages-item'>language</li> | ||
<li className='Languages-item'>language</li> | ||
</ul> | ||
</section> | ||
); | ||
|
||
export default Languages; |
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,10 @@ | ||
import React from 'react'; | ||
|
||
const Profile = () => ( | ||
<article className='Profile Card'> | ||
<h1 className='Profile-title'>Profile</h1> | ||
<p className='Profile-desc'>Description</p> | ||
</article> | ||
); | ||
|
||
export default Profile; |
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 Skills = () => ( | ||
<section className='Skills Card'> | ||
<h1 className='Skills-title'>Skills</h1> | ||
<ul> | ||
<li className='Skills-item'>skill</li> | ||
<li className='Skills-item'>skill</li> | ||
<li className='Skills-item'>skill</li> | ||
</ul> | ||
</section> | ||
); | ||
|
||
export default Skills; |
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 @@ | ||
const getData = async (url) => { | ||
try { | ||
const response = await fetch(url); | ||
const data = await response.json(); | ||
return data; | ||
|
||
} catch (err) { | ||
console.log(err); | ||
return {}; | ||
} | ||
}; | ||
|
||
export default getData; |