diff --git a/.gitignore b/.gitignore index dbe9c82..62ca99c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -.vscode/ \ No newline at end of file +.vscode/ +.node_modules \ No newline at end of file diff --git a/CNAME b/CNAME deleted file mode 100644 index f3aa936..0000000 --- a/CNAME +++ /dev/null @@ -1 +0,0 @@ -portfolio.mrkayjaydee.xyz \ No newline at end of file diff --git a/french.html b/french.html index 5244313..ba51450 100644 --- a/french.html +++ b/french.html @@ -10,12 +10,12 @@ - - + + -
@@ -43,7 +43,7 @@
image + src="images/resume-profile.png" alt="image">

Je m'appelle Killian 'DAL-CIN, j'ai 18 ans, je suis passionné par la programmation, la photographie, la musique et le sport. Parlons un peu de mon histoire, diff --git a/index.html b/index.html index ae51d56..2f6ab18 100644 --- a/index.html +++ b/index.html @@ -10,12 +10,12 @@ - - + + - +

@@ -42,7 +42,7 @@
image + src="images/resume-profile.png" alt="image">

My name is Killian 'DAL-CIN, I am 18 years old, I am passionate about programming, photography, music and sports. Let's talk a bit of my history, I was 15 and diff --git a/index.js b/index.js new file mode 100644 index 0000000..e9e58d8 --- /dev/null +++ b/index.js @@ -0,0 +1,17 @@ +const express = require('express'); +const app = express(); +const port = 2255; + +app.use(express.static(`assets`)); + +app.listen(port, `127.0.0.1`); + +console.log(`Portfolioen ligne sur le port : ` + port); + +app.get('/', (req, res) => { + res.sendFile(__dirname + `/index.html`); +}) + +app.get('/fr-FR', (req, res) => { + res.sendFile(__dirname + `/french.html`); +})