Move to server

main
Mr¤KayJayDee 3 years ago
parent a73fc252d3
commit 729ea8956d

1
.gitignore vendored

@ -1 +1,2 @@
.vscode/ .vscode/
.node_modules

@ -1 +0,0 @@
portfolio.mrkayjaydee.xyz

@ -10,12 +10,12 @@
<meta name="author" content="Killian' DAL-CIN"> <meta name="author" content="Killian' DAL-CIN">
<link rel="shortcut icon" href="code.svg"> <link rel="shortcut icon" href="code.svg">
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900" rel="stylesheet">
<script defer src="assets/fontawesome/js/all.min.js"></script> <script defer src="fontawesome/js/all.min.js"></script>
<link id="theme-style" rel="stylesheet" href="assets/css/styles.css"> <link id="theme-style" rel="stylesheet" href="css/styles.css">
</head> </head>
<body> <body>
<a class="langButton" style="float: right; margin-right: 20px;" href="/"><img src="/assets/images/english.png" <a class="langButton" style="float: right; margin-right: 20px;" href="/"><img src="images/english.png"
width="50" height="50"></a> width="50" height="50"></a>
<div class="main-wrapper"> <div class="main-wrapper">
<div class="container px-3 px-lg-5"> <div class="container px-3 px-lg-5">
@ -43,7 +43,7 @@
<div class="resume-intro py-3"> <div class="resume-intro py-3">
<div class="media flex-column flex-md-row align-items-center"> <div class="media flex-column flex-md-row align-items-center">
<img class="resume-profile-image mb-3 mb-md-0 mr-md-5 ml-md-0 rounded mx-auto" <img class="resume-profile-image mb-3 mb-md-0 mr-md-5 ml-md-0 rounded mx-auto"
src="assets/images/resume-profile.png" alt="image"> src="images/resume-profile.png" alt="image">
<div class="media-body text-left"> <div class="media-body text-left">
<p class="mb-0">Je m'appelle Killian 'DAL-CIN, j'ai 18 ans, je suis passionné par la <p class="mb-0">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, programmation, la photographie, la musique et le sport. Parlons un peu de mon histoire,

@ -10,12 +10,12 @@
<meta name="author" content="Killian' DAL-CIN"> <meta name="author" content="Killian' DAL-CIN">
<link rel="shortcut icon" href="code.svg"> <link rel="shortcut icon" href="code.svg">
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900" rel="stylesheet">
<script defer src="assets/fontawesome/js/all.min.js"></script> <script defer src="fontawesome/js/all.min.js"></script>
<link id="theme-style" rel="stylesheet" href="assets/css/styles.css"> <link id="theme-style" rel="stylesheet" href="css/styles.css">
</head> </head>
<body> <body>
<a class="langButton" style="float: right; margin-right: 20px;" href="french.html"><img src="/assets/images/french.png" width="50" height="50"></a> <a class="langButton" style="float: right; margin-right: 20px;" href="fr-FR"><img src="images/french.png" width="50" height="50"></a>
<div class="main-wrapper"> <div class="main-wrapper">
<div class="container px-3 px-lg-5"> <div class="container px-3 px-lg-5">
<article class="resume-wrapper mx-auto theme-bg-light p-5 mb-5 my-5 shadow-lg"> <article class="resume-wrapper mx-auto theme-bg-light p-5 mb-5 my-5 shadow-lg">
@ -42,7 +42,7 @@
<div class="resume-intro py-3"> <div class="resume-intro py-3">
<div class="media flex-column flex-md-row align-items-center"> <div class="media flex-column flex-md-row align-items-center">
<img class="resume-profile-image mb-3 mb-md-0 mr-md-5 ml-md-0 rounded mx-auto" <img class="resume-profile-image mb-3 mb-md-0 mr-md-5 ml-md-0 rounded mx-auto"
src="assets/images/resume-profile.png" alt="image"> src="images/resume-profile.png" alt="image">
<div class="media-body text-left"> <div class="media-body text-left">
<p class="mb-0">My name is Killian 'DAL-CIN, I am 18 years old, I am passionate about <p class="mb-0">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 programming, photography, music and sports. Let's talk a bit of my history, I was 15 and

@ -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`);
})
Loading…
Cancel
Save