Browse Source

Added documentation and fixed the nav bar.

pull/4/head
jrtechs 6 years ago
parent
commit
b7bfd84d9d
3 changed files with 33 additions and 6 deletions
  1. +24
    -1
      README.md
  2. +6
    -2
      css/bootstrap.css
  3. +3
    -3
      includes/header.html

+ 24
- 1
README.md View File

@ -1,8 +1,29 @@
# NodeJSBlog # NodeJSBlog
Recreating my Wordpress blog in node JS.
This is a project I did to recreate my word press blog using plane node js. If I were to
do this again, I would use PHP. NodeJS is great, however, it was a pain to deal
with all the asynchronous calls when trying to create a web page in a linear fashion.
If you want to run this project, it requires Mysql, npm, and node to be installed. For
deployment I use a [Nginx](https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-16-04)
proxy.
## Color scheme
[Adobe Color Wheel](https://color.adobe.com/create/color-wheel/?copy=true&base=2&rule=Custom&selected=3&name=Copy%20of%20Site&mode=rgb&rgbvalues=0.231,0.325499999999957,0.42,0,0.7450980392156863,0.6980392156862745,0.10196078431372549,0.36470588235294116,0.38823529411764707,0.8235294117647058,0.7529411764705882,1,0.3165071770335184,0.24148325358851674,0.49&swatchOrder=0,1,2,3,4)
Blue:
- Primary: #3B536B
- Secondary: #00BEB2
Purple:
- Primary: #513E7D
- Secondary: #D2C0FF
## MYSQL Information ## MYSQL Information
![](blogSql.svg)
```SQL ```SQL
create database jrtechs_blog; create database jrtechs_blog;
@ -33,6 +54,8 @@ url varchar(100) not null,
primary key(post_id) primary key(post_id)
); );
// not used yet
create table downloads( create table downloads(
download_id mediumint unsigned not null AUTO_INCREMENT, download_id mediumint unsigned not null AUTO_INCREMENT,
url varchar(20) not null, url varchar(20) not null,

+ 6
- 2
css/bootstrap.css View File

@ -9637,10 +9637,13 @@ a:hover
background-color: #3B536B !important; background-color: #3B536B !important;
} }
#mainNav {
#mainNav
{
font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-weight: 700; font-weight: 700;
text-transform: uppercase; text-transform: uppercase;
padding-top: 15px;
padding-bottom: 15px;
} }
@ -9668,7 +9671,8 @@ a:hover
} }
.navbar-toggler {
.navbar-toggler
{
padding: 0.25rem 0.75rem; padding: 0.25rem 0.75rem;
font-size: 1.09375rem; font-size: 1.09375rem;
line-height: 1; line-height: 1;

+ 3
- 3
includes/header.html View File

@ -47,9 +47,9 @@
<li class="nav-item active"> <li class="nav-item active">
<a class="nav-link" href="https://jrtechs.net">Home <span class="sr-only">(current)</span></a> <a class="nav-link" href="https://jrtechs.net">Home <span class="sr-only">(current)</span></a>
</li> </li>
<li class="nav-item">
<a class="nav-link" href="https://jrtechs.net/categories">Categories</a>
</li>
<!--<li class="nav-item">-->
<!--<a class="nav-link" href="https://jrtechs.net/categories">Categories</a>-->
<!--</li>-->
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" href="https://jrtechs.me/#contact">Contact</a> <a class="nav-link" href="https://jrtechs.me/#contact">Contact</a>
</li> </li>

Loading…
Cancel
Save