Skip to content

Commit

Permalink
Style changes and project name
Browse files Browse the repository at this point in the history
  • Loading branch information
ryankeegan committed Apr 9, 2018
1 parent aeac6ed commit 1ad4542
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 23 deletions.
6 changes: 5 additions & 1 deletion routes/read/threads.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const Threads = require(_base + 'models/thread'),
Replies = require(_base + "models/reply");
Replies = require(_base + "models/reply"),
striptags = require("striptags");

module.exports = {
'/read/threads': {
Expand All @@ -11,6 +12,9 @@ module.exports = {
if(err) {
return next(err);
} else {
for(let i = 0; i < results.length; i++) {
results[i].content = striptags(results[i].content);
}
res.json({ result: results });
}
});
Expand Down
Binary file added src/assets/Image-Board_Banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions src/assets/css/common.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
a, a:visited {
color: #34345c;
text-decoration: none;
}

a:hover {
color: #d00;
}

body {
background: #eef2ff url(http://s.4cdn.org/image/fade-blue.png) top center repeat-x;
}
4 changes: 2 additions & 2 deletions src/components/BanList.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div class="banlist">
<header>
<h1 id="title">Image Board Bans</h1>
<h1 id="title">Chan ∞ Infinitum Bans</h1>
<div id="description">
The purpose of this page is to give users insight into what content is being removed, and why.
<br>
Expand Down Expand Up @@ -71,7 +71,7 @@

<script>
export default {
name: 'BanList',
name: '∞chan - Bans',
data () {
return {
bans: []
Expand Down
13 changes: 8 additions & 5 deletions src/components/Catalog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
[
<a href="#bottom">Bottom</a>
/
<a href="/bans" target="_top">Bans</a>
/
<a href="/" target="_top">Home</a>
]
</span>
Expand Down Expand Up @@ -52,6 +54,8 @@
[
<a href="#top">Top</a>
/
<a href="/bans" target="_top">Bans</a>
/
<a href="/" target="_top">Home</a>
]
</span>
Expand Down Expand Up @@ -127,6 +131,10 @@
display: block;
}
.teaser a:hover {
color: #34345c;
}
.thread {
vertical-align: top;
display: inline-block;
Expand All @@ -143,11 +151,6 @@
max-height: 320px;
}
.thread a, a:visited {
color: #34345c;
text-decoration: none;
}
#threads {
text-align: center;
padding: 20px 0;
Expand Down
6 changes: 3 additions & 3 deletions src/components/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
<div id="doc">
<div id="hd">
<div id="logo">
<a href="/" title="Home"><img src="http://img.2ch.sc/img/4_0217.png" width="448"></a>
<a href="/" title="Home"><img :src="'/src/assets/Image-Board_Banner.png'" width="448"></a>
</div>
</div>
<div id="bd">
<div id="announce" class="box-outer">
<div class="box-inner">
<div class="boxbar">
<h2>What is Image Board?</h2>
<h2>What is Chan ∞ Infinitum?</h2>
</div>
<div class="boxcontent">
<div id="about-content">
Expand Down Expand Up @@ -44,7 +44,7 @@

<script>
export default {
name: 'Index',
name: '∞chan',
data () {
return {
boards: []
Expand Down
14 changes: 2 additions & 12 deletions src/components/Thread.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div id="topNav" class="boardNav">
<span class="boardList">
[ <span v-html="boardList"></span> ]
</span> <span class="actionList"> [ <a href="#bottom">Bottom</a> / <a href="/"
</span> <span class="actionList"> [ <a href="#bottom">Bottom</a> / <a href="/bans" target="_top">Bans</a> / <a href="/"
target="_top">Home</a> ] </span></div>
<div class="boardBanner">
<div class="boardTitle">/{{ $route.params.board }}/ {{ board.name }}</div>
Expand Down Expand Up @@ -70,7 +70,7 @@
<div id="bottom">
<hr>
<div id="bottomNav" class="boardNav"><span class="boardList"> [ <span v-html="boardList"></span> ] </span>
<span class="actionList"> [ <a href="catalog.php#top">Top</a> / <a href="/"
<span class="actionList"> [ <a href="catalog.php#top">Top</a> / <a href="/bans" target="_top">Bans</a> / <a href="/"
target="_top">Home</a> ] </span>
</div>
<br>
Expand Down Expand Up @@ -108,11 +108,6 @@
</template>

<style scoped>
a, a:visited {
color: #34345c;
text-decoration: none;
}
.replyBox {
position: fixed;
border-style: solid;
Expand Down Expand Up @@ -181,11 +176,6 @@
width: 100%;
}
div.post div.postInfo span.postNum a {
color: #000;
text-decoration: none;
}
div.post div.postInfo span.nameBlock {
display: inline-block;
}
Expand Down

0 comments on commit 1ad4542

Please sign in to comment.