mirror of
https://github.com/aurora-dot/pastel.codes.git
synced 2025-04-28 05:22:11 +01:00
Update bio and remove CV link for privacy issues
This commit is contained in:
parent
8449b30401
commit
9ab4bbb866
@ -1,9 +1,9 @@
|
|||||||
var express = require('express');
|
var express = require("express");
|
||||||
const axios = require('axios');
|
const axios = require("axios");
|
||||||
var router = express.Router();
|
var router = express.Router();
|
||||||
|
|
||||||
/* GET home page. */
|
/* GET home page. */
|
||||||
router.get('/', function (req, res, _next) {
|
router.get("/", function (req, res, next) {
|
||||||
const GHOST_KEY = process.env.GHOST_KEY;
|
const GHOST_KEY = process.env.GHOST_KEY;
|
||||||
const base_url = `https://blog.pastel.codes/ghost/api/v3/content/posts/?key=${GHOST_KEY}`;
|
const base_url = `https://blog.pastel.codes/ghost/api/v3/content/posts/?key=${GHOST_KEY}`;
|
||||||
|
|
||||||
@ -15,8 +15,8 @@ router.get('/', function (req, res, _next) {
|
|||||||
.then(
|
.then(
|
||||||
axios.spread((response1, response2) => {
|
axios.spread((response1, response2) => {
|
||||||
var base = {
|
var base = {
|
||||||
title: 'About',
|
title: "About",
|
||||||
description: 'Who??? What??? AAAAaaa, about me.',
|
description: "Who??? What??? AAAAaaa, about me.",
|
||||||
};
|
};
|
||||||
var blog = JSON.parse(
|
var blog = JSON.parse(
|
||||||
JSON.stringify(response1.data).split('"posts":').join('"blog":')
|
JSON.stringify(response1.data).split('"posts":').join('"blog":')
|
||||||
@ -26,11 +26,17 @@ router.get('/', function (req, res, _next) {
|
|||||||
);
|
);
|
||||||
var out = Object.assign(base, blog, projects);
|
var out = Object.assign(base, blog, projects);
|
||||||
|
|
||||||
res.render('about', out);
|
res.render("about", out);
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
.catch((error) => {
|
.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);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -7,9 +7,6 @@ block nav-links
|
|||||||
a(href='#')
|
a(href='#')
|
||||||
li(class="py-3 bg-black text-green hover:bg-pink hover:text-black transition duration-500 ease-in-out")
|
li(class="py-3 bg-black text-green hover:bg-pink hover:text-black transition duration-500 ease-in-out")
|
||||||
span About
|
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')
|
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")
|
li(class="py-3 bg-pink text-black hover:bg-black hover:text-pink transition duration-500 ease-in-out")
|
||||||
span Projects
|
span Projects
|
||||||
@ -20,14 +17,18 @@ block nav-links
|
|||||||
li(class="py-3 bg-pink text-black hover:bg-black hover:text-pink transition duration-500 ease-in-out")
|
li(class="py-3 bg-pink text-black hover:bg-black hover:text-pink transition duration-500 ease-in-out")
|
||||||
span Contact
|
span Contact
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
block content
|
block content
|
||||||
div.mt-5
|
div.mt-5
|
||||||
div.text-lg
|
div.text-lg
|
||||||
h1.font-sans.text-6xl.wavy.mb-10 Hello.
|
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 I’m E, a 23 year year old full stack developer with three years experience, located in the UK.
|
||||||
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 Currently I'm working at Bounce Technologies working on various projects using various languages.
|
||||||
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 I also do UI, UX and DevOps! Currently learning Go and adjusting to TypeScript.
|
||||||
p.mb-5 Currently I am working as a freelance developer for Bounce Technologies!
|
p.mb-5 I create digital art and electronic music-making, additionally in my free time, I play experimental and artistic video games.
|
||||||
|
|
||||||
|
if project
|
||||||
div
|
div
|
||||||
h1.font-sans.text-6xl.wavy.my-10 Projects.
|
h1.font-sans.text-6xl.wavy.my-10 Projects.
|
||||||
|
|
||||||
@ -45,6 +46,7 @@ block content
|
|||||||
span(class="font-sans text-2xl sm:text-3xl mt-3 mb-3") #{val.title}
|
span(class="font-sans text-2xl sm:text-3xl mt-3 mb-3") #{val.title}
|
||||||
p.text-lg #{val.excerpt}
|
p.text-lg #{val.excerpt}
|
||||||
|
|
||||||
|
if blog
|
||||||
div
|
div
|
||||||
h1.font-sans.text-6xl.wavy.my-10 Blog.
|
h1.font-sans.text-6xl.wavy.my-10 Blog.
|
||||||
div
|
div
|
||||||
|
@ -10,9 +10,6 @@ block nav-links
|
|||||||
a(href='/about')
|
a(href='/about')
|
||||||
li(class="py-3 bg-pink text-black hover:bg-black hover:text-pink transition duration-500 ease-in-out")
|
li(class="py-3 bg-pink text-black hover:bg-black hover:text-pink transition duration-500 ease-in-out")
|
||||||
span About
|
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')
|
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")
|
li(class="py-3 bg-pink text-black hover:bg-black hover:text-pink transition duration-500 ease-in-out")
|
||||||
span Projects
|
span Projects
|
||||||
|
@ -7,9 +7,6 @@ block nav-links
|
|||||||
li.nav-item
|
li.nav-item
|
||||||
a.nav-link(href='/about')
|
a.nav-link(href='/about')
|
||||||
span About
|
span About
|
||||||
li.nav-item
|
|
||||||
a.nav-link(href='#')
|
|
||||||
span CV
|
|
||||||
li.nav-item
|
li.nav-item
|
||||||
a.nav-link(href='https://github.com/aurora-dot')
|
a.nav-link(href='https://github.com/aurora-dot')
|
||||||
span Projects
|
span Projects
|
||||||
|
@ -7,9 +7,6 @@ block nav-links
|
|||||||
a(href='/about')
|
a(href='/about')
|
||||||
li(class="py-3 bg-pink text-black hover:bg-black hover:text-pink transition duration-500 ease-in-out")
|
li(class="py-3 bg-pink text-black hover:bg-black hover:text-pink transition duration-500 ease-in-out")
|
||||||
span About
|
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')
|
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")
|
li(class="py-3 bg-pink text-black hover:bg-black hover:text-pink transition duration-500 ease-in-out")
|
||||||
span Projects
|
span Projects
|
||||||
|
Loading…
Reference in New Issue
Block a user