update main
This commit is contained in:
parent
b64e7d8b71
commit
f3df4b9913
@ -5,10 +5,7 @@ const router = express.Router();
|
||||
|
||||
/* GET home page. */
|
||||
router.get('/', function (req: Request, res: Response) {
|
||||
const project = userData.project;
|
||||
const experience = userData.experience;
|
||||
const education = userData.education;
|
||||
res.render('main/2_0', { project, experience, education });
|
||||
res.render('main/2_0', { userData });
|
||||
});
|
||||
|
||||
router.get('/cv', function (req: Request, res: Response) {
|
||||
|
@ -17,6 +17,8 @@
|
||||
<script defer nomodule src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.js"></script>
|
||||
</head>
|
||||
|
||||
{{#with userData}}
|
||||
|
||||
<body>
|
||||
<main>
|
||||
<aside class="sidebar" data-sidebar>
|
||||
@ -26,9 +28,9 @@
|
||||
</figure>
|
||||
|
||||
<div class="info-content">
|
||||
<h1 class="name" title="Nikola Petrov">Nikola Petrov</h1>
|
||||
<h1 class="name" title="Nikola Petrov">{{first_name}} {{last_name}}</h1>
|
||||
|
||||
<p class="title">RIT Student</p>
|
||||
<p class="title">{{occupation}}</p>
|
||||
</div>
|
||||
|
||||
<button class="info_more-btn" data-sidebar-btn>
|
||||
@ -54,7 +56,7 @@
|
||||
<div class="contact-info">
|
||||
<p class="contact-title">Email</p>
|
||||
|
||||
<a href="mailto:nikola@petrov.nexus" class="contact-link">nikolape7@gmail.com</a>
|
||||
<a href="mailto:{{email}}" class="contact-link">{{email}}</a>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
@ -68,7 +70,7 @@
|
||||
<div class="contact-info">
|
||||
<p class="contact-title">Phone</p>
|
||||
|
||||
<a href="tel:0038670749506" class="contact-link">070749506</a>
|
||||
<a href="tel:{{phone_number}}" class="contact-link">{{phone_number}}</a>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
@ -82,7 +84,7 @@
|
||||
<div class="contact-info">
|
||||
<p class="contact-title">Birthday</p>
|
||||
|
||||
<time datetime="2000-11-01">November, 2000</time>
|
||||
<time datetime="2000-11-01">{{birth}}</time>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
@ -108,7 +110,7 @@
|
||||
<ul class="social-list">
|
||||
|
||||
<li class="social-item">
|
||||
<a href="https://gitlab.com/nikolape7" title="GitLab" class="social-link">
|
||||
<a href="{{git_link}}" title="GitLab" class="social-link">
|
||||
<ion-icon name="logo-gitlab"></ion-icon>
|
||||
</a>
|
||||
</li>
|
||||
@ -368,4 +370,6 @@
|
||||
|
||||
</body>
|
||||
|
||||
{{/with}}
|
||||
|
||||
</html>
|
Loading…
x
Reference in New Issue
Block a user