diff --git a/app.js b/app.js index e69de29bb..11f9d72ab 100644 --- a/app.js +++ b/app.js @@ -0,0 +1,25 @@ +const express = require('express'); + +const app = express(); + +app.use(express.static('public')); + +app.get('/home', (req, res) =>{ + res.send('/views/home.html'); +}); + +app.get('/about', (req, res) => { + res.send('/views/about.html'); +}) + +app.get('/works', (req, res) => { + res.send('/views/works.html'); +}); + +app.get('/gallery', (req, res) => { + res.send('/views/gallery.html'); +}); + +app.listen(3000, () => { + console.log('My first app listener'); +}); \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 000000000..ff8510b05 --- /dev/null +++ b/package.json @@ -0,0 +1,16 @@ +{ + "name": "lab-express-basic-site", + "version": "1.0.0", + "description": "![logo_ironhack_blue 7](https://user-images.githubusercontent.com/23629340/40541063-a07a0a8a-601a-11e8-91b5-2f13e4e6b441.png)", + "main": "app.js", + "scripts": { + "start": "node app.js", + "dev": "node --watch" + }, + "keywords": [], + "author": "", + "license": "ISC", + "dependencies": { + "express": "^4.18.2" + } +} diff --git "a/public/images/After-aqu\303\255-acaba-todo.png" "b/public/images/After-aqu\303\255-acaba-todo.png" new file mode 100644 index 000000000..339be6e15 Binary files /dev/null and "b/public/images/After-aqu\303\255-acaba-todo.png" differ diff --git a/public/images/Maravilloso-desastre.png b/public/images/Maravilloso-desastre.png new file mode 100644 index 000000000..8e42e348a Binary files /dev/null and b/public/images/Maravilloso-desastre.png differ diff --git a/public/stylesheets/main.css b/public/stylesheets/main.css new file mode 100644 index 000000000..0e059e36a --- /dev/null +++ b/public/stylesheets/main.css @@ -0,0 +1,12 @@ +body { + display: flex; + color: whitesmoke; + background-color: black; + padding: 2em; + flex-direction: column; +} + +h1 { + display: flex; + justify-content: center; +} \ No newline at end of file diff --git a/views/about.html b/views/about.html new file mode 100644 index 000000000..b2d554678 --- /dev/null +++ b/views/about.html @@ -0,0 +1,14 @@ + + + + + About + + + +

About me

+ + Home Page + + + \ No newline at end of file diff --git a/views/gallery.html b/views/gallery.html new file mode 100644 index 000000000..e69de29bb diff --git a/views/home.html b/views/home.html new file mode 100644 index 000000000..9fed1a790 --- /dev/null +++ b/views/home.html @@ -0,0 +1,19 @@ + + + + + Raúl Pérez Sánchez + + + +

Raúl Pérez Sánchez

+ + + +

Me llamo Raúl, soy actor de doblaje y locutor. En esta página podrás encontrar un breve resumen de algunos de mis trabajos.

+ + \ No newline at end of file diff --git a/views/works.html b/views/works.html new file mode 100644 index 000000000..a09bb78df --- /dev/null +++ b/views/works.html @@ -0,0 +1,46 @@ + + + + + Proyectos + + + +

Proyectos

+ + Home Page + +
Doblaje
+ +
  • After: aquí acaba todo
  • +
      Mark
    + + +
  • Maravilloso desastre
  • +
      Adam
    + + +
  • La escuela del bien y del mal
  • +
      Eric
    + +
  • Por mandato del cielo
  • +
      Samuel
    + +
  • Curon
  • + +
  • Papergirls
  • +
  • Daybreak
  • +
  • Full circle
  • +
  • Greenleaf
  • +
  • Las nadadoras
  • +
  • La guardia del león
  • +
  • Belle
  • +
  • La calle del terror - Parte 2: 1978
  • +
  • Beau tiene miedo
  • +
  • Calle dálmatas 101
  • +
  • Safety
  • +
  • Un fantasma anda suelto por casa
  • +
  • La escuela de la vida
  • + + + \ No newline at end of file