diff --git a/app.js b/app.js index e69de29..90592a1 100644 --- a/app.js +++ b/app.js @@ -0,0 +1,21 @@ +const express = require("express"); + +const app = express(); + +app.use(express.static("views")); +app.use(express.static("public")); + +app.get("/", (request, response, next) => { + response.sendFile(__dirname + "/views/index.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("/photo-gallery", (request, response, next) => { + response.sendFile(__dirname + "/views/gallery.html"); +}); + +app.listen(3000, () => console.log("My first app listening on port 3000! 🚀")); diff --git a/package.json b/package.json new file mode 100644 index 0000000..1fce1a5 --- /dev/null +++ b/package.json @@ -0,0 +1,16 @@ +{ + "name": "lab-express-basic", + "version": "1.0.0", + "description": "", + "main": "app.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "keywords": [], + "author": "", + "license": "ISC", + "dependencies": { + "express": "^4.19.2", + "nodemon": "^3.1.4" + } +} diff --git a/public/images/about.jpg b/public/images/about.jpg new file mode 100644 index 0000000..0f03208 Binary files /dev/null and b/public/images/about.jpg differ diff --git a/public/images/gallery1.jpg b/public/images/gallery1.jpg new file mode 100644 index 0000000..5e070ee Binary files /dev/null and b/public/images/gallery1.jpg differ diff --git a/public/images/gallery2.jpg b/public/images/gallery2.jpg new file mode 100644 index 0000000..e24aca8 Binary files /dev/null and b/public/images/gallery2.jpg differ diff --git a/public/images/gallery3.jpg b/public/images/gallery3.jpg new file mode 100644 index 0000000..28ee73e Binary files /dev/null and b/public/images/gallery3.jpg differ diff --git a/public/images/gallery4.jpg b/public/images/gallery4.jpg new file mode 100644 index 0000000..744d5fc Binary files /dev/null and b/public/images/gallery4.jpg differ diff --git a/public/images/gallery5.jpg b/public/images/gallery5.jpg new file mode 100644 index 0000000..630a809 Binary files /dev/null and b/public/images/gallery5.jpg differ diff --git a/public/images/gallery6.jpg b/public/images/gallery6.jpg new file mode 100644 index 0000000..130c1ed Binary files /dev/null and b/public/images/gallery6.jpg differ diff --git a/public/images/gallery7.jpg b/public/images/gallery7.jpg new file mode 100644 index 0000000..c7dcc87 Binary files /dev/null and b/public/images/gallery7.jpg differ diff --git a/public/images/homepage.jpg b/public/images/homepage.jpg new file mode 100644 index 0000000..42ad400 Binary files /dev/null and b/public/images/homepage.jpg differ diff --git a/public/images/works.jpg b/public/images/works.jpg new file mode 100644 index 0000000..9153feb Binary files /dev/null and b/public/images/works.jpg differ diff --git a/public/stylesheets/about.css b/public/stylesheets/about.css new file mode 100644 index 0000000..1e48378 --- /dev/null +++ b/public/stylesheets/about.css @@ -0,0 +1,33 @@ +body { + padding: 0; + margin: 0; +} +#header { + text-align: center; + padding: 20px; + font-size: 30px; +} + +#header a { + text-decoration: none; + font-family: monospace; + color: #d75b2e; + font-weight: 700; +} + +#about-section { + display: flex; + flex-direction: row; + font-size: 24px; + font-family: monospace; +} + +#about-section img { + height: 600px; + margin: 20px; + border: 10px solid #d75b2e; +} + +.para { + padding: 0px 100px; +} diff --git a/public/stylesheets/gallery.css b/public/stylesheets/gallery.css new file mode 100644 index 0000000..048dff5 --- /dev/null +++ b/public/stylesheets/gallery.css @@ -0,0 +1,28 @@ +body { + padding: 0; + margin: 0; +} +#header { + text-align: center; + padding: 20px; + font-size: 30px; +} + +#header a { + text-decoration: none; + font-family: monospace; + color: #d75b2e; + font-weight: 700; +} + +#photos { + height: 100%; + display: flex; + flex-flow: row wrap; + justify-content: center; + align-items: center; +} +#photos img { + height: 500px; + margin: 20px; +} diff --git a/public/stylesheets/index.css b/public/stylesheets/index.css new file mode 100644 index 0000000..e4a18b0 --- /dev/null +++ b/public/stylesheets/index.css @@ -0,0 +1,20 @@ +body { + padding: 0; + margin: 0; +} +#header { + text-align: center; + padding: 20px; + font-size: 30px; +} + +#header a { + text-decoration: none; + font-family: monospace; + color: #d75b2e; + font-weight: 700; +} + +img { + width: 100%; +} diff --git a/public/stylesheets/works.css b/public/stylesheets/works.css new file mode 100644 index 0000000..c16c220 --- /dev/null +++ b/public/stylesheets/works.css @@ -0,0 +1,33 @@ +body { + padding: 0; + margin: 0; +} +#header { + text-align: center; + padding: 20px; + font-size: 30px; +} + +#header a { + text-decoration: none; + font-family: monospace; + color: #d75b2e; + font-weight: 700; +} + +#works-section { + display: flex; + flex-direction: row; + font-size: 20px; + font-family: monospace; +} + +#works-section img { + height: 700px; + margin: 20px; + border: 10px solid #d75b2e; +} + +.para { + padding: 0px 100px; +} diff --git a/views/about.html b/views/about.html new file mode 100644 index 0000000..c1fd7a1 --- /dev/null +++ b/views/about.html @@ -0,0 +1,51 @@ + + + + + + About + + + + +
+
+ +
+
+

+ Sai Pallavi Senthamarai Kannan is an Indian actress who primarily + works in Telugu, Tamil and Malayalam films. She has received numerous + accolades, including six Filmfare Awards South and two South Indian + International Movie Awards. She was featured by Forbes magazine as one + of India's 30 Under 30 in 2020. +

+ +

+ After appearing in uncredited roles as a junior artist, she made her + major acting debut in the 2015 Malayalam film Premam. The film ranked + as the second highest-grossing Malayalam film at the time and her + portrayal of a teacher earned her the Filmfare Award for Best Debut + Actress - Malayalam. In 2017, she ventured into Telugu cinema with + Fidaa. Pallavi won her first Filmfare Award for Best Actress - Telugu + for her performance in the film. +

+ +

+ Pallavi has since established herself as a leading South Indian + actress. She has received praises for her portrayals in the films — + Kali (2016), Middle Class Abbayi (2017), Maari 2 (2018), Athiran + (2019), the Netflix anthology film Paava Kadhaigal (2020), Love Story + (2021), Shyam Singha Roy (2021), and Gargi (2022). Her performances in + Love Story and Gargi earned the Filmfare Award for Best Actress in + both Telugu and Tamil. And in Shyam Singha Roy and Virata Parvam + gained her the Filmfare Critics Award for Best Actress - Telugu. +

+
+
+ + diff --git a/views/gallery.html b/views/gallery.html new file mode 100644 index 0000000..410018d --- /dev/null +++ b/views/gallery.html @@ -0,0 +1,25 @@ + + + + + + Photo Gallery + + + + +
+ + + + + + + +
+ + diff --git a/views/index.html b/views/index.html new file mode 100644 index 0000000..9328ef4 --- /dev/null +++ b/views/index.html @@ -0,0 +1,17 @@ + + + + + + Sai Pallavi + + + + + + + diff --git a/views/works.html b/views/works.html new file mode 100644 index 0000000..f371583 --- /dev/null +++ b/views/works.html @@ -0,0 +1,64 @@ + + + + + + Works + + + + +
+
+ +
+
+

+ In 2014, Pallavi was offered the role of Malar in Alphonse Puthren's + film Premam, for which Pallavi received an energetic opening in the + film industry. Then she went back to her studies. In late 2015, she + took a month's leave to act in her second movie, Kali, which was + released in March 2016. +

+ +

+ Because of her work in the Telugu film Fidaa, she received her first + Filmfare Award for Best Actress (Telugu). She co-starred with Fahadh + Faasil in the 2019 movie Athiran as an autistic girl. +

+ +

+ She has appeared in numerous critically acclaimed Tamil films, such as + Maari 2, NGK, Diya, and Vetrimaaran's Netflix anthology + Paavakadhaigal. Notably, she costarred with Dhanush in Maari 2, and + the song Rowdy Baby has received 1.5 billion views on YouTube, making + it the most-viewed song overall in India. +

+

+ In 2021, she starred in the romantic drama Love Story directed by + Sekhar Kammula alongside Naga Chaitanya in her second collaboration + with Sekhar Kammula after Fidaa (2017) and Shyam Singa Roy opposite + Nani in their second collaboration after MCA where she portrayed + Maithreyi, a captivating devadasi in 1970s Kolkata. Her performances + in both Love Story and Shyam Singha Roy earned her the Critics Award + and the Best Actress award at the Filmfare Awards South. +

+ +

+ In 2022 she appeared in Telugu film Virata Parvam opposite Rana + Daggubati. Set against the backdrop of the Naxalite movement in 1990s + Telangana where she portrayed Vennela. Director Gautham Ramachandran + announced his new female-oriented film, who earlier directed Richie + (2017). Pallavi was chosen to play a lead after Jyothika denied. The + film was announced on 9 May 2022 with the makers releasing a special + glimpse of the film. For her Tamil film Gargi, she dubbed her own + lines in both Telugu and Kannada. +

+
+
+ +