From 7f2c5975daa74b973aaa43e05a88d66b7da3f280 Mon Sep 17 00:00:00 2001 From: E Date: Mon, 29 Apr 2024 14:58:42 +0100 Subject: [PATCH] Update about bio (#55) * Update bio and remove CV link for privacy issues * Update bio and remove CV link for privacy issues * Format and fix linting issue * Change bio --- routes/about.js | 12 ++++++-- views/about.pug | 77 ++++++++++++++++++++++++----------------------- views/contact.pug | 3 -- views/error.pug | 3 -- views/index.pug | 3 -- 5 files changed, 48 insertions(+), 50 deletions(-) diff --git a/routes/about.js b/routes/about.js index eda7c08..2806c49 100644 --- a/routes/about.js +++ b/routes/about.js @@ -1,5 +1,5 @@ -var express = require('express'); -const axios = require('axios'); +var express = require("express"); +const axios = require("axios"); var router = express.Router(); /* GET home page. */ @@ -30,7 +30,13 @@ router.get('/', function (req, res, _next) { }) ) .catch((error) => { - console.log(error); + var base = { + title: 'About', + description: 'Who??? What??? AAAAaaa, about me.', + }; + var out = Object.assign(base); + console.log('error', error); + res.render('about', out); }); }); diff --git a/views/about.pug b/views/about.pug index b0242f0..bec4a54 100644 --- a/views/about.pug +++ b/views/about.pug @@ -7,9 +7,6 @@ block nav-links a(href='#') li(class="py-3 bg-black text-green hover:bg-pink hover:text-black transition duration-500 ease-in-out") span About - a(href='#') - li(class="py-3 bg-pink text-black hover:bg-black hover:text-pink transition duration-500 ease-in-out") - span CV a(href='https://github.com/aurora-dot') li(class="py-3 bg-pink text-black hover:bg-black hover:text-pink transition duration-500 ease-in-out") span Projects @@ -20,43 +17,47 @@ block nav-links li(class="py-3 bg-pink text-black hover:bg-black hover:text-pink transition duration-500 ease-in-out") span Contact + + block content div.mt-5 div.text-lg h1.font-sans.text-6xl.wavy.mb-10 Hello. - p.mb-5 I’m E, a 20 year old student in 3rd year of university, who studies computer science & artificial intelligence, somehow achieved a 1:1 for the previous two years. - p.mb-5 In my free time, I create small projects to learn new skills to be helpful for others, recently i have been focusing on Django and tailwind for my job. - p.mb-5 Graphic design is also very fun and i enjoy making small projects to post on instagram, it has helped a lot with UX/UI design for applications. - p.mb-5 Currently I am working as a freelance developer for Bounce Technologies! - div - h1.font-sans.text-6xl.wavy.my-10 Projects. - - div - each val in project - div(class="mb-10 text-center sm:text-left") - div.contents - a(href=val.url).contents - if val.feature_image - img(class="sm:w-2/3 mx-auto sm:mx-0" src=val.feature_image) - else - img(src="/images/logo.png") - div.mt-2 - a(href=val.url) - span(class="font-sans text-2xl sm:text-3xl mt-3 mb-3") #{val.title} - p.text-lg #{val.excerpt} + p.mb-5 I’m E, a 23-year-old full-stack developer with three years’ professional experience. I live in the UK. + p.mb-5 I’m currently working at Bounce Technologies, where I contribute to or lead various projects using a bunch of different languages and technologies. + p.mb-5 I also do UI/UX design and DevOps! I’m currently learning Go and adjusting to TypeScript. + p.mb-5 In my spare time I create digital art and make electronic music. I also like to discover and play experimental and artistic video games. + if project + div + h1.font-sans.text-6xl.wavy.my-10 Projects. + + div + each val in project + div(class="mb-10 text-center sm:text-left") + div.contents + a(href=val.url).contents + if val.feature_image + img(class="sm:w-2/3 mx-auto sm:mx-0" src=val.feature_image) + else + img(src="/images/logo.png") + div.mt-2 + a(href=val.url) + span(class="font-sans text-2xl sm:text-3xl mt-3 mb-3") #{val.title} + p.text-lg #{val.excerpt} - div - h1.font-sans.text-6xl.wavy.my-10 Blog. - div - each val in blog - div(class="mb-10 text-center sm:text-left") - div.contents - a(href=val.url).contents - if val.feature_image - img(class="sm:w-2/3 mx-auto sm:mx-0" src=val.feature_image) - else - img(src="/images/logo.png") - div.mt-2 - a(href=val.url) - span(class="font-sans text-2xl sm:text-3xl mt-3 mb-3") #{val.title} - p.text-lg #{val.excerpt} + if blog + div + h1.font-sans.text-6xl.wavy.my-10 Blog. + div + each val in blog + div(class="mb-10 text-center sm:text-left") + div.contents + a(href=val.url).contents + if val.feature_image + img(class="sm:w-2/3 mx-auto sm:mx-0" src=val.feature_image) + else + img(src="/images/logo.png") + div.mt-2 + a(href=val.url) + span(class="font-sans text-2xl sm:text-3xl mt-3 mb-3") #{val.title} + p.text-lg #{val.excerpt} diff --git a/views/contact.pug b/views/contact.pug index 0cf1f58..c706375 100644 --- a/views/contact.pug +++ b/views/contact.pug @@ -10,9 +10,6 @@ block nav-links a(href='/about') li(class="py-3 bg-pink text-black hover:bg-black hover:text-pink transition duration-500 ease-in-out") span About - a(href='#') - li(class="py-3 bg-pink text-black hover:bg-black hover:text-pink transition duration-500 ease-in-out") - span CV a(href='https://github.com/aurora-dot') li(class="py-3 bg-pink text-black hover:bg-black hover:text-pink transition duration-500 ease-in-out") span Projects diff --git a/views/error.pug b/views/error.pug index 1833753..ffbd041 100644 --- a/views/error.pug +++ b/views/error.pug @@ -7,9 +7,6 @@ block nav-links li.nav-item a.nav-link(href='/about') span About - li.nav-item - a.nav-link(href='#') - span CV li.nav-item a.nav-link(href='https://github.com/aurora-dot') span Projects diff --git a/views/index.pug b/views/index.pug index 7970be9..5351701 100644 --- a/views/index.pug +++ b/views/index.pug @@ -7,9 +7,6 @@ block nav-links a(href='/about') li(class="py-3 bg-pink text-black hover:bg-black hover:text-pink transition duration-500 ease-in-out") span About - a(href='#') - li(class="py-3 bg-pink text-black hover:bg-black hover:text-pink transition duration-500 ease-in-out") - span CV a(href='https://github.com/aurora-dot') li(class="py-3 bg-pink text-black hover:bg-black hover:text-pink transition duration-500 ease-in-out") span Projects