Remove unedded

This commit is contained in:
Nikola Petrov 2023-06-21 23:02:33 +02:00
parent 35297631e2
commit 6f64d1dc4e
7 changed files with 201 additions and 193 deletions

2
.gitignore vendored
View File

@ -60,4 +60,4 @@ typings/
# next.js build output # next.js build output
.next .next
public/assets/fontawesome/ fontawesome/

2
app.js
View File

@ -5,7 +5,6 @@ var cookieParser = require('cookie-parser');
var logger = require('morgan'); var logger = require('morgan');
var indexRouter = require('./routes/index'); var indexRouter = require('./routes/index');
var usersRouter = require('./routes/users');
var app = express(); var app = express();
@ -20,7 +19,6 @@ app.use(cookieParser());
app.use(express.static(path.join(__dirname, 'public'))); app.use(express.static(path.join(__dirname, 'public')));
app.use('/', indexRouter); app.use('/', indexRouter);
app.use('/users', usersRouter);
// catch 404 and forward to error handler // catch 404 and forward to error handler
app.use(function(req, res, next) { app.use(function(req, res, next) {

View File

@ -3,7 +3,7 @@ var router = express.Router();
/* GET home page. */ /* GET home page. */
router.get('/', function(req, res, next) { router.get('/', function(req, res, next) {
res.render('index', { title: 'Nik' }); res.render('index');
}); });
module.exports = router; module.exports = router;

View File

@ -1,9 +0,0 @@
var express = require('express');
var router = express.Router();
/* GET users listing. */
router.get('/', function(req, res, next) {
res.send('respond with a resource');
});
module.exports = router;

View File

@ -1,2 +1,19 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
body{
background-color: rgb(100, 100, 100);
color: #fff;
}
</style>
</head>
<body>
<h1>{{message}}</h1> <h1>{{message}}</h1>
<h2>{{error.status}}</h2> <h2>{{error.status}}</h2>
</body>
</html>

View File

@ -1,9 +1,29 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Portfolio</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-geWF76RCwLtnZ8qwWowPQNguL3RmwHVBC9FhGdlKrxdiJJigb/j/68SIy3Te4Bkz" crossorigin="anonymous"></script>
<link rel="stylesheet" href="/assets/fontawesome/css/all.css">
<link rel="stylesheet" href="/css/intro.css">
<link rel="stylesheet" href="/css/styles.css">
<script defer src="/assets/WinBox/winbox.bundle.js"></script>
<script defer src="/js/main.js"></script>
</head>
<body>
<section class="intro"> <section class="intro">
<h1 class="section__title"> <h1 class="section__title">
Hi, I am <strong>Nikola Petrov</strong> Hi, I am <strong>Nikola Petrov</strong>
</h1> </h1>
<p class="section__subtitle">2. Year RIT</p> <p class="section__subtitle">2. Year RIT</p>
<img src="images/Jaz.jpg" alt="a picture of Nikola Petrov" class="intro__img"> <img src="/images/Jaz.jpg" alt="a picture of Nikola Petrov" class="intro__img">
</section> </section>
<div class="container"> <div class="container">
@ -153,10 +173,13 @@
<div id="documents-content"> <div id="documents-content">
<div class="container margin-top"> <div class="container margin-top">
<div class="row"> <div class="row">
<a href="assets/documents/CV.pdf" class="btn btn-info" download="Nikola_Petrov_CV">CV</a> <a href="/assets/documents/CV.pdf" class="btn btn-info" download="Nikola_Petrov_CV">CV</a>
<a href="assets/documents/Certificate.pdf" class="btn btn-info" download="Nikola_Petrov_electrotechnician_certificate">Electrotechnician certificate</a> <a href="/assets/documents/Certificate.pdf" class="btn btn-info" download="Nikola_Petrov_electrotechnician_certificate">Electrotechnician certificate</a>
</div> </div>
</div> </div>
</div> </div>
</section> </section>
</body>
</html>

View File

@ -1,22 +1 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Portfolio</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-geWF76RCwLtnZ8qwWowPQNguL3RmwHVBC9FhGdlKrxdiJJigb/j/68SIy3Te4Bkz" crossorigin="anonymous"></script>
<link rel="stylesheet" href="assets/fontawesome/css/all.css">
<link rel="stylesheet" href="css/intro.css">
<link rel="stylesheet" href="css/styles.css">
<script defer src="assets/WinBox/winbox.bundle.js"></script>
<script defer src="js/main.js"></script>
</head>
<body>
{{{body}}} {{{body}}}
</body>
</html>