diff --git a/app.js b/app.js index e69de29bb..d0e1a4db7 100644 --- a/app.js +++ b/app.js @@ -0,0 +1,23 @@ +const express = require("express"); + +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.get("/gallery", (request, response, next) => + response.sendFile(__dirname + "/views/gallery.html") +); + +app.listen(3000, () => console.log("Listening on port 3000.")); diff --git a/package.json b/package.json new file mode 100644 index 000000000..5174af450 --- /dev/null +++ b/package.json @@ -0,0 +1,15 @@ +{ + "name": "lab-express-basic-site", + "version": "1.0.0", + "description": "", + "main": "app.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "keywords": [], + "author": "", + "license": "ISC", + "dependencies": { + "express": "^4.18.3" + } +} diff --git a/public/images/fav-1.jpg b/public/images/fav-1.jpg new file mode 100644 index 000000000..ac6bf95fc Binary files /dev/null and b/public/images/fav-1.jpg differ diff --git a/public/images/fav-2.jpg b/public/images/fav-2.jpg new file mode 100644 index 000000000..76a8df05e Binary files /dev/null and b/public/images/fav-2.jpg differ diff --git a/public/images/fav-3.jpg b/public/images/fav-3.jpg new file mode 100644 index 000000000..5f992a0c4 Binary files /dev/null and b/public/images/fav-3.jpg differ diff --git a/public/images/pt-1.jpg b/public/images/pt-1.jpg new file mode 100644 index 000000000..47708a1e5 Binary files /dev/null and b/public/images/pt-1.jpg differ diff --git a/public/images/pt-2.jpeg b/public/images/pt-2.jpeg new file mode 100644 index 000000000..55b26b837 Binary files /dev/null and b/public/images/pt-2.jpeg differ diff --git a/public/images/pt-3.jpg b/public/images/pt-3.jpg new file mode 100644 index 000000000..9364ff68f Binary files /dev/null and b/public/images/pt-3.jpg differ diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css new file mode 100644 index 000000000..c45dfd540 --- /dev/null +++ b/public/stylesheets/style.css @@ -0,0 +1,24 @@ +body { + color: black; + background-color: rgb(230, 233, 34); +} + +.snapshotgroup { + display: flex; + max-width: 600px; + max-height: 300px; +} + +img.snapshot { + max-height: 200px; + padding: 10px; +} + +div.footer { + display: flex; + flex-direction: row; +} + +a.footer { + padding: 10px; +} diff --git a/views/about.html b/views/about.html new file mode 100644 index 000000000..c2584feaa --- /dev/null +++ b/views/about.html @@ -0,0 +1,30 @@ + + +
+ +
+ Georgios "Yorgos" Lanthimos (born 23 September 1973) is a Greek filmmaker.
+
+ He has received multiple accolades, including a British Academy Film Award
+ and a Golden Globe Award as well as nominations for six Academy Awards.
+ Lanthimos's early films include My Best Friend (2001), Kinetta (2005), and
+ Dogtooth (2009), the last of which won the Un Certain Regard prize at the
+ 2009 Cannes Film Festival. In 2015, he began to transition from
+ Greek-language to English-language films. He received nominations for the
+ Academy Award for Best Original Screenplay for The Lobster (2015) and
+ nominations for the Academy Award for Best Director and Best Picture for
+ both The Favourite (2018) and Poor Things (2023). The latter also won the
+ Golden Lion at the 80th Venice International Film Festival.
+
+
+
+
+
+
+ A Director from Greek Weird Wave
+ + + diff --git a/views/works.html b/views/works.html new file mode 100644 index 000000000..87afcd572 --- /dev/null +++ b/views/works.html @@ -0,0 +1,73 @@ + + + + +