File tree Expand file tree Collapse file tree 3 files changed +43
-1
lines changed
Expand file tree Collapse file tree 3 files changed +43
-1
lines changed Original file line number Diff line number Diff line change 11import "./App.css" ;
2+ import Header from "./components/Header/Header" ;
23import DownloadButton from "./components/DownloadButton" ;
34import ProgrammingExpertise from "./components/ProgrammingExpertise" ;
45
56function App ( ) {
67 return (
78 < >
8- < DownloadButton > </ DownloadButton >
9+ < Header />
10+ < DownloadButton />
911 < ProgrammingExpertise />
1012 </ >
1113 ) ;
Original file line number Diff line number Diff line change 1+ nav {
2+ position : fixed;
3+ display : flex;
4+ flex-flow : row;
5+ justify-content : flex-start;
6+ align-items : center;
7+ width : 100% ;
8+ background-color : slategrey;
9+ }
10+ .logo {
11+ flex : 1 ;
12+ margin : auto;
13+ padding : auto;
14+ }
15+ .imagelogo {
16+ border-radius : 100% ;
17+ width : 50px ;
18+ height : 50px ;
19+ }
20+ .name {
21+ flex : 2 ;
22+ }
Original file line number Diff line number Diff line change 1+ import React from 'react'
2+ import './Header.css'
3+ const Header = ( ) => {
4+ return (
5+ < div >
6+ < nav >
7+ < div className = "logo" >
8+ < img className = 'imagelogo' src = "https://logo.clearbit.com/spotify.com" alt = "logo" />
9+ </ div >
10+ < div className = "name" >
11+ < h2 > Name</ h2 >
12+ </ div >
13+ </ nav >
14+ </ div >
15+ )
16+ }
17+
18+ export default Header
You can’t perform that action at this time.
0 commit comments