Skip to content

Commit

Permalink
Merge pull request #3 from pmitter/developer
Browse files Browse the repository at this point in the history
Final Beta Testing Done
  • Loading branch information
aloyCode committed Jan 17, 2021
2 parents ba96ffc + 5a8a6a9 commit b04d795
Show file tree
Hide file tree
Showing 12 changed files with 805 additions and 387 deletions.
107 changes: 107 additions & 0 deletions about.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>FreeSpeechList - List of Banned Personalities on Internet</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" type="image/png" href="#"/>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
<link rel="stylesheet" href="includes/style.css">

<!--LOGOS Link-->
<script src="https://kit.fontawesome.com/c999d551de.js" crossorigin="anonymous"></script>

<!--Bootstrap 3.4 CDN Call-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>

<!--Bootstrap 4.3 CDN Call-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>

</head>
<body>

<!--Nav Bar-->
<nav class="navbar navbar-inverse">

</nav>

<!--Actual Body-->
<div class="container-fluid">

<!--1st Para-->
<p style="padding-top: 25px; font-size: 20px; text-align: center;">
<strong>FreeSpeechList.com is like a search engine for deplatformed personalities.</strong> It is a project to keep track on the number of individuals getting deplatformed from each of these social platforms.
</p>


<!--Why-->
<p style="padding-top: 25px; font-size: 20px;">
<strong><i class="fas fa-comment-slash"></i> Why we created it?</strong>
</p>
<p style="font-size: 20px;">
Humans are social animals. And de-platforming pushes these animals to some dark corner of the internet, thus increasing darkness in their mind. There are some pro free-speech platforms which are helping everyone to get on the same page and 'discuss'. We provide a list of every popular individual who have been deplatformed by any website.
</p>


<!--What-->
<p style="padding-top: 25px; font-size: 20px;">
<strong><i class="fas fa-globe"></i> What we created?</strong>
</p>
<p style="font-size: 20px;">
While searching through internet, it is very hard to find these de-platformed individuals. So we created FreeSpeechList.com, a go to site to find all of them at a single place. Also our website keeps track of the platforms who are most open and against free speech.
</p>


<!--What-->
<p style="padding-top: 25px; font-size: 20px;">
<strong><i class="fas fa-code"></i> How we created it?</strong>
</p>
<p style="font-size: 20px;">
Bunch of HTML, JavaScript and JSON code. And the data about the individuals getting deplatformed comes from you. If you or anyone you know meets our <a href="../components/terms.html">eligibilty standards</a>, please send us your or the person's details on <mark>FreeSpeechList@protonmail.com</mark> (Screenshots will be appriciated).
</p>

<!--Who-->
<p style="padding-top: 25px; font-size: 20px;">
<strong><i class="fas fa-user-friends"></i> Who we are?</strong>
</p>
<p style="font-size: 20px;">
We are just like you who wants free speech and privacy both online and in real world. We are just like you who wants to keep track on number of times these platforms censors or ban free speech.
</p>

<!--Agree-->
<p style="padding-top: 25px; font-size: 20px;">
<strong><i class="fas fa-laptop"></i> Do we agree with the individuals listed?</strong>
</p>
<p style="font-size: 20px;">
We DO NOT agree or endorse anything these individuals listed on our site say. We also believe that the solution to hate speech is more speech.
</p>

<!--Last Para-->
<p style="padding-top: 25px; font-size: 20px; text-align: center;">
<strong>"I may disagree with what you have to say, but I shall defend, to the death, your right to say it."</strong> - Evelyn Beatrice Hall
</p>


</div>






<!--Footer-->
<footer class="container-fluid text-center">

</footer>
</body>
</html>

<script>
$(document).ready(function() {
$("nav").load('includes/navbar.html');
$("footer").load('includes/footer.html');
$.getScript('includes/stats.js');
})
</script>
85 changes: 85 additions & 0 deletions contact.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>FreeSpeechList - List of Banned Personalities on Internet</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" type="image/png" href="#"/>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
<link rel="stylesheet" href="includes/style.css">

<!--LOGOS Link-->
<script src="https://kit.fontawesome.com/c999d551de.js" crossorigin="anonymous"></script>

<!--Bootstrap 3.4 CDN Call-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>

