diff --git a/app.js b/app.js index e69de29bb..072600783 100644 --- a/app.js +++ b/app.js @@ -0,0 +1,18 @@ +const express = require('express'); +const {request} = require('http'); + +const app = express(); + +app.use(express.static('public')); + +app.get('/home',(request,response,next)=> +response.sendFile(__dirname + '/views/home.html')); + +app.get('/about',(request,response,next)=> +response.sendFile(__dirname + '/views/about.html')); + +app.get('/works',(request,response,next)=> +response.sendFile(__dirname + '/views/works.html')) + +app.listen(3000,()=>console.log("it's listening on port 3000")); + 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/images/jojo 2.avif b/public/images/jojo 2.avif new file mode 100644 index 000000000..fd327b78a Binary files /dev/null and b/public/images/jojo 2.avif differ diff --git a/public/images/jojo miguel.webp b/public/images/jojo miguel.webp new file mode 100644 index 000000000..36ffe4735 Binary files /dev/null and b/public/images/jojo miguel.webp differ diff --git a/public/images/jojo3.jpg b/public/images/jojo3.jpg new file mode 100644 index 000000000..c74e9394e Binary files /dev/null and b/public/images/jojo3.jpg differ diff --git a/public/styles/stylesheet.css b/public/styles/stylesheet.css new file mode 100644 index 000000000..687de5cf8 --- /dev/null +++ b/public/styles/stylesheet.css @@ -0,0 +1,51 @@ +body { + font-family:"roboto condensed",sans-serif; + text-align: center; + background-color: bisque; + +}; + +h1 { + text-transform: uppercase; + font-weight: 600; + color: brown; + padding: 10px 20px; + +} + +.button-class{ + display: flex; + flex-direction: column; + align-items: center; + flex-wrap: nowrap; + margin: 0; + padding: 0; +} + +.button{ + display: block; + width: 25%; + padding: 20px 20px; + margin: 10px; + text-transform: uppercase; + text-decoration: none; + background-color: brown; + color: aliceblue; + border-radius: 5px; +} +p{ + margin: 20px 20px; + line-height: 1.5; + font-size: 14px; +} + +ul{ + display: flex; + flex-direction: column; + align-items: center; + flex-wrap: nowrap; +} + +.img{ + width: 25%; +} \ No newline at end of file diff --git a/views/about.html b/views/about.html new file mode 100644 index 000000000..e2aaa771b --- /dev/null +++ b/views/about.html @@ -0,0 +1,28 @@ + + + + + George Michael page + + + + +

About George Michael

+

+ George Michael (born Georgios Kyriacos Panayiotou; 25 June 1963 – 25 December 2016) + was an English singer, songwriter and record producer. He is one of the best-selling + musicians of all time, with his sales estimated at between 100 million and 125 million + records worldwide. A prominent figure in popular music, Michael was known as a + creative force in songwriting, vocal performance, and visual presentation. + He achieved 13 number-one songs on the UK Singles Chart and 10 number-one songs on the US + Billboard Hot 100. Michael won numerous music awards, including two Grammy Awards, three + Brit Awards, twelve Billboard Music Awards, and four MTV Video Music Awards. He was listed + among Billboard's the "Greatest Hot 100 Artists of All Time" and Rolling Stone′s the + “200 Greatest Singers of All Time”. The Radio Academy named him the most played + artist on British radio during the period 1984–2004.Michael was inducted into the Rock + and Roll Hall of Fame in 2023. +

+ Jójó Michael + return to home page + + \ No newline at end of file diff --git a/views/home.html b/views/home.html new file mode 100644 index 000000000..42d31237b --- /dev/null +++ b/views/home.html @@ -0,0 +1,18 @@ + + + + + George Michael page + + + + +

George Michael

+

welcome to this basic website about one of the greats, George Michael

+ Jójó Michael +
+ about George Michael + see George Michael works +
+ + diff --git a/views/works.html b/views/works.html new file mode 100644 index 000000000..95dacf383 --- /dev/null +++ b/views/works.html @@ -0,0 +1,35 @@ + + + + + George Michael page + + + + +

George Michael works

+

+ George Michael had numerous hits throughout his career, from solo tracks that got multi-platinum and + award-winning albuns with the band WHAM!, to multiple collaborations with numerous famous musicians. Here is a list of some of his extensive work. +

+
+

Solo discography:

+ +

Wham! discography

+ +
+
+ For a more extense look on his work + return to home page +
+ + \ No newline at end of file