From b44254fd970cea7fef717ff6ebfa80d3728144d7 Mon Sep 17 00:00:00 2001 From: nikola Date: Tue, 30 Jul 2024 16:15:26 +0200 Subject: [PATCH] put more data in json --- routes/userKnowledge.json | 9 +++++++++ views/cv.hbs | 32 ++++++++++++++++---------------- 2 files changed, 25 insertions(+), 16 deletions(-) diff --git a/routes/userKnowledge.json b/routes/userKnowledge.json index 4cb0311..ba38734 100644 --- a/routes/userKnowledge.json +++ b/routes/userKnowledge.json @@ -1,4 +1,13 @@ { + "first_name": "Nikola", + "last_name": "Petrov", + "phone_number": "+38670749506", + "occupation": "Student", + "birth": "14, November, 2000", + "living_location": "Ljubljana, Slovenia", + "web_link": "https://petrovv.com", + "git_link": "https://git.petrovv.com", + "email": "nikolape7@gmail.com", "project": [ { "img": "/images/projects/Advent_Of_Code_Logo.jpg", diff --git a/views/cv.hbs b/views/cv.hbs index 2ee5167..9b438bd 100644 --- a/views/cv.hbs +++ b/views/cv.hbs @@ -40,7 +40,7 @@ - +{{#with userData}}
@@ -53,30 +53,30 @@
Icon picture -

Nikola Petrov

-

Student

+

{{first_name}} {{last_name}}

+

{{occupation}}

@@ -95,8 +95,8 @@

Social

- +{{/with}}