diff options
| -rw-r--r-- | components/Layout.js | 4 | ||||
| -rw-r--r-- | components/Navbar.js | 79 | ||||
| -rw-r--r-- | pages/404.js | 16 | ||||
| -rw-r--r-- | pages/about.js | 79 | ||||
| -rw-r--r-- | pages/blog.js | 34 | ||||
| -rw-r--r-- | pages/index.js | 63 | ||||
| -rw-r--r-- | pages/projects/alee-audio-player.js | 37 | ||||
| -rw-r--r-- | pages/projects/index.js | 126 | ||||
| -rw-r--r-- | pages/projects/quantumnet.ejs | 21 |
9 files changed, 56 insertions, 403 deletions
diff --git a/components/Layout.js b/components/Layout.js index 2d49a1f..107b1c2 100644 --- a/components/Layout.js +++ b/components/Layout.js @@ -17,18 +17,14 @@ */ -import Navbar from "./Navbar"; import Header from "./Header"; import Scripts from "./Scripts"; -import Footer from "./Footer"; const Layout = (props) => ( <div> <Header/> - <Navbar/> {props.children} <Scripts/> - <Footer/> </div> ); diff --git a/components/Navbar.js b/components/Navbar.js deleted file mode 100644 index 4866460..0000000 --- a/components/Navbar.js +++ /dev/null @@ -1,79 +0,0 @@ -/* - 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 <https://www.gnu.org/licenses/>. - -*/ - -const Navbar = () => ( - <nav className="navbar navbar-expand-lg navbar-dark bg-dark"> - <a className="navbar-brand" href="/"> - <img src="/assets/img/ALP.png" height="30" className="d-inline-block align-top" alt="ALP Logo"/> - Alee Productions</a> - <button className="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" - aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation"> - <span className="navbar-toggler-icon"/> - </button> - <div className="collapse navbar-collapse" id="navbarNav"> - <ul className="navbar-nav mr-auto"> - <li className="nav-item"> - <a className="nav-link" href="/">Home</a> - </li> - <li className="nav-item"> - <a className="nav-link" href="/projects">Projects</a> - </li> - <li className="nav-item"> - <a className="nav-link" href="/tos">ToS</a> - </li> - <li className="nav-item"> - <a className="nav-link" href="/blog">Blog</a> - </li> - <li className="nav-item"> - <a className="nav-link" href="/about">About</a> - </li> - </ul> - {/* Task: Fix here */} - <ul className="navbar-nav"> - <li className="nav-item"> - <a className="nav-link" href="https://github.com/aleeproductions"> - <i className="fab fa-github"/> GitHub - </a> - </li> - <li className="nav-item"> - <a className="nav-link" href="https://discord.gg/EFhRDqG"> - <i className="fab fa-discord"/> Discord - </a> - </li> - <li className="nav-item"> - <a className="nav-link" href="https://www.reddit.com/r/aleeproductions/"> - <i className="fab fa-reddit"/> Reddit - </a> - </li> - <li className="nav-item"> - <a className="nav-link" href="https://twitter.com/aleeproductions"> - <i className="fab fa-twitter"/> Twitter - </a> - </li> - <li className="nav-item"> - <a className="nav-link" href="https://www.youtube.com/channel/UC9CIwdleH3m_PV35QqULWzA"> - <i className="fab fa-youtube"/> YouTube - </a> - </li> - </ul> - </div> - </nav> -); - -export default Navbar;
\ No newline at end of file diff --git a/pages/404.js b/pages/404.js index f283a5d..e47d804 100644 --- a/pages/404.js +++ b/pages/404.js @@ -22,22 +22,10 @@ import Layout from "../components/Layout"; const Custom404 = () => ( <Layout> <div class="text-center mt-3"> - <h1>404 - Not Found</h1> - <h2 id="404message"></h2> - <h3>Return to <a href="/" className="green-text">homepage</a>?</h3> + <h1>404 Not Found</h1> + <a href="/">Back home</a> </div> </Layout> ); -function randomtext() { - let randomtxt = [ - 'Oops, seems like that page isn\'t found!', - 'You seem to be lost!', - 'Uh oh, that page isn\'t found in our servers!', - 'Seems like you landed on this page...' - ]; - return randomtxt[Math.floor((Math.random() * 4.00))]; -} - -document.getElementById("404message").innerHTML = randomtext(); export default Custom404 diff --git a/pages/about.js b/pages/about.js deleted file mode 100644 index 1c18193..0000000 --- a/pages/about.js +++ /dev/null @@ -1,79 +0,0 @@ -/* - Alee Productions Website: Website for Alee Productions - Copyright (C) 2020 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 <https://www.gnu.org/licenses/>. - -*/ - -import Layout from "../components/Layout"; - -const About = () => ( - <Layout> - <div> - <div className="jumbotron special-color bounceIn white-text"> - <h2 className="display-4">About</h2> - <p className="lead">Alee Productions is a software and video production company, founded by Andrew Lee.</p> - - </div> - <div className="container"> - <h1>History</h1> - <p>Alee Productions started in 2017 under the name of AleeCorp. It used to make just software but over - time it started branching to other things like making games and videos. - In late 2018, AleeCorp merged with Universe and some project merged but due to a community conflict - during - October in that year, Universe and AleeCorp splited. In 2019 however, AleeCorp got renamed to Alee - Productions - just to make the company more professional.</p> - <h1>FAQ</h1> - <ul className="none"> - <h4> - <li>Q: Why did you create Alee Productions?</li> - <li>A: Reason why I want to create this is because I want to make my own things as a passion - also - sharing - it to the public and to make it as a career. - </li> - <br/> - <li>Q: Why the name "Alee Productions?"</li> - <li>A: As you know my name is Andrew Lee and my name starts with an "A" and combine it with - "Lee" you get "Alee". :) - </li> - </h4> - </ul> - <h1>Our Teams</h1> - <div className="card text-white success-color-dark mb-3" style={{maxWidth: "20rem"}}> - <div className="card-body"> - <h5 className="card-title">Discord</h5> - <p className="card-text text-white"> - <ul> - <li>Travis#1777 (Admin)</li> - <li>jtsshieh#6424 (Admin)</li> - <li>The Pixel Polygon#2069 (Admin)</li> - <li>Inkydink#9098 (Moderator)</li> - </ul> - </p> - </div> - </div> - <div id="credits"> - <h1>Credits</h1> - <p>This website is powered by <a href="https://nextjs.org">Next.js</a>, <a href="https://netlify.com">Netlify</a> and <a href="https://mdbootstrap.com">Material Design Bootstrap.</a></p> - <p>This website is open source. Contribute <a href="https://github.com/aleeproductions/website">here.</a></p> - </div> - </div> - </div> - </Layout> -); - -export default About;
\ No newline at end of file diff --git a/pages/blog.js b/pages/blog.js deleted file mode 100644 index 0703b3d..0000000 --- a/pages/blog.js +++ /dev/null @@ -1,34 +0,0 @@ -/* - 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 <https://www.gnu.org/licenses/>. - -*/ - -import Layout from "../components/Layout"; - -const Blog = () => ( - <Layout> - <div className="jumbotron special-color bounceIn white-text"> - <h2 className="display-4">Blog</h2> - <p className="lead">Updates on products, this website, etc.</p> - </div> - <div className="container"> - <h1 className="text-center mt-5">Notice: We are currently working on this page</h1> - </div> - </Layout> -); - -export default Blog;
\ No newline at end of file diff --git a/pages/index.js b/pages/index.js index 378cf8c..ec8a49f 100644 --- a/pages/index.js +++ b/pages/index.js @@ -21,16 +21,61 @@ import Layout from "../components/Layout"; const Index = () => ( <Layout> - <div className="jumbotron special-color bounceIn white-text"> - <h2 className="display-4">Hello! Welcome to Alee Productions.</h2> - <p className="lead">We are a very small productions company.</p> - <div className="my-4"/> - <a className="btn btn-green btn-lg animsition-link" href="/about" role="button">More about us</a> - </div> <div className="container"> - <h1>Hello! Just note that we're reworking on this page!</h1> - - </div> + <h1>Announcement</h1> + <p>We is planning on rewriting the website once again.</p> + <p>Right now the website has been mashed up into one page.</p> + <h1>TOS</h1> + <a href="/tos">Read the ToS here.</a> + <h1>About</h1> + <h1>History</h1> + <p>Alee Productions started in 2017 under the name of AleeCorp. It used to make just software but over + time it started branching to other things like making games and videos. + In late 2018, AleeCorp merged with Universe and some project merged but due to a community conflict + during + October in that year, Universe and AleeCorp splited. In 2019 however, AleeCorp got renamed to Alee + Productions + just to make the company more professional.</p> + <h1>FAQ</h1> + <ul className="none"> + <h4> + <li>Q: Why did you create Alee Productions?</li> + <li>A: Reason why I want to create this is because I want to make my own things as a passion + also + sharing + it to the public and to make it as a career. + </li> + <br/> + <li>Q: Why the name "Alee Productions?"</li> + <li>A: As you know my name is Andrew Lee and my name starts with an "A" and combine it with + "Lee" you get "Alee". :) + </li> + </h4> + </ul> + <h1>Our Teams</h1> + <div className="card text-white success-color-dark mb-3" style={{maxWidth: "20rem"}}> + <div className="card-body"> + <h5 className="card-title">Discord</h5> + <p className="card-text text-white"> + <ul> + <li>Travis#1777 (Admin)</li> + <li>jtsshieh#6424 (Admin)</li> + <li>The Pixel Polygon#2069 (Admin)</li> + <li>Inkydink#9098 (Moderator)</li> + </ul> + </p> + </div> + </div> + <div id="credits"> + <h1>Credits</h1> + <p>This website is powered by <a href="https://nextjs.org">Next.js</a>, <a href="https://netlify.com">Netlify</a> and <a href="https://mdbootstrap.com">Material Design Bootstrap.</a></p> + <p>This website is open source. Contribute <a href="https://github.com/aleeproductions/website">here.</a></p> + </div> + </div> + <div className="footer-copyright text-center py-3"> + © Copyright 2017-2020, Alee Productions. Licensed with <a href="https://www.gnu.org/licenses/gpl-3.0.en.html">GPL-3.0</a>. + View the <a href="#credits">credits</a> to see our stack. + </div> </Layout> ); diff --git a/pages/projects/alee-audio-player.js b/pages/projects/alee-audio-player.js deleted file mode 100644 index 5b658f7..0000000 --- a/pages/projects/alee-audio-player.js +++ /dev/null @@ -1,37 +0,0 @@ -/* - Alee Productions Website: Website for Alee Productions - Copyright (C) 2020 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 <https://www.gnu.org/licenses/>. - -*/ -import Layout from "../../components/Layout"; - -const AAP = () => ( - <Layout> - <div className="jumbotron special-color bounceIn white-text"> - <h2 className="display-4">Alee Audio Player</h2> - <p className="lead">An audio player created in Qt and C++.</p> - </div> - <div className="container"> - <h1>The new audio player that enhances your experience.</h1> - <h2>Alee Audio Player is an audio player that's written from C++ and Qt. <br/> It can play, pause and stop audio.</h2><br/> - - <a className="green-text" href="https://github.com/aleeproductions/AleePlayer/releases/tag/v0.1"><h1>Download here!</h1></a> - </div> - </Layout> - -); - -export default AAP
\ No newline at end of file diff --git a/pages/projects/index.js b/pages/projects/index.js deleted file mode 100644 index 49f63f1..0000000 --- a/pages/projects/index.js +++ /dev/null @@ -1,126 +0,0 @@ -/* - Alee Productions Website: Website for Alee Productions - Copyright (C) 2020 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 <https://www.gnu.org/licenses/>. - -*/ - -import Layout from "../../components/Layout"; - -const Projects = () => ( - <Layout> - <div className="jumbotron special-color bounceIn white-text"> - <h2 className="display-4">Projects</h2> - <p className="lead">These are our current projects.</p> - </div> - <div className="container"> - {/* Software Cards */} - - <h2 className="m-3 text-center">Games</h2> - <div className="row d-flex justify-content-center"> - <div className="col-md-5"> - <div className="card elegant-color"> - <div className="card-body"> - <h5 className="card-title">QuantumNet</h5> - <p className="card-text white-text">A computer "hacking" game made in C#.</p> - <a className="card-link green-text" - href="https://github.com/aleeproductions/QuantumNet"><i - className="fab fa-github"/> GitHub</a> - </div> - </div> - </div> - </div> - - <div className="container"> - <h2 className="m-3 text-center">Software</h2> - <div className="row d-flex justify-content-center"> - {/* Software Cards */} - - <div className="col-md-5"> - <div className="card elegant-color"> - <div className="card-body"> - <h5 className="card-title">Alee Music Player</h5> - <p className="card-text white-text">A music player created in Qt and C++.</p> - <a className="card-link green-text" href="/projects/alee-music-player">Learn more</a> - <a className="card-link green-text" - href="https://github.com/aleeproductions/AleePlayer"><i - className="fab fa-github"/> GitHub</a> - </div> - </div> - </div> - </div> - </div> - {/* - <h2 className="m-3">Other software/games we made...</h2> - <button className="btn green" action="button" onclick="displayRepos();">Reload Repos</button> - <table className="table table-borderless table-dark elegant-color mt-3"> - <thead> - <tr> - <th scope="col">Name</th> - <th scope="col">Description</th> - <th scope="col">Language</th> - </tr> - </thead> - <tbody id="repos-table-body"> - </tbody> - </table> - </div> */} - {/* /.Software Cards */} - {/* Disabled for now.... - <h1 className="mt-3 mb-2 text-center">Videos</h1> - <ul id="yt-results" className="yt none"></ul> - */} - {/* - <script type="text/javascript" data-main="/js/yt-list-videos.js" src="https://requirejs.org/docs/release/2.3.5/minified/require.js"></script> - <script> - // Code by cylex - - let count = 0; - let xhttp = new XMLHttpRequest(); - function displayRepos() { - xhttp.onreadystatechange = function() { - if (this.readyState == 4 && this.status == 200) { - let data = JSON.parse(this.responseText); - data.forEach(() => { - $("#repos-table-body").append("<tr>" + [`<td><a href="${data[count].html_url}" className="green-text">${data[count].name}</a></td>`, `<td>${data[ // Code by cylex - - let count = 0; - let xhttp = new XMLHttpRequest(); - function displayRepos() { - xhttp.onreadystatechange = function() { - if (this.readyState == 4 && this.status == 200) { - let data = JSON.parse(this.responseText); - data.forEach(() => { - $("#repos-table-body").append("<tr>" + [`<td><a href="${data[count].html_url}" className="green-text">${data[count].name}</a></td>`, `<td>${data[count].description}</td>`, `<td>${data[count].language}</td>`] + "</tr>"); - count++; - }); - } - }; - } - xhttp.open("GET", "https://git.alee-productions.xyz/api/v1/users/aleeproductions/repos", true); - xhttp.send();count].description}</td>`, `<td>${data[count].language}</td>`] + "</tr>"); - count++; - }); - } - }; - } - xhttp.open("GET", "https://git.alee-productions.xyz/api/v1/users/aleeproductions/repos", true); - xhttp.send(); - </script> */} - </div> - </Layout> -); - -export default Projects;
\ No newline at end of file diff --git a/pages/projects/quantumnet.ejs b/pages/projects/quantumnet.ejs deleted file mode 100644 index 5e26fc1..0000000 --- a/pages/projects/quantumnet.ejs +++ /dev/null @@ -1,21 +0,0 @@ -<!DOCTYPE html> -<!-- Alee Productions Website: Made by Alee and licensed with GPL-3.0 --> -<html> - -<head> - <% include ./includes/header %> -</head> - -<body> -<% include ./includes/navbar %> -<div class="animsition"> -<div class="jumbotron special-color"> - <h2 class="display-4">QuantumNet</h2> - <p class="lead">Description.</p> -</div> -<% include ./includes/scripts %> -<% include ./includes/footer %> -</div> -</body> - -</html>
\ No newline at end of file |
