File tree Expand file tree Collapse file tree
packages/site/src/app/routes/home Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11@import ' ~rfs/scss' ;
22
33.app-home {
4+ padding : 20px ;
45 position : absolute ;
56 left : 0 ;
67 bottom : 0 ;
1213}
1314
1415.app-home__img {
16+ height : 240px ;
1517 max-width : 100% ;
16- max-height : 240px ;
1718 margin : 60px auto 0 auto ;
1819}
1920
5657 justify-content : space-around ;
5758 padding : 60px 20px ;
5859 color : #fff ;
59- margin : 40px 0 0 0 ;
60+ margin : 40px -20 px -20 px -20 px ;
6061
6162 a {
6263 font : inherit ;
Original file line number Diff line number Diff line change 1+ import { useEffect } from 'react' ;
12import { useTranslation } from 'react-i18next' ;
23import { Link } from 'react-router-dom' ;
34
@@ -9,6 +10,10 @@ import './Home.scss';
910export function Home ( ) {
1011 const { t } = useTranslation ( ) ;
1112
13+ useEffect ( ( ) => {
14+ document . title = 'React DevUI' ;
15+ } , [ ] ) ;
16+
1217 return (
1318 < main className = "app-home" >
1419 < img className = "app-home__img" src = "/assets/imgs/home-logo.svg" alt = "logo" />
You can’t perform that action at this time.
0 commit comments