Skip to content

Commit 24b5ce7

Browse files
committed
Add credits and alter indexing info
1 parent 35ea108 commit 24b5ce7

File tree

3 files changed

+21
-3
lines changed

3 files changed

+21
-3
lines changed

public/index.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
5-
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
5+
<link rel="icon" href="%PUBLIC_URL%/favicon.png" />
66
<meta name="viewport" content="width=device-width, initial-scale=1" />
77
<meta name="theme-color" content="#000000" />
88
<meta
99
name="description"
1010
content="Web site created using create-react-app"
1111
/>
12-
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
1312
<!--
1413
manifest.json provides metadata used when your web app is installed on a
1514
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
@@ -24,7 +23,7 @@
2423
work correctly both with client-side routing and a non-root public URL.
2524
Learn how to configure a non-root public URL by running `npm run build`.
2625
-->
27-
<title>React App</title>
26+
<title>Masonry Image Gallery</title>
2827
</head>
2928
<body>
3029
<noscript>You need to enable JavaScript to run this app.</noscript>

src/App.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
import React from 'react';
22
import './App.css';
33
import ImageGallery from "./components/ImageGallery";
4+
import Credits from "./components/Credits";
45

56
function App() {
67
return (
78
<React.Fragment>
89
<ImageGallery />
10+
<Credits />
911
</React.Fragment>
1012
);
1113
}

src/components/Credits.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import React from "react";
2+
import styled from "styled-components";
3+
4+
const Container = styled.div`
5+
margin: 3rem 8rem;
6+
@media only screen and (max-width: 900px) {
7+
margin: .5rem;
8+
}
9+
`;
10+
11+
const Credits = () => (
12+
<Container>
13+
<p><em>Made by <a href="https://ninypops.com" rel="noreferrer" target="_blank">ninypops</a>.</em></p>
14+
</Container>
15+
)
16+
17+
export default Credits;

0 commit comments

Comments
 (0)