<!--Bootstrap 4.3 CDN Call-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
</style>
</head>
<body>

<!--Nav Bar-->
<nav class="navbar navbar-inverse">

</nav>

<!--Actual Body-->
<div class="container-fluid">

<!--1st Para-->
<p style="padding-top: 25px; font-size: 20px; text-align: center;">
<strong>Contact Us</strong>
</p>

<!--ADD-->
<p style="padding-top: 25px; font-size: 20px;">
<strong><i class="fas fa-user-plus"></i> Addition to the List:</strong>
</p>
<p style="font-size: 20px;">
If you or anyone you know meets our <a href="../components/terms.html">eligibilty standards</a>, send us your or the person's details on <mark>FreeSpeechList@protonmail.com</mark>. Please provide all the platfroms from where they are banned, and all the links to profiles or sites they are currently active on. The <strong>subject of the email should only contain the word ADD</strong>.
</p>

<!--REMOVE-->
<p style="padding-top: 25px; font-size: 20px;">
<strong><i class="fas fa-user-slash"></i> Removal from the List:</strong>
</p>
<p style="font-size: 20px;">
We list every individual who meet our <a href="../components/terms.html">eligibility standards</a>. But if you want yourself removed from the list, please email us at <mark>FreeSpeechList@protonmail.com</mark> from own registered email address. The email must be sent from an email address which is publicly verifiable that it belongs to you. The <strong>subject of the email should only contain the word REMOVE</strong>.
</p>

<!--QUERY-->
<p style="padding-top: 25px; font-size: 20px;">
<strong><i class="fas fa-comment"></i> Queries:</strong>
</p>
<p style="font-size: 20px;">
For any queries regarding our website, terms, vision etc. please email us at <mark>FreeSpeechList@protonmail.com</mark>. The <strong>subject of the email should only contain the word OTHER</strong>. Currently we don't take any promotion request or donation.
</p>




</div>






<!--Footer-->
<footer class="container-fluid text-center">

</footer>
</body>
</html>

