Compare commits

..

5 Commits

Author SHA1 Message Date
snyk-bot
40f9430e21 fix: package.json & package-lock.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-BRACES-6838727
- https://snyk.io/vuln/SNYK-JS-MICROMATCH-6838728
2025-01-27 04:40:49 +00:00
E
dec522c914 Fix Docker and bio
Rename prepare step

Attempt docker fix

Docker fix

Fix bio and add pug prettier config

Fix spacing

Fix grammer
2024-04-29 17:21:32 +01:00
E
b3aae82a2a Merge branch 'fix-docker-image' 2024-04-29 15:30:43 +01:00
E
140fa8fea0 Omit dev dependencies 2024-04-29 15:30:13 +01:00
E
eba987561e Merge branch 'add-obsidian-graph' 2024-04-29 15:26:45 +01:00
5 changed files with 151 additions and 1112 deletions

View File

@@ -4,5 +4,5 @@
"tabWidth": 2, "tabWidth": 2,
"singleQuote": true, "singleQuote": true,
"jsxSingleQuote": true, "jsxSingleQuote": true,
"plugins": ["prettier-plugin-tailwindcss"] "plugins": ["prettier-plugin-tailwindcss", "@prettier/plugin-pug"]
} }

View File

@@ -1,4 +1,4 @@
FROM node:16-bullseye-slim FROM node:21-bullseye-slim
ENV IS_DOCKER=true ENV IS_DOCKER=true
ENV NODE_ENV=production ENV NODE_ENV=production

1111
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -13,12 +13,12 @@
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"dev": "npx nodemon ./bin/www -e js,pug,sass", "dev": "npx nodemon ./bin/www -e js,pug,sass",
"start": "npx ./bin/www -e js,pug,sass", "start": "npx nodemon ./bin/www -e js,pug,sass",
"watch-tailwind": "npx npm-watch", "watch-tailwind": "npx npm-watch",
"build-tailwind": "npx postcss src/tailwind.css -o public/stylesheets/style.css", "build-tailwind": "npx postcss src/tailwind.css -o public/stylesheets/style.css",
"lint": "prettier --check . && eslint .", "lint": "prettier --check . && eslint .",
"format": "prettier --write --ignore-path .gitignore .", "format": "prettier --write --ignore-path .gitignore .",
"prepare": "husky install" "husky-install": "husky install"
}, },
"dependencies": { "dependencies": {
"@sendgrid/mail": "^8.1.3", "@sendgrid/mail": "^8.1.3",
@@ -37,11 +37,12 @@
"postcss-cli": "^8.3.1", "postcss-cli": "^8.3.1",
"pug": "^3.0.2", "pug": "^3.0.2",
"tailwind-hamburgers": "^1.1.1", "tailwind-hamburgers": "^1.1.1",
"tailwindcss": "^2.2.15", "tailwindcss": "^4.0.0",
"winston": "^3.3.3" "winston": "^3.3.3"
}, },
"devDependencies": { "devDependencies": {
"@eslint/js": "^9.1.1", "@eslint/js": "^9.1.1",
"@prettier/plugin-pug": "^3.0.0",
"eslint": "^9.1.1", "eslint": "^9.1.1",
"eslint-config-prettier": "^9.1.0", "eslint-config-prettier": "^9.1.0",
"globals": "^15.1.0", "globals": "^15.1.0",

View File

@@ -1,70 +1,83 @@
extends layout extends layout
block nav-links block nav-links
a(href='/') a(href='/')
li(class="py-3 bg-pink text-black hover:bg-black hover:text-pink transition duration-500 ease-in-out") li.py-3.bg-pink.text-black.transition.duration-500.ease-in-out(
span Home class='hover:bg-black hover:text-pink'
a(href='#') )
li(class="py-3 bg-black text-green hover:bg-pink hover:text-black transition duration-500 ease-in-out") span Home
span About a(href='#')
a(href='/obsidian/projects.html') li.py-3.bg-black.text-green.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") class='hover:bg-pink hover:text-black'
span Obsidian )
a(href='https://github.com/aurora-dot') span About
li(class="py-3 bg-pink text-black hover:bg-black hover:text-pink transition duration-500 ease-in-out") a(href='/obsidian/projects.html')
span Projects li.py-3.bg-pink.text-black.transition.duration-500.ease-in-out(
a(href='https://blog.pastel.codes') class='hover:bg-black hover:text-pink'
li(class="py-3 bg-pink text-black hover:bg-black hover:text-pink transition duration-500 ease-in-out") )
span Blog span Obsidian
a(href='/contact') 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.py-3.bg-pink.text-black.transition.duration-500.ease-in-out(
span Contact class='hover:bg-black hover:text-pink'
)
span Projects
a(href='https://blog.pastel.codes')
li.py-3.bg-pink.text-black.transition.duration-500.ease-in-out(
class='hover:bg-black hover:text-pink'
)
span Blog
a(href='/contact')
li.py-3.bg-pink.text-black.transition.duration-500.ease-in-out(
class='hover:bg-black hover:text-pink'
)
span Contact
block content block content
div.mt-5 .mt-5
div.text-lg .text-lg
h1.font-sans.text-6xl.wavy.mb-10 Hello. h1.font-sans.text-6xl.wavy.mb-10 Hello.
p.mb-5 Im E, a 23-year-old full-stack developer with three years professional experience. I live in the UK. p.mb-5 Im E, a 22-year-old full-stack developer with three years professional experience. I live in the UK.
p.mb-5 Im currently working at Bounce Technologies, where I contribute to or lead various projects using a bunch of different languages and technologies. p.mb-5 Im 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! Im currently learning Go and adjusting to TypeScript. p.mb-5 I also do UI/UX design and DevOps! Im 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. 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.
p.mb-5 Here are all of p.mb-5 Here are all of!{ ' ' }
a(class=" text-green" href="/obsidian/projects.html") my projects |
span and my a.text-green(href='/obsidian/projects.html') my projects
a(class=" text-green" href="https://github.com/aurora-dot/") GitHub span !{ ' ' } and my !{ ' ' }
if project |
div a.text-green(href='https://github.com/aurora-dot/') GitHub
h1.font-sans.text-6xl.wavy.my-10 Projects. | .
if project
div
h1.font-sans.text-6xl.wavy.my-10 Projects.
div div
each val in project each val in project
div(class="mb-10 text-center sm:text-left") .mb-10.text-center(class='sm:text-left')
div.contents .contents
a(href=val.url).contents a.contents(href=val.url)
if val.feature_image if val.feature_image
img(class="sm:w-2/3 mx-auto sm:mx-0" src=val.feature_image) img.mx-auto(class='sm:w-2/3 sm:mx-0', src=val.feature_image)
else else
img(src="/images/logo.png") img(src='/images/logo.png')
div.mt-2 .mt-2
a(href=val.url) a(href=val.url)
span(class="font-sans text-2xl sm:text-3xl mt-3 mb-3") #{val.title} span.font-sans.text-2xl.mt-3.mb-3(class='sm:text-3xl') #{ val.title }
p.text-lg #{val.excerpt} p.text-lg #{ val.excerpt }
if blog if blog
div div
h1.font-sans.text-6xl.wavy.my-10 Blog. h1.font-sans.text-6xl.wavy.my-10 Blog.
div div
each val in blog each val in blog
div(class="mb-10 text-center sm:text-left") .mb-10.text-center(class='sm:text-left')
div.contents .contents
a(href=val.url).contents a.contents(href=val.url)
if val.feature_image if val.feature_image
img(class="sm:w-2/3 mx-auto sm:mx-0" src=val.feature_image) img.mx-auto(class='sm:w-2/3 sm:mx-0', src=val.feature_image)
else else
img(src="/images/logo.png") img(src='/images/logo.png')
div.mt-2 .mt-2
a(href=val.url) a(href=val.url)
span(class="font-sans text-2xl sm:text-3xl mt-3 mb-3") #{val.title} span.font-sans.text-2xl.mt-3.mb-3(class='sm:text-3xl') #{ val.title }
p.text-lg #{val.excerpt} p.text-lg #{ val.excerpt }