feat: add portfolio site
This commit is contained in:
parent
8090f62f1e
commit
4a6d765c86
80 changed files with 3891 additions and 1248 deletions
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
name: developomp-site
|
||||
overview: my websites for blogging, portfolio, resume, etc.
|
||||
image: /img/portfolio/developomp.com.png
|
||||
image: /img/portfolio/developomp.com.avif
|
||||
repo: https://github.com/developomp/developomp-site
|
||||
badges:
|
||||
- githubactions
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
name: Exyle.io
|
||||
overview: A free and simple community-driven competitive online multiplayer fps game
|
||||
image: /img/portfolio/exyleio.png
|
||||
image: /img/portfolio/exyleio.avif
|
||||
repo: https://github.com/exyleio
|
||||
badges:
|
||||
- githubactions
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
name: Arch Linux setup script
|
||||
overview: My Arch Linux desktop setup
|
||||
image: /img/portfolio/linux-setup-script.png
|
||||
image: /img/portfolio/linux-setup-script.avif
|
||||
repo: https://github.com/developomp/setup
|
||||
badges:
|
||||
- githubpages
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
name: Llama Bot
|
||||
overview: A discord bot.
|
||||
image: /img/portfolio/llama-bot.png
|
||||
image: /img/portfolio/llama-bot.avif
|
||||
repo: https://github.com/developomp/llama-bot
|
||||
badges:
|
||||
- nodedotjs
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
name: Mocha Downloader
|
||||
overview: A cross-platform desktop download manager built with web technologies.
|
||||
image: /img/portfolio/mocha-downloader.png
|
||||
image: /img/portfolio/mocha-downloader.avif
|
||||
repo: https://github.com/Mocha-Downloader
|
||||
badges:
|
||||
- githubactions
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
name: pomky
|
||||
overview: A gtk-based, [conky](https://github.com/brndnmtthws/conky)-like system monitor written in rust.
|
||||
image: /img/portfolio/pomky.png
|
||||
image: /img/portfolio/pomky.avif
|
||||
repo: https://github.com/developomp/pomky
|
||||
badges:
|
||||
- rust
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
name: War Brokers Mods
|
||||
overview: A game mod for a unity game. Provides in-game UI and OBS overlays.
|
||||
image: /img/portfolio/wbm.png
|
||||
image: /img/portfolio/wbm.avif
|
||||
repo: https://github.com/War-Brokers-Mods
|
||||
badges:
|
||||
- githubactions
|
||||
|
@ -28,7 +28,7 @@ Built with C#, it uses [BepInEx](https://github.com/BepInEx/BepInEx) framework t
|
|||
## OBS Overlay
|
||||
|
||||
<p align="center">
|
||||
<img alt="Overlay image" src="/img/portfolio/wbm-overlays.png" />
|
||||
<img alt="Overlay image" src="/img/portfolio/wbm-overlays.avif" />
|
||||
</p>
|
||||
|
||||
Overlays for [OBS studio](https://github.com/obsproject/obs-studio). Built with standard web technologies (html, css, js).
|
||||
|
@ -36,7 +36,7 @@ Overlays for [OBS studio](https://github.com/obsproject/obs-studio). Built with
|
|||
## Installer
|
||||
|
||||
<p align="center">
|
||||
<img alt="Installer image" src="/img/portfolio/wbm-installer.png" />
|
||||
<img alt="Installer image" src="/img/portfolio/wbm-installer.avif" />
|
||||
</p>
|
||||
|
||||
A simple cross-platform installer and update manager. Built with [tauri](https://github.com/tauri-apps/tauri), [rust](https://github.com/rust-lang/rust), [svelte](https://github.com/sveltejs/svelte), and [tailwind css](https://github.com/tailwindlabs/tailwindcss).
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
name: War Brokers Timeline
|
||||
overview: A list of events happened in the War Brokers community in a chronological order.
|
||||
image: /img/portfolio/wbtimeline.png
|
||||
image: /img/portfolio/wbtimeline.avif
|
||||
repo: https://github.com/developomp/wbtimeline
|
||||
badges:
|
||||
- githubactions
|
|
@ -63,7 +63,7 @@ if (!fs.lstatSync(markdownPath + "/series").isDirectory())
|
|||
recursiveParse(ParseMode.POSTS, markdownPath + "/posts")
|
||||
recursiveParse(ParseMode.UNSEARCHABLE, markdownPath + "/unsearchable")
|
||||
recursiveParse(ParseMode.SERIES, markdownPath + "/series")
|
||||
recursiveParse(ParseMode.PORTFOLIO, markdownPath + "/portfolio")
|
||||
recursiveParse(ParseMode.PORTFOLIO, markdownPath + "/projects")
|
||||
|
||||
/**
|
||||
* Post-process
|
||||
|
|
|
@ -7,7 +7,7 @@ import parseMarkdown from "../parseMarkdown"
|
|||
import parsePost from "./parsePost"
|
||||
import parseSeries from "./parseSeries"
|
||||
import parseUnsearchable from "./parseUnsearchable"
|
||||
import parsePortfolio from "./parsePortfolio"
|
||||
import parseProjects from "./parseProjects"
|
||||
|
||||
import { ParseMode } from "../types/types"
|
||||
|
||||
|
@ -102,7 +102,7 @@ function parseFile(mode: ParseMode, path: string): void {
|
|||
break
|
||||
|
||||
case ParseMode.PORTFOLIO:
|
||||
parsePortfolio(dataToPass)
|
||||
parseProjects(dataToPass)
|
||||
break
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@ import { writeToFile } from "../util"
|
|||
import { portfolioData } from ".."
|
||||
import { DataToPass } from "."
|
||||
|
||||
export default function parsePortfolio(data: DataToPass): void {
|
||||
export default function parseProjects(data: DataToPass): void {
|
||||
const { urlPath, markdownRaw, markdownData } = data
|
||||
|
||||
if (markdownData.badges) {
|
||||
|
@ -35,7 +35,8 @@ export default function parsePortfolio(data: DataToPass): void {
|
|||
})
|
||||
}
|
||||
|
||||
portfolioData.projects[urlPath] = {
|
||||
// remove /projects/ prefix
|
||||
portfolioData.projects[urlPath.replace("/projects/", "")] = {
|
||||
name: markdownData.name as string,
|
||||
image: markdownData.image as string,
|
||||
overview: markdownData.overview as string,
|
Loading…
Add table
Add a link
Reference in a new issue