Inital rewrite

This commit is contained in:
Andrew Lee 2020-08-27 22:40:07 -04:00
parent 589e271352
commit b754157713
Signed by: andrew
GPG key ID: 4DCE67C47836D125
36 changed files with 3 additions and 6629 deletions

108
.gitignore vendored
View file

@ -1,108 +0,0 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
*.lcov
# nyc test coverage
.nyc_output
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# TypeScript v1 declaration files
typings/
# TypeScript cache
*.tsbuildinfo
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
.env.test
# parcel-bundler cache (https://parceljs.org/)
.cache
# Next.js build output
.next
# Nuxt.js build / generate output
.nuxt
dist
# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and *not* Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public
# vuepress build output
.vuepress/dist
# Serverless directories
.serverless/
# FuseBox cache
.fusebox/
# DynamoDB Local files
.dynamodb/
# TernJS port file
.tern-port
.netlify
build/

2
.idea/.gitignore vendored
View file

@ -1,2 +0,0 @@
# Default ignored files
/workspace.xml

View file

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View file

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavaScriptSettings">
<option name="languageLevel" value="JSX" />
</component>
</project>

View file

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/Alee Productions Website.iml" filepath="$PROJECT_DIR$/.idea/Alee Productions Website.iml" />
</modules>
</component>
</project>

View file

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

17
.vscode/launch.json vendored
View file

@ -1,17 +0,0 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"skipFiles": [
"<node_internals>/**"
],
"program": "${workspaceFolder}/index.js"
}
]
}

View file

@ -1,38 +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 Footer = () => (
<div>
<footer className="page-footer mt-5 font-small green">
<div className="footer-copyright text-center py-3">
&copy; 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="/about#credits">credits</a> to see our stack.
</div>
</footer>
<div className="alert alert-warning fixed-bottom m-0 alert-dismissible fade show" role="alert">
Please note that this website is under active development and bugs may occur.<br/>If there are any, report it
<a href="https://github.com/aleeproductions/website/issues"> here.</a>
<button type="button" className="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
</div>
);
export default Footer;

View file

@ -1,59 +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 Head from "next/head";
const Header = (page) => (
<Head>
<meta charSet="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta httpEquiv="X-UA-Compatible" content="ie=edge"/>
<meta name="description" content="We make games, videos and software."/>
<link rel="apple-touch-icon" sizes="180x180" href="/assets/ico/apple-touch-icon.png"/>
<link rel="icon" type="image/png" sizes="32x32" href="/assets/ico/favicon-32x32.png"/>
<link rel="icon" type="image/png" sizes="16x16" href="/assets/ico/favicon-16x16.png"/>
<link rel="manifest" href="/assets/ico/site.webmanifest"/>
<link rel="mask-icon" href="/assets/ico/safari-pinned-tab.svg" color="#5bbad5"/>
<link rel="shortcut icon" href="/assets/ico/favicon.ico"/>
<meta name="msapplication-TileColor" content="#da532c"/>
<meta name="msapplication-config" content="/assets/ico/browserconfig.xml"/>
<meta name="theme-color" content="#ffffff"/>
<script src="https://kit.fontawesome.com/4c90505fb4.js"></script>
<link href="/assets/css/bootstrap.min.css" rel="stylesheet"/>
<link href="/assets/css/mdb.min.css" rel="stylesheet"/>
<link href="https://fonts.googleapis.com/css?family=Play:400,700&display=swap" rel="stylesheet"/>
<link rel="stylesheet" href="/assets/css/animsition.min.css"/>
<link rel="stylesheet" href="/assets/css/style.css"/>
<script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
{/* Fix this part */}
<title>Alee Productions</title>
</Head>
);
export default Header;

View file

@ -1,31 +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 Header from "./Header";
import Scripts from "./Scripts";
const Layout = (props) => (
<div>
<Header/>
{props.children}
<Scripts/>
</div>
);
export default Layout;

View file

@ -1,32 +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 Scripts = () => (
<div>
<script type="text/javascript" src="/assets/js/jquery.min.js"/>
<script type="text/javascript" src="/assets/js/popper.min.js"/>
<script type="text/javascript" src="/assets/js/bootstrap.min.js"/>
<script type="text/javascript" src="/assets/js/mdb.min.js"/>
</div>
);
export default Scripts;

View file

@ -1,31 +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/>.
*/
module.exports = { /*
webpack: (cfg) => {
cfg.module.rules.push(
{
test: /\.md$/,
use: 'frontmatter-markdown-loader',
options: { mode: ['react-component'] }
}
)
return cfg;
} */
};

View file

