GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - zsobin/PersonalWebApp

BranchesTags
Open more actions menu

Latest commit

 

History

31 Commits
31 Commits

Folders and files

NameName
Last commit message
Last commit date
project
project
 
 
.gitignore
.gitignore
 
 
Procfile
Procfile
 
 
README.md
README.md
 
 
app.json
app.json
 
 
package.json
package.json
 
 

Repository files navigation

Personal Web App

Check it out at: https://pacific-plateau-64936.herokuapp.com/

Make sure you've followed all instructions for BaseWebApp

  1. Add new app pages: Add pages called about.ejs, projects.ejs, contact.ejs to html/pages. These files can be empty for now, or you could add something like <h1> Hello! </h1> so you know it's rendering.

  2. Add routing - modify your server-side code in project/start.js to support routing. See code here

*Since this updates the code that runs on the server, you need to restart your server to view the changes locally. You can do this by pressing control + c, and then then running heroku local web again.

    app.get('/', function(request, response) {
      response.render('pages/index');
    });

    app.get('/about', function(request, response) {
      response.render('pages/about');
    });

    app.get('/projects', function(request, response) {
      response.render('pages/projects');
    });

    app.get('/contact', function(request, response) {
      response.render('pages/contact');
    });

  1. Add a file to your helpers called navbar.ejs: https://github.com/zsobin/PersonalWebApp/blob/master/project/html/helpers/navbar.ejs

  2. Add that navbar to all of your app pages (index.ejs, about.ejs, projects.ejs), and contact.ejs so that people can navigate around your app:

  <header>
    <% include ../helpers/navbar %>
  </header>
  1. Copy all the CSS over to your project/css/main.css file so your pages look a little prettier! https://github.com/zsobin/PersonalWebApp/blob/master/project/css/main.css.

  2. Make it your own!

    • Change images to your own
    • Add your own project descriptions and bio
    • Add more pages + routing
    • Style it to look prettier! Check out the components available through bootstrap here.

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

2 stars

Watchers

2 watching

Forks

104 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.