Fixed layout in user settings. Updated tag and added disclaimer for Google Analytics.

This commit is contained in:
CaramelKat
2021-04-29 00:03:59 -05:00
committed by jay.poff@outlook.com
parent dd2731e0e4
commit 2748ccd515
11 changed files with 107 additions and 162 deletions

View File

@@ -45,7 +45,7 @@
<% for(var i = 0; i < communities.length; i++) {%>
<td>
<div class="community-list-wrapper" data-pjax="/communities/<%= communities[i].community_id %>/new">
<img class="community-list-icon" src="/tip/<%= communities[i].community_id %>.png">
<img class="community-list-icon" src="/icons/<%= communities[i].community_id %>.png">
<h2 class="community-list-title"><%= communities[i].name %></h2>
<h4 class="community-list-followers"><%= communities[i].followers %> followers</h4>
</div>

View File

@@ -3,23 +3,17 @@
<link rel="stylesheet" type="text/css" href="/css/juxt.css">
<script src="/js/pjax.min.js"></script>
<script src="/js/juxt.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-279PNEDGEE"></script>
<!-- Google Analytics -->
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
(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','https://www.google-analytics.com/analytics.js','ga');
gtag('config', 'G-279PNEDGEE');
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-T9NZ7BK');</script>
<!-- End Google Tag Manager -->
ga('create', 'UA-195842548-1', 'auto');
ga('send', 'pageview');
</script>
<!-- End Google Analytics -->
</head>
<body>
<menu id="nav-bar">
@@ -56,7 +50,7 @@
<% for(var i = 0; i < popularCommunities.length; i++) {%>
<td>
<div class="community-list-wrapper" data-pjax="/communities/<%= popularCommunities[i].community_id %>/new">
<img class="community-list-icon" src="/tip/<%= popularCommunities[i].community_id %>.png">
<img class="community-list-icon" src="/icons/<%= popularCommunities[i].community_id %>.png">
<h2 class="community-list-title"><%= popularCommunities[i].name %></h2>
<h4 class="community-list-followers"><%= popularCommunities[i].followers %> followers</h4>
</div>
@@ -78,7 +72,7 @@
<% for(var j = 0; j < newCommunities.length; j++) {%>
<td>
<div class="community-list-wrapper" data-pjax="/communities/<%= newCommunities[j].community_id %>/new">
<img class="community-list-icon" src="/tip/<%= newCommunities[j].community_id %>.png">
<img class="community-list-icon" src="/icons/<%= newCommunities[j].community_id %>.png">
<h2 class="community-list-title"><%= newCommunities[j].name %></h2>
<h4 class="community-list-followers"><%= newCommunities[j].followers %> followers</h4>
</div>

View File

@@ -3,30 +3,22 @@
<link rel="stylesheet" type="text/css" href="/css/juxt.css">
<script src="/js/pjax.min.js"></script>
<script src="/js/juxt.js"></script>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-PQ8FRNB');</script>
<!-- End Google Tag Manager -->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-TWP1Y7RCJ4"></script>
<!-- Google Analytics -->
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
(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','https://www.google-analytics.com/analytics.js','ga');
gtag('config', 'G-TWP1Y7RCJ4');
ga('create', 'UA-195842548-1', 'auto');
ga('send', 'pageview');
</script>
<!-- End Google Analytics -->
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-PQ8FRNB"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<menu id="nav-bar">
<li id="nav-bar-profile" data-pjax="/users/me"><a>User Page</a></li>
<li id="nav-bar-profile" data-pjax="/users/me"><a>User Test</a></li>
<li id="nav-bar-activity-feed" data-pjax="/activity-feed"><a>Activity Feed</a></li>
<li id="nav-bar-communities" data-pjax="/communities" class="selected"><a>Communities</a></li>
<li id="nav-bar-messages" data-pjax="/messages"><a>Messages<span id="messages-badge" class="badge" style=""></span></a></li>

View File

@@ -3,28 +3,17 @@
<link rel="stylesheet" type="text/css" href="/css/juxt.css">
<script src="/js/pjax.min.js"></script>
<script src="/js/juxt.js"></script>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-PQ8FRNB');</script>
<!-- End Google Tag Manager -->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-TWP1Y7RCJ4"></script>
<!-- Global site tag (gtag.js) - Google Analytics Testing-->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-195842548-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-TWP1Y7RCJ4');
gtag('config', 'UA-195842548-1');
</script>
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-PQ8FRNB"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<menu id="nav-bar">
<li id="nav-bar-profile" data-pjax="/users/me"><a>User Page</a></li>
<li id="nav-bar-activity-feed" data-pjax="/activity-feed" class="selected"><a>Activity Feed</a></li>

View File

@@ -3,22 +3,17 @@
<link rel="stylesheet" type="text/css" href="/css/juxt.css">
<script src="/js/pjax.min.js"></script>
<script src="/js/juxt.js"></script>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-PQ8FRNB');</script>
<!-- End Google Tag Manager -->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-TWP1Y7RCJ4"></script>
<!-- Google Analytics -->
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
(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','https://www.google-analytics.com/analytics.js','ga');
gtag('config', 'G-TWP1Y7RCJ4');
ga('create', 'UA-195842548-1', 'auto');
ga('send', 'pageview');
</script>
<!-- End Google Analytics -->
</head>
<style>
body {
@@ -60,10 +55,6 @@
}
</script>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-PQ8FRNB"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<div id="welcome" class="about-wrapper" style="display: block">
<h1 class="about-header">Welcome to Juxtaposition!</h1>
<div class="about-body">
@@ -182,11 +173,12 @@
</div>
<div id="notifications" class="about-wrapper">
<h1 class="about-header">Configuring Notification Alerts</h1>
<h1 class="about-header">Google Analytics</h1>
<div class="about-body">
<p>
Do you want to be alerted via the Miiverse icon when you receive notifications?
This setting can be changed later.
Juxtaposition uses Google Analytics in order to track how users are using our service. The data collected
includes but is not limited to time of visit, pages visited, and time spent on the site. This data is
not attached to you in any way, and is not used for advertisements by us or Google.
</p>
</div>
<button class="about-button" style="margin-left: 50px;"

View File

@@ -3,22 +3,18 @@
<link rel="stylesheet" type="text/css" href="/css/juxt.css">
<script src="/js/pjax.min.js"></script>
<script src="/js/juxt.js"></script>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-PQ8FRNB');</script>
<!-- End Google Tag Manager -->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-TWP1Y7RCJ4"></script>
<!-- Google Analytics -->
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
(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','https://www.google-analytics.com/analytics.js','ga');
gtag('config', 'G-TWP1Y7RCJ4');
ga('create', 'UA-195842548-1', 'auto');
ga('send', 'pageview');
</script>
<!-- End Google Analytics -->
</head>
<style>
body {
@@ -60,10 +56,6 @@
}
</script>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-PQ8FRNB"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<div id="welcome" class="about-wrapper" style="display: block">
<h1 class="about-header">Welcome to Juxtaposition!</h1>
<div class="about-body">
@@ -75,11 +67,11 @@
<button class="about-button" style="margin-left: 50px" onclick="exit()">Exit</button>
<button class="about-button" style="margin-left: 625px;"
onclick="wiiuSound.playSoundByName('SE_WAVE_MENU', 1);
document.getElementById('google-analytics').style.display = 'block';
document.getElementById('beta').style.display = 'block';
document.getElementById('welcome').style.display = 'none';">Next</button>
</div>
<div id="google-analytics" class="about-wrapper">
<div id="beta" class="about-wrapper">
<h1 class="about-header">Beta Disclaimer</h1>
<div class="about-body" style="position: relative">
<p>
@@ -97,12 +89,31 @@
<button class="about-button" style="margin-left: 50px;margin-top: 100px; z-index: 4;"
onclick="wiiuSound.playSoundByName('SE_OLV_CANCEL', 1);
document.getElementById('welcome').style.display = 'block';
document.getElementById('google-analytics').style.display = 'none';">Back</button>
document.getElementById('beta').style.display = 'none';">Back</button>
<button class="about-button" style="margin-left: 625px;margin-top: 100px; z-index: 4;"
onclick="wiiuSound.playSoundByName('SE_WAVE_MENU', 1);
document.getElementById('google-analytics').style.display = 'block'
document.getElementById('beta').style.display = 'none'">Next</button>
<div style="position: relative; height: 200px; z-index: 0"></div>
</div>
<div id="google-analytics" class="about-wrapper">
<h1 class="about-header">Google Analytics</h1>
<div class="about-body">
<p>
Juxtaposition uses Google Analytics in order to track how users are using our service. The data collected
includes but is not limited to time of visit, pages visited, and time spent on the site. This data is
not attached to you in any way, and is not used for advertisements by us or Google.
</p>
</div>
<button class="about-button" style="margin-left: 50px;"
onclick="wiiuSound.playSoundByName('SE_OLV_CANCEL', 1);
document.getElementById('beta').style.display = 'block';
document.getElementById('google-analytics').style.display = 'none';">Back</button>
<button class="about-button" style="margin-left: 625px;"
onclick="wiiuSound.playSoundByName('SE_WAVE_MENU', 1);
document.getElementById('ready').style.display = 'block'
document.getElementById('google-analytics').style.display = 'none'">Next</button>
<div style="position: relative; height: 200px; z-index: 0"></div>
</div>
<div id="ready" class="about-wrapper">

View File

@@ -78,7 +78,6 @@ document.addEventListener("pjax:error", function() {
});
document.addEventListener("pjax:success", function() {
console.log("Event: pjax:success", arguments);
// Init page content
initNavBar();
initCommunities();

View File

@@ -3,28 +3,20 @@
<link rel="stylesheet" type="text/css" href="/css/juxt.css">
<script src="/js/pjax.min.js"></script>
<script src="/js/juxt.js"></script>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-PQ8FRNB');</script>
<!-- End Google Tag Manager -->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-TWP1Y7RCJ4"></script>
<!-- Google Analytics -->
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
(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','https://www.google-analytics.com/analytics.js','ga');
gtag('config', 'G-TWP1Y7RCJ4');
ga('create', 'UA-195842548-1', 'auto');
ga('send', 'pageview');
</script>
<!-- End Google Analytics -->
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-PQ8FRNB"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<menu id="nav-bar">
<li id="nav-bar-profile" data-pjax="/users/me" class="selected"><a>User Page</a></li>
<li id="nav-bar-activity-feed" data-pjax="/activity-feed"><a>Activity Feed</a></li>
@@ -42,7 +34,7 @@
<table>
<tr>
<td class="post-close-button-wrapper">
<div class="post-close-button" onclick="hideOverlay()" ></div>
<div class="post-close-button" onclick="hideOverlay()" >Close</div>
</td>
<td>
<input type="submit" value="Save" class="submit-button" onclick="wiiuSound.playSoundByName('SE_WAVE_MENU', 1);wiiuSound.playSoundByName('BGM_OLV_MAIN_LOOP_NOWAIT', 3);">
@@ -50,7 +42,7 @@
</tr>
<tr>
<td>
<h1 class="communities-header" style="padding-left: 75px; padding-top: 10px">Profile Settings</h1>
<h1 class="communities-header" style="padding-left: 75px; padding-top: 50px">Profile Settings</h1>
</td>
</tr>
<tr></tr>

View File

@@ -3,28 +3,20 @@
<link rel="stylesheet" type="text/css" href="/css/juxt.css">
<script src="/js/pjax.min.js"></script>
<script src="/js/juxt.js"></script>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-PQ8FRNB');</script>
<!-- End Google Tag Manager -->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-TWP1Y7RCJ4"></script>
<!-- Google Analytics -->
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
(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','https://www.google-analytics.com/analytics.js','ga');
gtag('config', 'G-TWP1Y7RCJ4');
ga('create', 'UA-195842548-1', 'auto');
ga('send', 'pageview');
</script>
<!-- End Google Analytics -->
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-PQ8FRNB"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<menu id="nav-bar">
<li id="nav-bar-profile" data-pjax="/users/me"><a>User Page</a></li>
<li id="nav-bar-activity-feed" data-pjax="/activity-feed"><a>Activity Feed</a></li>

View File

@@ -3,28 +3,20 @@
<link rel="stylesheet" type="text/css" href="/css/juxt.css">
<script src="/js/pjax.min.js"></script>
<script src="/js/juxt.js"></script>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-PQ8FRNB');</script>
<!-- End Google Tag Manager -->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-TWP1Y7RCJ4"></script>
<!-- Google Analytics -->
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
(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','https://www.google-analytics.com/analytics.js','ga');
gtag('config', 'G-TWP1Y7RCJ4');
ga('create', 'UA-195842548-1', 'auto');
ga('send', 'pageview');
</script>
<!-- End Google Analytics -->
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-PQ8FRNB"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<menu id="nav-bar">
<li id="nav-bar-profile" data-pjax="/users/me"><a>User Page</a></li>
<li id="nav-bar-activity-feed" data-pjax="/activity-feed"><a>Activity Feed</a></li>

View File

@@ -3,28 +3,20 @@
<link rel="stylesheet" type="text/css" href="/css/juxt.css">
<script src="/js/pjax.min.js"></script>
<script src="/js/juxt.js"></script>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-PQ8FRNB');</script>
<!-- End Google Tag Manager -->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-TWP1Y7RCJ4"></script>
<!-- Google Analytics -->
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
(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','https://www.google-analytics.com/analytics.js','ga');
gtag('config', 'G-TWP1Y7RCJ4');
ga('create', 'UA-195842548-1', 'auto');
ga('send', 'pageview');
</script>
<!-- End Google Analytics -->
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-PQ8FRNB"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<menu id="nav-bar">
<li id="nav-bar-profile" data-pjax="/users/me" class="selected"><a>User Page</a></li>
<li id="nav-bar-activity-feed" data-pjax="/activity-feed"><a>Activity Feed</a></li>