Compare commits
2 Commits
4496406eac
...
568f1efa2f
| Author | SHA1 | Date | |
|---|---|---|---|
| 568f1efa2f | |||
| 9a245f2d08 |
BIN
public/images/7.jpg
Normal file
BIN
public/images/7.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.1 MiB |
@ -1,12 +1,12 @@
|
||||
import "@fontsource/open-sans";
|
||||
import './App.scss';
|
||||
import Portfolio from "./sections/Portfolio";
|
||||
import Header from "./sections/Header";
|
||||
import PhotoHeader from "./sections/headers/PhotoHeader";
|
||||
|
||||
const App = () => {
|
||||
return (
|
||||
<div>
|
||||
<Header />
|
||||
<PhotoHeader />
|
||||
<Portfolio />
|
||||
</div>
|
||||
);
|
||||
|
||||
@ -29,6 +29,16 @@ const images = [{
|
||||
id: 5,
|
||||
imagePath: 'images/5.jpg',
|
||||
thumbPath: 'images/5.jpg'
|
||||
},
|
||||
// {
|
||||
// id: 6,
|
||||
// imagePath: 'images/6.jpg',
|
||||
// thumbPath: 'images/6.jpg'
|
||||
// },
|
||||
{
|
||||
id: 7,
|
||||
imagePath: 'images/7.jpg',
|
||||
thumbPath: 'images/7.jpg'
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import SiteLogo from "../elements/SiteLogo";
|
||||
import SiteLogo from "../../elements/SiteLogo";
|
||||
import './Header.scss';
|
||||
|
||||
const Header = () => {
|
||||
12
src/sections/headers/PhotoHeader.jsx
Normal file
12
src/sections/headers/PhotoHeader.jsx
Normal file
@ -0,0 +1,12 @@
|
||||
import Header from "./Header";
|
||||
import './PhotoHeader.scss';
|
||||
|
||||
const PhotoHeader = () => {
|
||||
return(
|
||||
<div className='photo-header-container'>
|
||||
<Header />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default PhotoHeader;
|
||||
6
src/sections/headers/PhotoHeader.scss
Normal file
6
src/sections/headers/PhotoHeader.scss
Normal file
@ -0,0 +1,6 @@
|
||||
.photo-header-container {
|
||||
background-image: url('../../../public/images/7.jpg');
|
||||
background-position: center center;
|
||||
background-size: cover;
|
||||
height: 100vh;
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user