Browse Source

Fixed spelling of Piedmont chapter

pull/1/head
parent
commit
661d954c3a
4 changed files with 78 additions and 12 deletions
  1. +1
    -1
      chapters/chapters.json
  2. +46
    -5
      index.php
  3. +1
    -6
      news/stories/6/content.md
  4. +30
    -0
      res/js/menu2.js

+ 1
- 1
chapters/chapters.json View File

@ -640,7 +640,7 @@
}
},
{
"name": "Piedmond/Richmond",
"name": "Piedmont / Richmond",
"logo": "VA/rva.png",
"social": {
"email": "[email protected]",


+ 46
- 5
index.php View File

@ -7,7 +7,7 @@ twitter.com/absinthol
<html lang="en">
<head>
<title>Socialist Rifle Association</title>
<?php include("res/php/headtags.php"); ?>
<?php include("res/php/headtags.php"); ?>
</head>
<style type="text/css">
@keyframes banner-slide-down {
@ -356,7 +356,7 @@ twitter.com/absinthol
}
</style>
<body>
<div id="menu">
<div id="menu">
<div class="section section-menu group">
<a href="/about/">
<div class="col span_1_of_5 btnrnd">
@ -388,11 +388,13 @@ twitter.com/absinthol
</div>
<div id="menu-cont">
<div id="bar">
<!-- <div id="logo"><img class="logo" src="https://srastatic.nyc3.cdn.digitaloceanspaces.com/web/img/logo/national/logo-white.png"></div>-->
<div id="logo"><img class="logo" src="https://srastatic.nyc3.cdn.digitaloceanspaces.com/web/img/logo/national/logo-white.png"></div>
<div id="ham-toggle"><i class="fa fa-bars" aria-hidden="true"></i></div>
<div id="cart-icon"><a href="https://shop.socialistra.org"><i class="fas fa-store" aria-hidden="true" style="font-size: 0.85em;"></i></a></div>
</div>
</div>
</div>
</div>
<div id="banner">
<?php
// Read folders from stories
@ -482,10 +484,49 @@ twitter.com/absinthol
<br>
<div style="text-align: center;"><h3><a href="./news/"><i class="fas fa-newspaper"></i> More News</a></h3></div>
<br>
<?php include("res/php/bottom.php"); ?>
</div>
<footer>
<div class="section group">
<div class="col footer_1_of_4">
<img src="https://srastatic.nyc3.cdn.digitaloceanspaces.com/web/img/theme/footer.png"><br>
<p class="footer">The Socialist Rifle Association's mission is to uphold the right of the working class to keep and bear arms and maintain the skills necessary for self and community defense.</p>
</div>
<div class="col footer_1_of_4">
<ul class="footer-ul">
<li><a href="../leadership/"><i class="fas fa-users"></i> Leadership</a></li>
<hr class="footer-hr">
<li><a href="../resolutions/"><i class="fas fa-file-alt"></i> Policy Resolutions</a></li>
<hr class="footer-hr">
<li><a href="../bylaws/"><i class="fas fa-file-alt"></i> Current Bylaws</a></li>
<hr class="footer-hr">
<li><a href="../chapters/"><i class="fas fa-map-marked-alt"></i> Local Chapters</a></li>
<hr class="footer-hr">
</ul>
</div>
<div class="col footer_1_of_4">
</div>
<div class="col footer_1_of_4">
<span class="follow">Follow Us</span><br>
<ul>
<a href="https://twitter.com/socialistra">
<li class="fab fa-twitter-square" aria-hidden="true"></li>
</a>
<a href="https://www.youtube.com/channel/UCEJzdCNfDMUz5GZDIRGgZaw">
<li class="fab fa-youtube-square" aria-hidden="true"></li>
</a>
<a href="https://www.facebook.com/SocialistRifle/">
<li class="fab fa-facebook-square" aria-hidden="true"></li>
</a>
<a href="https://www.reddit.com/r/SocialistRA/">
<li class="fab fa-reddit-square" aria-hidden="true"></li>
</a>
</ul>
</div>
</div>
</footer>
</body>
<script src="https://srastatic.nyc3.cdn.digitaloceanspaces.com/web/js/menu2.js" type="text/javascript"></script>
<script src="/res/js/menu2.js" type="text/javascript"></script>
<script type="text/javascript">
pollVisibility();
function pollVisibility() {


+ 1
- 6
news/stories/6/content.md View File

@ -16,12 +16,7 @@ impossible to retrieve payment information from these tokens.
## How Did This Happen?
This architecture was a result of negligent web design and server hygiene by our previous web developer and co-founder
JL Hamilton who recently lost his battle with brain cancer. JL was a committed, albeit over eager founding organizer of
the SRA. JL may have overestimated his abilities as a web developer but has always had nothing but the highest respect
and concern for the safety of our comrades and their data. That being said, our staff was unable to provide the level
of security needed for an organization such as ours. We assume full responsibility for the poor architecture which we
subjected our comrades to and commit to a future of safety and accountability to and for our members.
This architecture was a result of negligent web design and server hygiene. Our staff was unable to provide the level of security needed for an organization such as ours. We assume full responsibility for the poor architecture which we subjected our comrades to and commit to a future of safety and accountability to and for our members.
## What Is Being Done?


+ 30
- 0
res/js/menu2.js View File

@ -0,0 +1,30 @@
if ($(window).width() <= 736){
$('#logo img.logo').attr("src","https://srastatic.nyc3.cdn.digitaloceanspaces.com/web/img/logo/national/new-logo3.png");
}
$('#ham-toggle').click(function() {
if ($('#menu').css('display') == 'none') {
$('#ham-toggle i').attr("class", "fa fa-times");
$('#banner').attr("class", "banner-down");
$('#banner').css('margin-top','4.8em');
$('#bar').attr("class", "bar-down");
$('#bar').css('margin-top','2em');
$('#menu').slideDown('fast');
if ($(window).width() <= 736){
$('#logo img.logo').attr("src","https://srastatic.nyc3.cdn.digitaloceanspaces.com/web/img/logo/national/new-logo3.png");
}
} else {
$('#ham-toggle i').attr("class", "fa fa-bars");
$('#menu').slideUp('fast');
$('#bar').attr("class", "bar-up");
$('#bar').css('margin-top','0');
$('#banner').attr("class", "banner-up");
$('#banner').css('margin-top','0');
if ($(window).width() <= 736){
$('#logo img.logo').attr("src","https://srastatic.nyc3.cdn.digitaloceanspaces.com/web/img/logo/national/new-logo3.png");
}
$('#article-page').attr("class", "closed");
if ($(window).width() <= 736){
$('#logo img.logo').attr("src","https://srastatic.nyc3.cdn.digitaloceanspaces.com/web/img/logo/national/new-logo3.png");
}
}
});

Loading…
Cancel
Save