init
This commit is contained in:
parent
f03caa7d85
commit
814a189b49
20 changed files with 351 additions and 101 deletions
25
src/components/Home.jsx
Normal file
25
src/components/Home.jsx
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
import React from 'react';
|
||||
import '../css/home.css';
|
||||
|
||||
export default () => {
|
||||
return (
|
||||
<div className="d-flex h-100 text-center text-white" id="masthead">
|
||||
<div className="cover-container d-flex w-100 h-100 p-3 mx-auto flex-column align-items-center justify-content-center">
|
||||
<main>
|
||||
<h1 className="up arrow">
|
||||
^
|
||||
</h1>
|
||||
<h1>
|
||||
oitsjustjose's mods
|
||||
</h1>
|
||||
<h2>
|
||||
A Wiki for Mods
|
||||
</h2>
|
||||
<h5>
|
||||
Made with Bootstrap 5 and React
|
||||
</h5>
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
9
src/components/mods/Geolosys.jsx
Normal file
9
src/components/mods/Geolosys.jsx
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import React from 'react';
|
||||
|
||||
export default () => {
|
||||
return (
|
||||
<h2>
|
||||
Incomplete, but hello from Geolosys!
|
||||
</h2>
|
||||
)
|
||||
}
|
||||
7
src/components/mods/Natural Progressions.jsx
Normal file
7
src/components/mods/Natural Progressions.jsx
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import React from 'react';
|
||||
|
||||
export default () => {
|
||||
return (
|
||||
<h2>Hello from NP</h2>
|
||||
)
|
||||
}
|
||||
8
src/components/mods/Persistent Bits.jsx
Normal file
8
src/components/mods/Persistent Bits.jsx
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
|
||||
import React from 'react';
|
||||
|
||||
export default () => {
|
||||
return (
|
||||
<h2>Hello from PB</h2>
|
||||
)
|
||||
}
|
||||
7
src/components/mods/Pulver.jsx
Normal file
7
src/components/mods/Pulver.jsx
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import React from 'react';
|
||||
|
||||
export default () => {
|
||||
return (
|
||||
<h2>Hello from Pulver</h2>
|
||||
)
|
||||
}
|
||||
7
src/components/mods/Tinkers Addons.jsx
Normal file
7
src/components/mods/Tinkers Addons.jsx
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import React from 'react';
|
||||
|
||||
export default () => {
|
||||
return (
|
||||
<h2>Hello from TA</h2>
|
||||
)
|
||||
}
|
||||
7
src/components/mods/V-Tweaks.jsx
Normal file
7
src/components/mods/V-Tweaks.jsx
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import React from 'react';
|
||||
|
||||
export default () => {
|
||||
return (
|
||||
<h2>Hello from VT</h2>
|
||||
)
|
||||
}
|
||||
19
src/components/nav/NavItem.jsx
Normal file
19
src/components/nav/NavItem.jsx
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
||||
import React from 'react';
|
||||
import { NavLink } from 'react-router-dom';
|
||||
|
||||
export default class NavItem extends React.Component {
|
||||
render() {
|
||||
return (
|
||||
<li className="nav-item">
|
||||
<NavLink exact className="nav-link" activeClassName="nav-link active" to={this.props.to}>
|
||||
<span>
|
||||
{this.props.icon == null ? '' : <FontAwesomeIcon icon={this.props.icon} /> }
|
||||
|
||||
{this.props.name}
|
||||
</span>
|
||||
</NavLink>
|
||||
</li>
|
||||
);
|
||||
}
|
||||
}
|
||||
31
src/components/nav/Navbar.jsx
Normal file
31
src/components/nav/Navbar.jsx
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
import { } from 'bootstrap/dist/css/bootstrap.css';
|
||||
import React from 'react';
|
||||
import NavItem from './NavItem';
|
||||
import { faHome } from '@fortawesome/free-solid-svg-icons';
|
||||
|
||||
export default () => {
|
||||
return (
|
||||
<nav className="navbar navbar-expand-xl fixed-top navbar-dark bg-dark">
|
||||
<div className="container-fluid">
|
||||
<a href="/" className="navbar-brand">
|
||||
<img src="/me.png" width="30" height="30" alt="" loading="lazy" />
|
||||
</a>
|
||||
<button className="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
|
||||
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span className="navbar-toggler-icon" />
|
||||
</button>
|
||||
<div className="navbar-collapse" id="navbarSupportedContent">
|
||||
<ul className="navbar-nav mr-auto mb-2 mb-lg-0">
|
||||
<NavItem to="/" name="Home" icon={faHome} />
|
||||
<NavItem to="/Geolosys/" name="Geolosys" icon={null} />
|
||||
<NavItem to="/VTweaks/" name="V-Tweaks" icon={null} />
|
||||
<NavItem to="/PersistentBits/" name="Persistent Bits" icon={null} />
|
||||
<NavItem to="/NaturalProgressions/" name="Natural Progressions" icon={null} />
|
||||
<NavItem to="/TinkersAddons/" name="Tinkers' Addons" icon={null} />
|
||||
<NavItem to="/Pulver/" name="Pulver" icon={null} />
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
);
|
||||
};
|
||||
Loading…
Reference in a new issue