@ -4,10 +4,7 @@
"description": "The official website for Alee Productions.",
"main": "index.js",
"scripts": {
"dev": "next",
"build": "next build",
"start": "next start",
"export": "npm run build && next export"
"test": "test"
},
"repository": {
"type": "git",
@ -19,18 +16,6 @@
"url": "https://github.com/aleeproductions/website/issues"
},
"homepage": "https://github.com/aleeproductions/website#readme",
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.25",
"@fortawesome/free-brands-svg-icons": "^5.11.2",
"@fortawesome/free-regular-svg-icons": "^5.11.2",
"@fortawesome/free-solid-svg-icons": "^5.11.2",
"@fortawesome/react-fontawesome": "^0.1.7",
"isomorphic-unfetch": "^3.0.0",
"next": "^9.1.4",
"react": "^16.12.0",
"react-dom": "^16.12.0"
},
"devDependencies": {
"frontmatter-markdown-loader": "^3.1.0"
}
"dependencies": {},
"devDependencies": {}
}

View file

@ -1,31 +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 Custom404 = () => (
<Layout>
<div class="text-center mt-3">
<h1>404 Not Found</h1>
<a href="/">Back home</a>
</div>
</Layout>
);
export default Custom404

View file

@ -1,82 +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 Index = () => (
<Layout>
<div className="container">
<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">
&copy; 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>
);
export default Index;

View file

