From e706e65318f760d9f0602a08f1badb67d77e5fb1 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sat, 30 Nov 2019 12:40:35 -0500 Subject: Switching to NextJS --- components/Footer.js | 34 +++++++++++++++++++ components/Header.js | 57 +++++++++++++++++++++++++++++++ components/Layout.js | 35 +++++++++++++++++++ components/Navbar.js | 93 +++++++++++++++++++++++++++++++++++++++++++++++++++ components/Scripts.js | 32 ++++++++++++++++++ 5 files changed, 251 insertions(+) create mode 100644 components/Footer.js create mode 100644 components/Header.js create mode 100644 components/Layout.js create mode 100644 components/Navbar.js create mode 100644 components/Scripts.js (limited to 'components') diff --git a/components/Footer.js b/components/Footer.js new file mode 100644 index 0000000..3e925f2 --- /dev/null +++ b/components/Footer.js @@ -0,0 +1,34 @@ +/* + Alee Productions Website: Website for Alee Productions + Copyright (C) 2019 Alee + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +*/ + +const Footer = () => ( +
+
+
© Copyright 2016-2019, Alee Productions. Licensed with GPL-3.0 and view credits to see how this website is built.
+
+
+ Please note that this website is under active development and bugs may occur.
If there's any, report it to the GitHub repo. + +
+
+) + +export default Footer; \ No newline at end of file diff --git a/components/Header.js b/components/Header.js new file mode 100644 index 0000000..3135bba --- /dev/null +++ b/components/Header.js @@ -0,0 +1,57 @@ +/* + Alee Productions Website: Website for Alee Productions + Copyright (C) 2019 Alee + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + +import Head from 'next/head'; + +const Header = () => ( + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Alee Productions + + +) + +export default Header; \ No newline at end of file diff --git a/components/Layout.js b/components/Layout.js new file mode 100644 index 0000000..eea95a3 --- /dev/null +++ b/components/Layout.js @@ -0,0 +1,35 @@ +/* + Alee Productions Website: Website for Alee Productions + Copyright (C) 2019 Alee + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +*/ + +import Navbar from './Navbar'; +import Header from './Header'; +import Scripts from './Scripts'; +import Footer from './Footer'; + +const Layout = (props) => ( +
+
+ + {props.children} + +
+
+); + +export default Layout; \ No newline at end of file diff --git a/components/Navbar.js b/components/Navbar.js new file mode 100644 index 0000000..4ce4e3e --- /dev/null +++ b/components/Navbar.js @@ -0,0 +1,93 @@ +/* + Alee Productions Website: Website for Alee Productions + Copyright (C) 2019 Alee + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +*/ + +import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' +import { faGithub } from '@fortawesome/free-brands-svg-icons' + +const Navbar = () => ( + +) + +export default Navbar; \ No newline at end of file diff --git a/components/Scripts.js b/components/Scripts.js new file mode 100644 index 0000000..99b26b8 --- /dev/null +++ b/components/Scripts.js @@ -0,0 +1,32 @@ +/* + Alee Productions Website: Website for Alee Productions + Copyright (C) 2019 Alee + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +*/ + +const Scripts = () => ( +
+ + + + + + + +
+); + +export default Scripts; \ No newline at end of file -- cgit v1.2.3