File tree Expand file tree Collapse file tree 3 files changed +21
-3
lines changed Expand file tree Collapse file tree 3 files changed +21
-3
lines changed Original file line number Diff line number Diff line change 2
2
< html lang ="en ">
3
3
< head >
4
4
< meta charset ="utf-8 " />
5
- < link rel ="icon " href ="%PUBLIC_URL%/favicon.ico " />
5
+ < link rel ="icon " href ="%PUBLIC_URL%/favicon.png " />
6
6
< meta name ="viewport " content ="width=device-width, initial-scale=1 " />
7
7
< meta name ="theme-color " content ="#000000 " />
8
8
< meta
9
9
name ="description "
10
10
content ="Web site created using create-react-app "
11
11
/>
12
- < link rel ="apple-touch-icon " href ="%PUBLIC_URL%/logo192.png " />
13
12
<!--
14
13
manifest.json provides metadata used when your web app is installed on a
15
14
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
24
23
work correctly both with client-side routing and a non-root public URL.
25
24
Learn how to configure a non-root public URL by running `npm run build`.
26
25
-->
27
- < title > React App </ title >
26
+ < title > Masonry Image Gallery </ title >
28
27
</ head >
29
28
< body >
30
29
< noscript > You need to enable JavaScript to run this app.</ noscript >
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import './App.css' ;
3
3
import ImageGallery from "./components/ImageGallery" ;
4
+ import Credits from "./components/Credits" ;
4
5
5
6
function App ( ) {
6
7
return (
7
8
< React . Fragment >
8
9
< ImageGallery />
10
+ < Credits />
9
11
</ React . Fragment >
10
12
) ;
11
13
}
Original file line number Diff line number Diff line change
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 ;
You can’t perform that action at this time.
0 commit comments