mirror of
https://github.com/idanoo/GoScrobble
synced 2025-07-03 14:42:18 +00:00
Frontend work
This commit is contained in:
parent
6ab1b13ea3
commit
2fe9516fc2
9 changed files with 968 additions and 27 deletions
23
web/src/Components/Pages/About.js
Normal file
23
web/src/Components/Pages/About.js
Normal file
|
@ -0,0 +1,23 @@
|
|||
import logo from '../../logo.svg';
|
||||
import '../../App.css';
|
||||
|
||||
function About() {
|
||||
return (
|
||||
<div>
|
||||
<img src={logo} className="App-logo" alt="logo" />
|
||||
<p>
|
||||
TEST!!!
|
||||
</p>
|
||||
<a
|
||||
className="App-link"
|
||||
href="https://git.m2.nz/idanoo/go-scrobble"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
TEST@!@@
|
||||
</a>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default About;
|
23
web/src/Components/Pages/Home.js
Normal file
23
web/src/Components/Pages/Home.js
Normal file
|
@ -0,0 +1,23 @@
|
|||
import logo from '../../logo.svg';
|
||||
import '../../App.css';
|
||||
|
||||
function Home() {
|
||||
return (
|
||||
<div className="App-header">
|
||||
<img src={logo} className="App-logo" alt="logo" />
|
||||
<p>
|
||||
goscrobble.com
|
||||
</p>
|
||||
<a
|
||||
className="App-link"
|
||||
href="https://git.m2.nz/idanoo/go-scrobble"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
git.m2.nz/idanoo/go-scrobble
|
||||
</a>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default Home;
|
22
web/src/Components/Pages/Login.js
Normal file
22
web/src/Components/Pages/Login.js
Normal file
|
@ -0,0 +1,22 @@
|
|||
import React from 'react';
|
||||
|
||||
export default function Login() {
|
||||
return(
|
||||
<div className="login-wrapper">
|
||||
<h1>Please Log In</h1>
|
||||
<form>
|
||||
<label>
|
||||
<p>Username</p>
|
||||
<input type="text" />
|
||||
</label>
|
||||
<label>
|
||||
<p>Password</p>
|
||||
<input type="password" />
|
||||
</label>
|
||||
<div>
|
||||
<button type="submit">Submit</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
)
|
||||
}
|
16
web/src/Components/Pages/Navigation.js
Normal file
16
web/src/Components/Pages/Navigation.js
Normal file
|
@ -0,0 +1,16 @@
|
|||
import React from 'react';
|
||||
import { Navbar, NavbarBrand, NavLink } from 'reactstrap';
|
||||
|
||||
const Navigation = () => {
|
||||
return (
|
||||
<div>
|
||||
<Navbar color="dark" dark fixed="top">
|
||||
<NavbarBrand exact href="/" className="mr-auto">GoScrobble</NavbarBrand>
|
||||
<NavLink exact href="/">Home</NavLink>
|
||||
<NavLink href="/about">About</NavLink>
|
||||
</Navbar>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default Navigation;
|
Loading…
Add table
Add a link
Reference in a new issue