@ -1,108 +0,0 @@
/*
Alee Productions Website: Website for Alee Productions
Copyright (C) 2020 Alee
DO NOT MODIFY THE TOS WITHOUT ALEE'S PERMISSION.
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 TOS = () => (
<Layout>
<div>
<div className="container">
<div id="top"/>
<h1 className="text-center display-5 mt-3">Alee Productions Terms of Service</h1>
<p>These terms of service are set in place to ensure you have a great time being part of our community/services.</p>
<div id="community-guidelines">
<h1>Community Guidelines</h1>
<p>These are the community guidelines. They are meant to set the foundations of this community.</p>
<ul>
<li>Use common sense.</li>
<li>No spamming. Any spam will result in an official warning.</li>
<li>No advertisements/giveaways of any kind, unless for a specific purpose.</li>
<li>Respect others.</li>
<li>No backseat moderating (enforcing the rules to other users).</li>
<li>Refrain from asking for staff.</li>
<li>Cursing is allowed within reason. However, racial slurs will result in severe punishment.</li>
<li>Accusations are not tolerated. Spreading any accusations will result in an investigation from all staff, which may lead to temporary or permanent termination from our services.</li>
<li>Do not argue with or threaten the staff.</li>
<li>Absolutely no blackmailing, attacking, cyberbullying, or threatening of any members.</li>
<li>No NSFW content. This include links and pictures.</li>
<li>Organized raids are not allowed.</li>
<li>Only one account per person at a time.</li>
<li>Any malicious content (i.e. viruses, malware, adware, etc) is strictly forbidden.</li>
<li>Any back talk (i.e, talking negatively on a member from our community/services) is not allowed. This includes exclusive places in the community, not DMs.</li>
</ul>
<p>If these guidelines were to be broken several times, action will be taken.</p>
</div>
<div id="alp-policies">
<h1>Alee Productions Policies</h1>
<div id="coppa">
<h2>COPPA Policy</h2>
<p>In order to comply with the Childrens Online Privacy Protection Act (COPPA), you must be at least 13 years of age to use these services. You will be banned if found to be under 13 years of age.</p>
</div>
<div id="cityverse">
<h2>Cityverse Policy</h2>
<p>These rules apply to the Cityverse server</p>
<ul>
<li>Usage of hacked clients (including - but not limited to - Wurst, Wolfram, Sigma, etc.) is strictly prohibited</li>
<li>Griefing is not allowed</li>
<li>Respect everyone</li>
</ul>
<p>If you are found to be in violation of these rules, you may receive a temporary or permanent ban. If you have been banned, and are found playing on an alt, you may be subject to an IP ban.</p>
</div>
</div>
<div id="discord-policies">
<h1>Discord Policies</h1>
<p>If youre part of our discord server, we have set policies that you must follow.</p>
<div id="logging">
<h2>Logging</h2>
<p>The following will be logged and stored by our bots:</p>
<ul>
<li>Deleted Messages</li>
<li>Edited Messages</li>
<li>Your user ID</li>
<li>Members joining and leaving</li>
</ul>
<p>If you do not agree to the logging of these items, and wish to opt out, you must leave the community.</p>
</div>
<div id="nickname">
<h2>Nickname</h2>
<p>We enforce this nickname policy to keep a clean, friendly community.</p>
<p>To request a nickname change, use the command <code className="green-text">am:nick [nickname]</code>. Our staff will review your request and approve it accordingly. This system is set in place so that the community is a nice place to be for everyone. To have your nickname approved, it must comply with the following guidelines:</p>
<ul>
<li>No offensive words</li>
<li>No symbols</li>
<li>Nicknames must not be attention-grabbing (i.e. getting to the top of the list by using a symbol)</li>
</ul>
<p>Usernames or nickname requests found to be in violation of these guidelines will be subject to:</p>
<ul>
<li>Censoring your nickname/username</li>
<li>Ignoring the nickname change from AstralMod</li>
</ul>
</div>
</div>
<p>Any staff abusing their powers should be reported to Alee immediately.</p>
<p>Last updated: June 17th, 2020</p>
<a href="#top" className="green-text">Back to top</a>
</div>
</div>
</Layout>
);
export default TOS;

View file

@ -1,13 +0,0 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Content Manager</title>
<script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
</head>
<body>
<!-- Include the script that builds the page and powers Netlify CMS -->
<script src="https://unpkg.com/netlify-cms@2.9.7/dist/netlify-cms.js"></script>
</body>
</html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,19 +0,0 @@
body {
font-family: Play, sans-serif;
background-color: #212121;
color: #ffffff;
}
ul.yt {
margin: 0 auto;
text-align: center;
}
ul.none {
list-style-type: none;
}
ul.yt-vid-list {
display: inline-block;
vertical-align: top;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 183 KiB

View file

@ -1,59 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
aria-hidden="true"
focusable="false"
data-prefix="fas"
data-icon="file-code"
class="svg-inline--fa fa-file-code fa-w-12"
role="img"
viewBox="0 0 384 512"
version="1.1"
id="svg4"
sodipodi:docname="file-code-solid.svg"
inkscape:version="0.92.4 5da689c313, 2019-01-14">
<metadata
id="metadata10">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs8" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="741"
inkscape:window-height="480"
id="namedview6"
showgrid="false"
inkscape:zoom="0.4609375"
inkscape:cx="192"
inkscape:cy="256"
inkscape:window-x="0"
inkscape:window-y="30"
inkscape:window-maximized="0"
inkscape:current-layer="svg4" />
<path
fill="currentColor"
d="M384 121.941V128H256V0h6.059c6.365 0 12.47 2.529 16.971 7.029l97.941 97.941A24.005 24.005 0 0 1 384 121.941zM248 160c-13.2 0-24-10.8-24-24V0H24C10.745 0 0 10.745 0 24v464c0 13.255 10.745 24 24 24h336c13.255 0 24-10.745 24-24V160H248zM123.206 400.505a5.4 5.4 0 0 1-7.633.246l-64.866-60.812a5.4 5.4 0 0 1 0-7.879l64.866-60.812a5.4 5.4 0 0 1 7.633.246l19.579 20.885a5.4 5.4 0 0 1-.372 7.747L101.65 336l40.763 35.874a5.4 5.4 0 0 1 .372 7.747l-19.579 20.884zm51.295 50.479l-27.453-7.97a5.402 5.402 0 0 1-3.681-6.692l61.44-211.626a5.402 5.402 0 0 1 6.692-3.681l27.452 7.97a5.4 5.4 0 0 1 3.68 6.692l-61.44 211.626a5.397 5.397 0 0 1-6.69 3.681zm160.792-111.045l-64.866 60.812a5.4 5.4 0 0 1-7.633-.246l-19.58-20.885a5.4 5.4 0 0 1 .372-7.747L284.35 336l-40.763-35.874a5.4 5.4 0 0 1-.372-7.747l19.58-20.885a5.4 5.4 0 0 1 7.633-.246l64.866 60.812a5.4 5.4 0 0 1-.001 7.879z"
id="path2"
style="fill:#ffffff" />
</svg>

Before

Width:  |  Height:  |  Size: 2.5 KiB

View file

@ -1,59 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
aria-hidden="true"
focusable="false"
data-prefix="fas"
data-icon="users"
class="svg-inline--fa fa-users fa-w-20"
role="img"
viewBox="0 0 640 512"
version="1.1"
id="svg4"
sodipodi:docname="users-solid.svg"
inkscape:version="0.92.4 5da689c313, 2019-01-14">
<metadata
id="metadata10">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs8" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="741"
inkscape:window-height="480"
id="namedview6"
showgrid="false"
inkscape:zoom="0.41875"
inkscape:cx="320"
inkscape:cy="256"
inkscape:window-x="0"
inkscape:window-y="30"
inkscape:window-maximized="0"
inkscape:current-layer="svg4" />
<path
fill="currentColor"
d="M96 224c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm448 0c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm32 32h-64c-17.6 0-33.5 7.1-45.1 18.6 40.3 22.1 68.9 62 75.1 109.4h66c17.7 0 32-14.3 32-32v-32c0-35.3-28.7-64-64-64zm-256 0c61.9 0 112-50.1 112-112S381.9 32 320 32 208 82.1 208 144s50.1 112 112 112zm76.8 32h-8.3c-20.8 10-43.9 16-68.5 16s-47.6-6-68.5-16h-8.3C179.6 288 128 339.6 128 403.2V432c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48v-28.8c0-63.6-51.6-115.2-115.2-115.2zm-223.7-13.4C161.5 263.1 145.6 256 128 256H64c-35.3 0-64 28.7-64 64v32c0 17.7 14.3 32 32 32h65.9c6.3-47.4 34.9-87.3 75.2-109.4z"
id="path2"
style="fill:#ffffff" />
</svg>

Before

Width:  |  Height:  |  Size: 2.2 KiB

View file

@ -1,59 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
aria-hidden="true"
focusable="false"
data-prefix="fas"
data-icon="video"
class="svg-inline--fa fa-video fa-w-18"
role="img"
viewBox="0 0 576 512"
version="1.1"
id="svg4"
sodipodi:docname="video-solid.svg"
inkscape:version="0.92.4 5da689c313, 2019-01-14">
<metadata
id="metadata10">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs8" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="741"
inkscape:window-height="480"
id="namedview6"
showgrid="false"
inkscape:zoom="0.4609375"
inkscape:cx="49.355932"
inkscape:cy="256"
inkscape:window-x="0"
inkscape:window-y="30"
inkscape:window-maximized="0"
inkscape:current-layer="svg4" />
<path
fill="currentColor"
d="M336.2 64H47.8C21.4 64 0 85.4 0 111.8v288.4C0 426.6 21.4 448 47.8 448h288.4c26.4 0 47.8-21.4 47.8-47.8V111.8c0-26.4-21.4-47.8-47.8-47.8zm189.4 37.7L416 177.3v157.4l109.6 75.5c21.2 14.6 50.4-.3 50.4-25.8V127.5c0-25.4-29.1-40.4-50.4-25.8z"
id="path2"
style="fill:#ffffff" />
</svg>

Before

Width:  |  Height:  |  Size: 1.8 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,24 +0,0 @@
$(document).ready(function() {
$(".animsition").animsition({
inClass: 'fade-in',
outClass: 'fade-out',
inDuration: 1500,
outDuration: 800,
linkElement: '.animsition-link',
// e.g. linkElement: 'a:not([target="_blank"]):not([href^="#"])'
loading: true,
loadingParentElement: 'body', //animsition wrapper element
loadingClass: 'animsition-loading',
loadingInner: '', // e.g '<img src="loading.svg" />'
timeout: true,
timeoutCountdown: 5000,
onLoadEvent: true,
browser: [ 'animation-duration', '-webkit-animation-duration'],
// "browser" option allows you to disable the "animsition" in case the css property in the array is not supported by your browser.
// The default setting is to disable the "animsition" in a browser that does not support "animation-duration".
overlay : false,
overlayClass : 'animsition-overlay-slide',
overlayParentElement : 'body',
transition: function(url){ window.location.href = url; }
});
});

View file

@ -1,44 +0,0 @@
let channelID = 'UCNRn4YDPCCWSEl3CT7eWorA';
let apiKey = "nope"; // Note to self: Rewrite the authentication part
let vidHeight = 400;
let vidWidth = 500;
let vidMaxResult = 5;
$(document).ready(function () {
$.get("https://www.googleapis.com/youtube/v3/channels", {
part: 'contentDetails',
id: channelID,
key: apiKey //Browser API Key
},
function (data) {
$.each(data.items, function (i, item) {
console.log(item); // See in Browser Console
pid = item.contentDetails.relatedPlaylists.uploads;
getVideos(pid);
})
}
);
function getVideos(pid)
{
$.get("https://www.googleapis.com/youtube/v3/playlistItems", {
part: 'snippet',
maxResults: vidMaxResult,
playlistId: pid,
key: apiKey //Browser API Key
},
function (data) {
let outputVideo;
$.each(data.items, function (i, item) {
console.log(item); // See in Browser Console
vidId = item.snippet.resourceId.videoId;
outputVideo = '<li class="yt-vid-list"><iframe height="' + vidHeight + '" width="' + vidWidth + '" src=\"//www.youtube.com/embed/' + vidId + '"> </iframe></li>';
//Append to result list
$('#yt-results').append(outputVideo);
})
}
);
}
});

5686
yarn.lock

File diff suppressed because it is too large Load diff