mirror of
https://github.com/Noratrieb/hugos-lieblingsflugzeuge.git
synced 2026-01-16 20:55:05 +01:00
plane hugo
This commit is contained in:
parent
ec7929a9ba
commit
ea8fe969a4
7 changed files with 190 additions and 131 deletions
11
src/App.js
11
src/App.js
|
|
@ -1,13 +1,12 @@
|
|||
import React from 'react';
|
||||
import React, {Component} from "react";
|
||||
import {
|
||||
Route, NavLink, HashRouter
|
||||
} from 'react-router-dom'
|
||||
import './app.css';
|
||||
import './template.css'
|
||||
import Modern from "./Militaer";
|
||||
import Home from "./Home";
|
||||
|
||||
class App extends React.Component {
|
||||
class App extends Component {
|
||||
render() {
|
||||
return (
|
||||
<HashRouter>
|
||||
|
|
@ -29,7 +28,7 @@ class App extends React.Component {
|
|||
|
||||
export default App;
|
||||
|
||||
class Navigation extends React.Component {
|
||||
class Navigation extends Component {
|
||||
render() {
|
||||
return (
|
||||
<nav>
|
||||
|
|
@ -78,11 +77,11 @@ class Navigation extends React.Component {
|
|||
}
|
||||
}
|
||||
|
||||
class Footer extends React.Component {
|
||||
class Footer extends Component {
|
||||
render() {
|
||||
return (
|
||||
<footer>
|
||||
<div>hi</div>
|
||||
<div>© Hugo</div>
|
||||
</footer>
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue