diff --git a/app.js b/app.js index e69de29bb..944a58485 100644 --- a/app.js +++ b/app.js @@ -0,0 +1,22 @@ +const express = require("express") + +const app = express() + +app.use(express.static("public")) + +app.get("/", (req, res) => { + res.sendFile(__dirname + "/views/home.html") +}) + +app.get("/about-us", (req, res) => { + res.sendFile(__dirname + "/views/about.html") +}) + +app.get("/work", (req, res) => { + res.sendFile(__dirname + "/views/work.html") +}) + + +app.listen(3000, () => { + console.log("Ready!") +}) \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 000000000..48c93e9eb --- /dev/null +++ b/package.json @@ -0,0 +1,15 @@ +{ + "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": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "keywords": [], + "author": "", + "license": "ISC", + "dependencies": { + "express": "^4.18.2" + } +} diff --git a/public/FooFighters.jpg b/public/FooFighters.jpg new file mode 100644 index 000000000..b2da1157d Binary files /dev/null and b/public/FooFighters.jpg differ diff --git a/public/css/main.css b/public/css/main.css new file mode 100644 index 000000000..753976ab4 --- /dev/null +++ b/public/css/main.css @@ -0,0 +1,53 @@ +.wrap { + overflow: hidden; + position: relative; + +} + +.background { + opacity: 0.4; + position: absolute; + width: 90%; + height: auto; + +} + +.content { + display: flex; + flex-flow: column; + position: relative; + align-items: center; +} + +.content img { + width: 500px; + margin: 20px; + +} + +a { + color:black; + font-size: x-large; +} + +body { + color: black; + display: flex; + flex-direction: column; + align-items: center; +} + +section { + display: flex; + flex-direction: column; + align-items: center; +} + +p { + text-align: center; + margin-left: 200px; + margin-right: 200px; + margin-top: 50px; + font-size: x-large; + +} \ No newline at end of file diff --git a/public/dg-nirvana.jpg b/public/dg-nirvana.jpg new file mode 100644 index 000000000..452a5988d Binary files /dev/null and b/public/dg-nirvana.jpg differ diff --git a/public/dg.jpg b/public/dg.jpg new file mode 100644 index 000000000..088addf7b Binary files /dev/null and b/public/dg.jpg differ diff --git a/public/nirvana.jpg b/public/nirvana.jpg new file mode 100644 index 000000000..474832ddc Binary files /dev/null and b/public/nirvana.jpg differ diff --git a/public/wembley.jpg b/public/wembley.jpg new file mode 100644 index 000000000..693602b95 Binary files /dev/null and b/public/wembley.jpg differ diff --git a/views/about.html b/views/about.html new file mode 100644 index 000000000..a2418b1e6 --- /dev/null +++ b/views/about.html @@ -0,0 +1,39 @@ + + + + + + About Page + + + + + + +
+ Back Home + +
+ +

David Eric Grohl (Warren, Ohio, 14 de enero de 1969) es un músico multiinstrumentista estadounidense de rock. + Saltó a la fama a comienzos de los años 1990 como batería de la icónica banda de grunge Nirvana. + En 1994, tras la muerte de Cobain y el fin de Nirvana, formó otra banda, Foo Fighters, siendo él en un principio el único miembro y más tarde el vocalista, guitarrista y compositor. +

+ +

Grohl empezó su carrera musical en los años 1980 como batería para varias bandas de Washington D. C., de las cuales la más destacada fue Scream. + Más tarde se instaló como batería de Nirvana. En 2004 editó un disco bajo el nombre de Probot, en el cual colaboraban sus cantantes de heavy metal favoritos. + También ha destacado siendo uno de los miembros principales de Queens of the Stone Age, Garbage, Tenacious D, Killing Joke y Juliette and the Licks. + + La revista Rolling Stone lo situó en el puesto n.° 27 en su lista de los «100 mejores baterías de todos los tiempos». + + Actualmente reside en Encino (California) en donde convive con su esposa Jordyn Blum y sus hijas. +

+ + + + + +
+
+ + \ No newline at end of file diff --git a/views/galery.html b/views/galery.html new file mode 100644 index 000000000..e69de29bb diff --git a/views/home.html b/views/home.html new file mode 100644 index 000000000..ca7dc3696 --- /dev/null +++ b/views/home.html @@ -0,0 +1,24 @@ + + + + + + Home + + + + + + +
+

DAVE GROHL

+

Bienvenido

+ + + + Go to About + Go to Work +
+ + + \ No newline at end of file diff --git a/views/work.html b/views/work.html new file mode 100644 index 000000000..176c4587e --- /dev/null +++ b/views/work.html @@ -0,0 +1,23 @@ + + + + + + Document + + + + + + +
+ + + + + + Back Home + +
+ + \ No newline at end of file