Updating noscript statement

This commit is contained in:
Jeff Avallone 2018-02-11 12:49:02 -05:00
parent c81943628c
commit 152bf1e361
4 changed files with 20 additions and 14 deletions

View File

@ -23,7 +23,7 @@ const PageTemplate = ({ title, children }) => (
<a href="/">Regexper</a>
</h1>
<ul>
<ul className="inline">
<li><a href="https://github.com/javallone/regexper-static">
<GithubIcon/>Source on GitHub
</a></li>
@ -33,7 +33,7 @@ const PageTemplate = ({ title, children }) => (
{ children }
<footer>
<ul className="inline-list">
<ul className="inline with-separator">
<li>
Created by <a href="mailto:jeff.avallone@gmail.com">Jeff Avallone</a>
</li>

View File

@ -36,7 +36,9 @@ exports[`PageTemplate rendering 1`] = `
Regexper
</a>
</h1>
<ul>
<ul
className="inline"
>
<li>
<a
href="https://github.com/javallone/regexper-static"
@ -52,7 +54,7 @@ exports[`PageTemplate rendering 1`] = `
</p>
<footer>
<ul
className="inline-list"
className="inline with-separator"
>
<li>
Created by
@ -117,7 +119,9 @@ exports[`PageTemplate rendering with title 1`] = `
Regexper
</a>
</h1>
<ul>
<ul
className="inline"
>
<li>
<a
href="https://github.com/javallone/regexper-static"
@ -133,7 +137,7 @@ exports[`PageTemplate rendering with title 1`] = `
</p>
<footer>
<ul
className="inline-list"
className="inline with-separator"
>
<li>
Created by

View File

@ -10,7 +10,12 @@ export default renderToString(
<noscript>
<Message icon={ AlertIcon } heading="JavaScript Required">
<p>You need to enable JavaScript to use Regexper.</p>
<p>Regexper and the tools used to create it are all open source. If you are concerned that the JavaScript being delivered is in any way malicious, please inspect the source by following the GitHub link in the header. There are two data collection tools integrated in the app: Google Analytics and Sentry.io. Google Analytics is used to track browser usage data and application performance. Sentry.io is a tool used to capture and report client-side JavaScript errors. Most popular ad blockers will prevent these tools from sending any tracking data, and doing so will <b>not</b> impact the performance of this app. Regexper is not supported by ad revenue or sales of any kind.</p>
<p>Regexper and the tools used to create it are all open source. If you are concerned that the JavaScript being delivered is in any way malicious, please inspect the source by following the GitHub link in the header. There are two data collection tools integrated in the app:</p>
<ul>
<li><b>Google Analytics</b> is used to track browser usage data and application performance.</li>
<li><b>Sentry.io</b> is a tool used to capture and report client-side JavaScript errors.</li>
</ul>
<p>Most popular ad blockers will prevent these tools from sending any tracking data, and doing so will <b>not</b> impact the performance of this app. Regexper is not supported by ad revenue or sales of any kind. The information collected by these tools is used to monitor application performance, determine browser support, and collect error reports.</p>
</Message>
</noscript>

View File

@ -97,27 +97,24 @@ a {
color: inherit;
}
ul {
.inline {
list-style: none;
margin: 0;
padding: 0;
}
li {
.inline li {
list-style-type: none;
display: inline-block;
}
.inline-list li {
white-space: nowrap;
}
.inline-list li:after {
.with-separator li:after {
content: '//';
padding: 0 0.5rem;
}
.inline-list li:last-child:after {
.with-separator li:last-child:after {
content: '';
}