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