Introduced Server Side Rendering for Cloud Pages based on React

This commit is contained in:
tmshv committed 2017-05-20 23:24:18 +03:00
1 parent 569b849457
commit 1d6772eef3
17 files changed
+456 -61

No files matched your search

+58
View File
@@ -0,0 +1,58 @@
<!DOCTYPE html>
<html>
<head>
<meta name="fragment" content="!">
<meta name="google-site-verification" content="8BxOTw-Q02DS2KAdcGcnIMwiPZ58DVB18XpOfRibCcg">
<meta name="google-site-verification" content="A-TEemUw4hHpULUDCd6xhxfHnyRbgKtss90JGKXnSpw"/>
<meta name='yandex-verification' content='643c7dac144b9dac'/>
<meta name="msvalidate.01" content="E878301FE3E3F12D233A6B1156889601"/>
<meta name="viewport" content="width=device-width, maximum-scale=1.0"/>
<meta name="referrer" content="unsafe-url">
<base href="/">
<title>По вашему запросу ничего не найдено — Шлиссельбургская ДХШ</title>
<link rel="icon" type="image/png" href="//static.shlisselburg.org/art/graphics/favicon-32.png"/>
<link rel="apple-touch-icon" sizes="57x57" href="//static.shlisselburg.org/art/graphics/favicon-57.png"/>
<link rel="apple-touch-icon" sizes="72x72" href="//static.shlisselburg.org/art/graphics/favicon-72.png"/>
<link rel="apple-touch-icon" sizes="114x114" href="//static.shlisselburg.org/art/graphics/favicon-114.png"/>
<link rel="apple-touch-icon" sizes="144x144" href="//static.shlisselburg.org/art/graphics/favicon-144.png"/>
<link rel="stylesheet" href="/style.css">
<link rel="stylesheet" href="/fonts/PTSans/stylesheet.css">
<link rel="stylesheet" href="/fonts/PTSerif/stylesheet.css">
</head>
<body>
<div class="body-wrapper">
<header>
</header>
<main class="body-wrapper__content">
<section class="content content_wide content--padding-top--menu">
<div class="cloud-page__body">
<div class="content content_wide content--padding-top--menu">
<div class="error-404">
<div>
<h1>Страница не найдена.</h1>
<img src="http://static.shlisselburg.org/art/graphics/skull.jpg" alt=""/>
</div>
<div><a href="/">На главную</a></div>
</div>
</div>
</div>
</section>
</main>
<footer class="footer--centered">
<div class="copyright">
<span>©&nbsp;2012—2017 Шлиссельбургская детская художественная школа</span>
</div>
</footer>
</div>
</body>
</html>
+61
View File
@@ -0,0 +1,61 @@
<!DOCTYPE html>
<html>
<head>
<meta name="fragment" content="!">
<meta name="google-site-verification" content="8BxOTw-Q02DS2KAdcGcnIMwiPZ58DVB18XpOfRibCcg">
<meta name="google-site-verification" content="A-TEemUw4hHpULUDCd6xhxfHnyRbgKtss90JGKXnSpw"/>
<meta name='yandex-verification' content='643c7dac144b9dac'/>
<meta name="msvalidate.01" content="E878301FE3E3F12D233A6B1156889601"/>
<meta name="viewport" content="width=device-width, maximum-scale=1.0"/>
<meta name="referrer" content="unsafe-url">
<base href="/">
<title>Шлиссельбургская Детская Художественная Школа</title>
<link rel="icon" type="image/png" href="//static.shlisselburg.org/art/graphics/favicon-32.png"/>
<link rel="apple-touch-icon" sizes="57x57" href="//static.shlisselburg.org/art/graphics/favicon-57.png"/>
<link rel="apple-touch-icon" sizes="72x72" href="//static.shlisselburg.org/art/graphics/favicon-72.png"/>
<link rel="apple-touch-icon" sizes="114x114" href="//static.shlisselburg.org/art/graphics/favicon-114.png"/>
<link rel="apple-touch-icon" sizes="144x144" href="//static.shlisselburg.org/art/graphics/favicon-144.png"/>
<link rel="stylesheet" href="/style.css">
<link rel="stylesheet" href="/fonts/PTSans/stylesheet.css">
<link rel="stylesheet" href="/fonts/PTSerif/stylesheet.css">
<script>
if (window.location.host.indexOf('localhost') === -1) {
(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r;
i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date();
a = s.createElement(o),
m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m)
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
// ga('create', 'UA-60209057-1', 'auto');
//ga('send', 'pageview');
}
</script>
</head>
<body>
{{{content}}}
<script>
function initDisqus() {
const script = document.createElement('script')
script.src = '//hudozka.disqus.com/embed.js';
script.setAttribute('data-timestamp', Date.now());
(document.head || document.body).appendChild(script);
}
const doInitDisqus = false
if (doInitDisqus) initDisqus()
</script>
</body>
</html>