aboutsummaryrefslogtreecommitdiff
path: root/vnext
diff options
context:
space:
mode:
Diffstat (limited to 'vnext')
-rw-r--r--vnext/src/App.js2
-rw-r--r--vnext/src/components/Footer.js31
-rw-r--r--vnext/src/index.js1
-rw-r--r--vnext/src/views/index.html70
4 files changed, 46 insertions, 58 deletions
diff --git a/vnext/src/App.js b/vnext/src/App.js
index 81862d4f..77e0e5da 100644
--- a/vnext/src/App.js
+++ b/vnext/src/App.js
@@ -11,7 +11,6 @@ import Chat from './components/Chat';
import Post from './components/Post';
import Thread from './components/Thread';
import LoginButton from './components/LoginButton';
-import Footer from './components/Footer';
import Avatar from './components/Avatar';
import Header from './components/Header';
import SearchBox from './components/SearchBox';
@@ -228,7 +227,6 @@ export default class App extends React.Component {
}
</aside>
</div>
- <Footer />
</React.Fragment>
</Router>
);
diff --git a/vnext/src/components/Footer.js b/vnext/src/components/Footer.js
deleted file mode 100644
index a6d89a5d..00000000
--- a/vnext/src/components/Footer.js
+++ /dev/null
@@ -1,31 +0,0 @@
-import React from 'react';
-import PropTypes from 'prop-types';
-
-import Icon from './Icon';
-
-export default function Footer(props) {
-
- return (
- <div id="footer">
- <div id="footer-right"> &middot;
- <a href="/help/contacts" rel="nofollow">Contacts</a> &middot;
- <a href="/help/tos" rel="nofollow">TOS</a>
- </div>
- <div id="footer-social">
- <a href="https://twitter.com/Juick" rel="nofollow"><Icon name="ei-sc-twitter" size="m" /></a>
- <a href="https://vk.com/juick" rel="nofollow"><Icon name="ei-sc-vk" size="m" /></a>
- <a href="https://www.facebook.com/JuickCom" rel="nofollow"><Icon name="ei-sc-facebook" size="m" /></a>
- </div>
- <div id="footer-left">juick.com &copy; 2008-2018
- </div>
- {
- props.links &&
- <div>Sponsors: {props.links}</div>
- }
- </div>
- );
-}
-
-Footer.propTypes = {
- links: PropTypes.string
-};
diff --git a/vnext/src/index.js b/vnext/src/index.js
index be14cfb8..b9fc5f54 100644
--- a/vnext/src/index.js
+++ b/vnext/src/index.js
@@ -8,5 +8,4 @@ ReactDOM.render(<App />, container);
let body = document.getElementById('wrapper').parentNode;
body.replaceChild(container.getElementsByTagName('header')[0], body.querySelector('#header'));
body.replaceChild(container.querySelector('#wrapper'), body.querySelector('#wrapper'));
-body.replaceChild(container.querySelector('#footer'), body.querySelector('#footer'));
diff --git a/vnext/src/views/index.html b/vnext/src/views/index.html
index 6de31076..faf3a98a 100644
--- a/vnext/src/views/index.html
+++ b/vnext/src/views/index.html
@@ -1,34 +1,35 @@
<!DOCTYPE html>
<html prefix="og: http://ogp.me/ns#">
+
<head id="org" itemprop="publisher" itemscope="" itemtype="http://schema.org/Organization">
- <meta charset="utf-8"/>
- <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
+ <meta charset="utf-8" />
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title itemprop="name">Juick</title>
<meta itemprop="url" content="https://juick.com/" />
<meta property="og:type" content="website" />
<meta property="fb:app_id" content="130568668304" />
- <meta name="viewport" content="width=device-width,initial-scale=1"/>
- <meta name="msapplication-config" content="//i.juick.com/browserconfig.xml"/>
- <meta name="msapplication-TileColor" content="#ffffff"/>
- <meta name="msapplication-TileImage" content="//i.juick.com/ms-icon-144x144.png"/>
- <meta name="theme-color" content="#ffffff"/>
+ <meta name="viewport" content="width=device-width,initial-scale=1" />
+ <meta name="msapplication-config" content="//i.juick.com/browserconfig.xml" />
+ <meta name="msapplication-TileColor" content="#ffffff" />
+ <meta name="msapplication-TileImage" content="//i.juick.com/ms-icon-144x144.png" />
+ <meta name="theme-color" content="#ffffff" />
<meta name="apple-mobile-web-app-capable" content="yes" />
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/evil-icons@1.10.1/assets/evil-icons.min.css"/>
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/evil-icons@1.10.1/assets/evil-icons.min.css" />
<script src="https://cdn.jsdelivr.net/npm/evil-icons@1.10.1/assets/evil-icons.min.js"></script>
- <link rel="apple-touch-icon" sizes="57x57" href="//i.juick.com/apple-icon-57x57.png"/>
- <link rel="apple-touch-icon" sizes="60x60" href="//i.juick.com/apple-icon-60x60.png"/>
- <link rel="apple-touch-icon" sizes="72x72" href="//i.juick.com/apple-icon-72x72.png"/>
- <link rel="apple-touch-icon" sizes="76x76" href="//i.juick.com/apple-icon-76x76.png"/>
- <link rel="apple-touch-icon" sizes="114x114" href="//i.juick.com/apple-icon-114x114.png"/>
- <link rel="apple-touch-icon" sizes="120x120" href="//i.juick.com/apple-icon-120x120.png"/>
- <link rel="apple-touch-icon" sizes="144x144" href="//i.juick.com/apple-icon-144x144.png"/>
- <link rel="apple-touch-icon" sizes="152x152" href="//i.juick.com/apple-icon-152x152.png"/>
- <link rel="apple-touch-icon" sizes="180x180" href="//i.juick.com/apple-icon-180x180.png"/>
+ <link rel="apple-touch-icon" sizes="57x57" href="//i.juick.com/apple-icon-57x57.png" />
+ <link rel="apple-touch-icon" sizes="60x60" href="//i.juick.com/apple-icon-60x60.png" />
+ <link rel="apple-touch-icon" sizes="72x72" href="//i.juick.com/apple-icon-72x72.png" />
+ <link rel="apple-touch-icon" sizes="76x76" href="//i.juick.com/apple-icon-76x76.png" />
+ <link rel="apple-touch-icon" sizes="114x114" href="//i.juick.com/apple-icon-114x114.png" />
+ <link rel="apple-touch-icon" sizes="120x120" href="//i.juick.com/apple-icon-120x120.png" />
+ <link rel="apple-touch-icon" sizes="144x144" href="//i.juick.com/apple-icon-144x144.png" />
+ <link rel="apple-touch-icon" sizes="152x152" href="//i.juick.com/apple-icon-152x152.png" />
+ <link rel="apple-touch-icon" sizes="180x180" href="//i.juick.com/apple-icon-180x180.png" />
<link itemprop="logo" href="http://juick.com/#juick-logo" itemtype="http://schema.org/ImageObject" />
- <link rel="icon" type="image/png" sizes="32x32" href="//i.juick.com/favicon-32x32.png"/>
- <link rel="icon" type="image/png" sizes="96x96" href="//i.juick.com/favicon-96x96.png"/>
- <link rel="icon" type="image/png" sizes="16x16" href="//i.juick.com/favicon-16x16.png"/>
- <link rel="manifest" href="//i.juick.com/manifest.json"/>
+ <link rel="icon" type="image/png" sizes="32x32" href="//i.juick.com/favicon-32x32.png" />
+ <link rel="icon" type="image/png" sizes="96x96" href="//i.juick.com/favicon-96x96.png" />
+ <link rel="icon" type="image/png" sizes="16x16" href="//i.juick.com/favicon-16x16.png" />
+ <link rel="manifest" href="//i.juick.com/manifest.json" />
<script type="application/ld+json">
{
"@context": "http://schema.org",
@@ -40,9 +41,30 @@
}
</script>
</head>
+
<body id="body">
<div id="header"></div>
<div id="wrapper"></div>
- <div id="footer"></div>
-</body>
-</html>
+ <div id="footer">
+ <div id="footer-right"> &middot;
+ <a href="/help/contacts" rel="nofollow">Contacts</a> &middot;
+ <a href="/help/tos" rel="nofollow">TOS</a>
+ </div>
+ <div id="footer-social">
+ <a href="https://twitter.com/Juick" rel="nofollow">
+ <Icon name="ei-sc-twitter" size="m" />
+ </a>
+ <a href="https://vk.com/juick" rel="nofollow">
+ <Icon name="ei-sc-vk" size="m" />
+ </a>
+ <a href="https://www.facebook.com/JuickCom" rel="nofollow">
+ <Icon name="ei-sc-facebook" size="m" />
+ </a>
+ </div>
+ <div id="footer-left">juick.com &copy; 2008-2018
+ </div>
+ <!-- EXT_FOOTER -->
+ </div>
+</body>
+
+</html> \ No newline at end of file