<script>
$(document).ready(function() {
$("nav").load('includes/navbar.html');
$("footer").load('includes/footer.html');
$.getScript('includes/stats.js');
})
</script>
11 changes: 11 additions & 0 deletions includes/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<div class="row">
<!--Left Side-->
<div class="col-sm-5">
Made for the internet
</div>
<div class="col-sm-2"><br></div>
<!--Right Side-->
<div class="col-sm-5">
<a rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc/4.0/88x31.png" /></a>
</div>
</div>
68 changes: 68 additions & 0 deletions includes/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
$.getJSON("./list.json",function(data){
var people_list ='';
var point=0;
var rows = (data.length)%3==0 ? Math.trunc(data.length/3) : Math.trunc(data.length/3)+1;
console.log(rows);
for(let i=1;i<=rows;i++)
{
console.log("Row="+i);
people_list+='<div class="row">';
let count=1;
while(count<=3 && point<data.length)
{
people_list+='<div class="col-sm-4 mb-2" style="margin-top: 40px;">';
people_list+='<div id="card" class="card">';
//iMAGE
console.log("Image="+data[point].image);
people_list+='<img src="'+data[point].image+'" alt="John" style="width:100%">';
people_list+='<div class="container-fluid">';
people_list+='<br>';
//Name
people_list+='<p style="text-align: center; font-size: 27px; font-family: arial; font-weight: bold;">'+data[point].name+'</p>';
people_list+='<hr>';
//Banned From
people_list+='<p id="title" class="title" style="font-size: 25px;"><i class="fas fa-times-circle" style="color: red;"></i> Banned from:</p>';
people_list+='<p align="center;">';
//List of banned websites
console.log("Length of Banned="+(data[point].banned).length);
for(let j=0;j<(data[point].banned).length;j++){
if(j==((data[point].banned).length-1))
{
people_list+='<i class="'+data[point].banned[j].logo+'" style="font-size: 23px;"></i>';
}
else{
people_list+='<i class="'+data[point].banned[j].logo+'" style="font-size: 23px;">&nbsp; &nbsp;</i>';
}
}
people_list+='</p>';
people_list+='<hr>';
people_list+='<p id="title" class="title" style="font-size: 25px; font-weight: bold;"><i class="fas fa-check-circle" style="color: green;"></i> Currently on:</p>';
people_list+='<p align="center;">';
var without_logo='<p style="font-size: 23px;">';
var with_logo='<p>';
for(let j=0;j<(data[point].available).length;j++){
if(data[point].available[j].logo==''){
without_logo+='<a href="'+data[point].available[j].link+'" target="_blank" style="font-weight: bold;">'+data[point].available[j].name+'</a>,&nbsp;';
}
else{
with_logo+='<a href="'+data[point].available[j].link+'" target="_blank"><i class="'+data[point].available[j].logo+'"style="font-size: 23px;"></i></a><strong style="font-size: 23px;"> &nbsp </strong>&nbsp;'
}
}
//without_logo+=without_logo.slice(0,-1);
without_logo=without_logo.slice(0,-7)+'</p>';
with_logo=with_logo.slice(0,-49)+'</p>';
console.log("With Logo ="+with_logo);
people_list+=without_logo;
people_list+=with_logo;
people_list+='</p>';
people_list+='<br>';
people_list+='</div>';
people_list+='</div>';
people_list+='</div>';

console.log("Count="+(count++)+" Point="+(point++));
}
people_list+='</div>';
}
$('#people-list').append(people_list);
})
21 changes: 21 additions & 0 deletions includes/navbar.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">FreeSpeechList.com</a>
</div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav">
<li><a href="about.html">About</a></li>
<li><a href="terms.html">Terms</a></li>
<li><a href="contact.html">Contact</a></li>
<!--<li><a href="components/stats.html">Stats</a></li>-->
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="stats.html"><i class="fas fa-chart-bar"></i> Stats</a></li>
</ul>
</div>
</div>
91 changes: 91 additions & 0 deletions includes/stats.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
$.getJSON('list.json',function (data) {
var bannedList = [];
var availList = [];
for(let i=0;i<data.length;i++)
{
// Operation for banned list
for(let j=0;j<data[i].banned.length;j++)
{
if((bannedList.find(record => record.name === data[i].banned[j].name))!=undefined){
for(let k=0;k<bannedList.length;k++)
{
if(bannedList[k].name!= data[i].banned[j].name)
continue;
else{
bannedList[k].count+=1;
break;
}
}
}else{
bannedList.push({name:data[i].banned[j].name,logo:data[i].banned[j].logo,count:1});
}
}

// Operation for availList
for(let j=0;j<data[i].available.length;j++)
{
if((availList.find(record => (record.name === data[i].available[j].name)))!=undefined){
for(let k=0;k<availList.length;k++)
{
if(availList[k].name!= data[i].available[j].name)
continue;
else{
availList[k].count+=1;
break;
}
}
}else{
availList.push({name:data[i].available[j].name,logo:data[i].available[j].logo,count:1,personal:data[i].available[j].personal});
}
}
}
//Sorting bannedList & availList

bannedList.sort(function (a,b){
return b.count - a.count;
})

availList.sort(function (a,b){
return b.count - a.count;
})
//Checking the count and then displaying in table
var tableData ='';
for(let i=0;i<bannedList.length;i++){
tableData+='<tr>';
tableData+='<td>'+(i+1)+'</td>';
tableData+='<td><i class="'+bannedList[i].logo+'"></i>&nbsp;'+bannedList[i].name+'</td>';
tableData+='<td>'+bannedList[i].count+'</td>';
tableData+='</tr>';
}
$('#bannedTable').append(tableData);

tableData='';
let index=1;
for(let i=0;i<availList.length;i++){
if(availList[i].personal!=1){
tableData+='<tr>';
tableData+='<td>'+index+'</td>';
tableData+='<td><i class="'+availList[i].logo+'"></i>&nbsp;'+availList[i].name+'</td>';
tableData+='<td>'+availList[i].count+'</td>';
tableData+='</tr>';
index++;
}
}
$('#availTable').append(tableData);

var obj = [{
name:bannedList[0].name,
count:bannedList[0].count
},
{
name:bannedList[1].name,
count:bannedList[1].count
},
{
name:bannedList[2].name,
count:bannedList[2].count
}
]

localStorage.setItem('top-banned-list',JSON.stringify(obj));
})
Loading

0 comments on commit b04d795

Please sign in to comment.