This commit is contained in:
Andres
2022-06-26 19:08:48 +02:00
parent 3d2935896f
commit 494682354c
16 changed files with 237 additions and 101 deletions

View File

@@ -1,20 +1,16 @@
import React from 'react'
import Header from './Header'
import { HashRouter } from 'react-router-dom'
import { Layout } from './layout/Layout'
import Pages from './Pages'
import {HashRouter} from 'react-router-dom'
function HW5() {
return (
<div>
<HashRouter>
{/*в gh-pages лучше работает HashRouter*/}
<HashRouter>
<Header/>
<Pages/>
</HashRouter>
</div>
<Layout>
<Pages/>
</Layout>
</HashRouter>
)
}