Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Tunji545

Tunji545/App.js Secret

Created August 13, 2020 13:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Tunji545/f127302f553b51473f5a4190e30342b9 to your computer and use it in GitHub Desktop.
Save Tunji545/f127302f553b51473f5a4190e30342b9 to your computer and use it in GitHub Desktop.
import React from "react";
import bible from "../public/bible.jpg"
import cross from "../public/cross.jpg"
import ing from "../public/ing.jpg"
import olatunji from "../public/olatunji.jpg"
const App = () => {
return (
<div className="contacts">
<div className="contact-card">
<img src={`/${bible}`} alt="bible" />
<h1>Name NumberOne</h1>
<p>Phone No: 09033344422</p>
<p>Email: nameOne@gmail.com</p>
</div>
<div className="contact-card">
<img src={`/${cross}`} alt="bible" />
<h1>Name NumberTwo</h1>
<p>Phone No: 09033344422</p>
<p>Email: nameTwo@gmail.com</p>
</div>
<div className="contact-card">
<img src={`/${ing}`} alt="bible" />
<h1>Name NumberThree</h1>
<p>Phone No: 09033344422</p>
<p>Email: nameThree@gmail.com</p>
</div>
<div className="contact-card">
<img src={`/${olatunji}`} alt="bible" />
<h1>Name NumberFour</h1>
<p>Phone No: 09033344422</p>
<p>Email: nameFour@gmail.com</p>
</div>
</div>
)
}
export default App;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment