From aff8c6ec110403a35f3fde35b6a8f0ae09ddf759 Mon Sep 17 00:00:00 2001 From: b1ek Date: Sun, 9 Jul 2023 11:04:36 +1000 Subject: [PATCH] draft about me page --- public/content/kdeoxygen.svg | 549 +++++++++++++++++++++++++++++++++++ routes/pages.js | 7 + view/about.pug | 31 +- view/neofetch.pug | 67 +++++ 4 files changed, 649 insertions(+), 5 deletions(-) create mode 100644 public/content/kdeoxygen.svg create mode 100644 view/neofetch.pug diff --git a/public/content/kdeoxygen.svg b/public/content/kdeoxygen.svg new file mode 100644 index 0000000..f07a0bc --- /dev/null +++ b/public/content/kdeoxygen.svg @@ -0,0 +1,549 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/routes/pages.js b/routes/pages.js index 1fe8197..572e4ed 100644 --- a/routes/pages.js +++ b/routes/pages.js @@ -15,8 +15,15 @@ async function about(req, res) { }); } +function phpower(req, res) { + res.redirect('https://www.youtube.com/watch?v=dQw4w9WgXcQ') +} + module.exports = (router) => { router.get('/services', handler(services)) router.get('/resume', handler(resume)) + router.get('/about', handler(about)); + // used only in about route + router.get('/power_of_php', phpower); } \ No newline at end of file diff --git a/view/about.pug b/view/about.pug index 9ca49ea..da558fe 100644 --- a/view/about.pug +++ b/view/about.pug @@ -1,10 +1,31 @@ extends layout/main.pug block root - - var title = 'About me' + - + var title = 'About me' + var og = { + title: 'blek! Site', + type: 'website', + image: req.protocol + '://' + req.get('host') + '/content/transylveonia.jpg', + url: req.protocol + '://' + req.get('host') + req.originalUrl + } include ui/label.pug block content - h2 About me page + h2 About me hr - p - +label('TODO:', '#a3f4bf') - | Write about me + p. + Hi there! My name is Alice and i like to build software. +
+ I use mainly PHP and JS(node+browser) for my projects, but also like C(++) or Rust. + + table + tbody + tr + td(style='width:300px') + h3 My setup + p I use Archlinux and KDE Plasma for my desktop + p(align='center') + img(src='/content/kdeoxygen.svg' width='200px') + p For coding, I use VSCode or NVim. My terminal is usually either Cool Retro Term or kitty + td + h3 My neofetch + include neofetch.pug \ No newline at end of file diff --git a/view/neofetch.pug b/view/neofetch.pug new file mode 100644 index 0000000..c0ae5a6 --- /dev/null +++ b/view/neofetch.pug @@ -0,0 +1,67 @@ +. + +
+
+  blek@nyarch ~ $ fastfetch --logo ~/.local/share/arch \
+  > --logo-padding-top 2 --logo-padding-left 2 --logo-padding-right 3
+  
+ + +
+
+  
+
+                       -`   
+                     .o+`   
+                    `ooo/   
+                   `+oooo:   
+                  `+oooooo:   
+                  -+oooooo+:   
+                `/:-:++oooo+:   
+               `/++++/+++++++:   
+              `/++++++++++++++:   
+             `/+++ooooooooooooo/`   
+            ./ooosssso++osssssso+`   
+           .oossssso-````/ossssss+`   
+          -osssssso.      :ssssssso.   
+         :osssssss/        osssso+++.   
+        /ossssssss/        +ssssooo/-   
+      `/ossssso+/:-        -:/+osssso+-   
+     `+sso+:-`                 `.-/+oso:   
+    `++:.                           `-/+/   
+    .`                                 `/   
+
+  blek@nyarch
+  -----------
+  OS: Arch Linux x86_64
+  Host: To be filled by O.E.M.
+  Kernel: 6.1.36-1-lts
+  Uptime: 172 days, 3 hours, 19 mins
+  Packages: 3276 (pacman)
+  Shell: zsh 5.9
+  Display: 1920x1080 @ 120Hz
+  Best programming language: PHP
+  DE: KDE Plasma 5.27.6
+  WM: KWin (Wayland)
+  WM Theme: plastik
+  Theme: Oxygen (BreezeDark) [QT], Breeze [GTK2/3/4]
+  Icons: WhiteSur-green-dark [QT], WhiteSur-green-dark [GTK2/3/4]
+  Font: Noto Sans (10pt) [QT], Noto Sans (10pt) [GTK2/3/4]
+  Cursor: Reversal-green-dark (24px)
+  Terminal: kitty 0.28.1
+  CPU: Intel(R) Core(TM) i5-10300H (8) @ 4.5 GHz
+  GPU 1: Intel UHD Graphics
+  GPU 2: NVIDIA GeForce GTX 1050 Ti Mobile
+  Memory: 7.03 GiB / 15.49 GiB (45%)
+  Disk (/): 461 GiB / 468 GiB (98%)
+  Battery: 60% [Discharging]
+  Locale: en_US.UTF-8
+
+  ████████████████████████
+  ████████████████████████
+
+
+  blek@nyarch ~ $  
+  
+
+