Skip to content

Commit

Permalink
+ Add Title
Browse files Browse the repository at this point in the history
 + Add Favicon

Relates #8
  • Loading branch information
maxgerber committed Dec 6, 2018
1 parent 90aaa42 commit 1e950f2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
Binary file added client/public/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions client/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico" />
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.png" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
Expand All @@ -26,7 +26,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
<title>Gaza Talent</title>
</head>
<body>
<noscript> You need to enable JavaScript to run this app. </noscript>
Expand Down
5 changes: 5 additions & 0 deletions client/src/pages/Home.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ const HomeContainer = styled.section.attrs({
className: "black w-90 db center"
})``;

const HomeTitle = styled.h1.attrs({
className: "f1 ttu mid-gray tc"
})``;

const ListingItemList = styled.ul.attrs({
className: "ph0"
})``;
Expand Down Expand Up @@ -105,6 +109,7 @@ const Home = ({ listings }) => {

return (
<HomeContainer>
<HomeTitle>Gaza Talent</HomeTitle>
<ListingItemList>
{r.map(listing => (
<ListingItem key={listing.id}>
Expand Down

0 comments on commit 1e950f2

Please sign in to comment.