diff --git a/mdsvex.config.js b/mdsvex.config.js deleted file mode 100644 index 7ce363f..0000000 --- a/mdsvex.config.js +++ /dev/null @@ -1,14 +0,0 @@ -import { defineMDSveXConfig as defineConfig } from 'mdsvex'; -import relativeImages from 'mdsvex-relative-images'; - -const config = defineConfig({ - extensions: ['.svelte.md', '.md', '.svx'], - - smartypants: { - dashes: 'oldschool' - }, - remarkPlugins: [relativeImages], - rehypePlugins: [] -}); - -export default config; diff --git a/package.json b/package.json index fa1b555..e51dfc1 100644 --- a/package.json +++ b/package.json @@ -26,8 +26,6 @@ "@zerodevx/svelte-img": "^2.1.2", "autoprefixer": "^10.4.20", "just-intersect": "^4.3.0", - "mdsvex": "^0.12.3", - "mdsvex-relative-images": "^1.0.3", "postcss": "^8.4.49", "postcss-import": "^16.1.0", "postcss-load-config": "^5.1.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1133f39..3aec5f3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -69,12 +69,6 @@ importers: just-intersect: specifier: ^4.3.0 version: 4.3.0 - mdsvex: - specifier: ^0.12.3 - version: 0.12.3(svelte@5.14.5) - mdsvex-relative-images: - specifier: ^1.0.3 - version: 1.0.3 postcss: specifier: ^8.4.49 version: 8.4.49 @@ -1260,12 +1254,6 @@ packages: '@types/resolve@1.20.2': resolution: {integrity: sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==} - '@types/unist@2.0.11': - resolution: {integrity: sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==} - - '@types/unist@2.0.6': - resolution: {integrity: sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ==} - '@unpic/core@0.1.0': resolution: {integrity: sha512-Xw6BNChpV1klga8Qe/Y4slkohMl4GLmsQCEOxx+yRrm7cMzT6covLvUMVP606YTtIFpJauh0fSZ+N2A03y80iA==} @@ -1880,9 +1868,6 @@ packages: jackspeak@3.4.3: resolution: {integrity: sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==} - just-camel-case@4.0.2: - resolution: {integrity: sha512-df6QI/EIq+6uHe/wtaa9Qq7/pp4wr4pJC/r1+7XhVL6m5j03G6h9u9/rIZr8rDASX7CxwDPQnZjffCo2e6PRLw==} - just-intersect@4.3.0: resolution: {integrity: sha512-XdAiJUmfM7VOoBUh7I4xo+0YYuzCPiV0Xf21oAmR+1j6a/P8KxJUCigZDblmURZmkIWffNziY2sbSaHrJbNcuA==} @@ -1926,14 +1911,6 @@ packages: mdn-data@2.0.30: resolution: {integrity: sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==} - mdsvex-relative-images@1.0.3: - resolution: {integrity: sha512-3XvpnaguRAhC5gchpqCH+A5Yl28xG9WDPylVla0+k90c5LT+QqSM+hwHd1v5C7gB2cAT0AIhuMsY/g6aCw+WDg==} - - mdsvex@0.12.3: - resolution: {integrity: sha512-C/uIJamjNo5PHHnR3JHqsBPoLcfUBpzRmAEB6FLMXI/s7XHOceswjDMKqSPEW2WHmYpKm0taZ3U20GSyhMridA==} - peerDependencies: - svelte: ^3.56.0 || ^4.0.0 || ^5.0.0-next.120 - micromatch@4.0.8: resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==} engines: {node: '>=8.6'} @@ -2284,13 +2261,6 @@ packages: resolution: {integrity: sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA==} engines: {node: ^10 || ^12 || >=14} - prism-svelte@0.4.7: - resolution: {integrity: sha512-yABh19CYbM24V7aS7TuPYRNMqthxwbvx6FF/Rw920YbyBWO3tnyPIqRMgHuSVsLmuHkkBS1Akyof463FVdkeDQ==} - - prismjs@1.29.0: - resolution: {integrity: sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q==} - engines: {node: '>=6'} - proxy-from-env@1.1.0: resolution: {integrity: sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==} @@ -2597,18 +2567,6 @@ packages: unicode-trie@2.0.0: resolution: {integrity: sha512-x7bc76x0bm4prf1VLg79uhAzKw8DVboClSN5VxJuQ+LKDOVEW9CdH+VY7SP+vX7xCYQqzzgQpFqz15zeLvAtZQ==} - unist-util-is@5.2.0: - resolution: {integrity: sha512-Glt17jWwZeyqrFqOK0pF1Ded5U3yzJnFr8CG1GMjCWTp9zDo2p+cmD6pWbZU8AgM5WU3IzRv6+rBwhzsGh6hBQ==} - - unist-util-stringify-position@2.0.3: - resolution: {integrity: sha512-3faScn5I+hy9VleOq/qNbAd6pAx7iH5jYBMS9I1HgQVijz/4mv5Bvw5iw1sC/90CODiKo81G/ps8AJrISn687g==} - - unist-util-visit-parents@4.1.1: - resolution: {integrity: sha512-1xAFJXAKpnnJl8G7K5KgU7FY55y3GcLIXqkzUj5QF/QVP7biUm0K0O2oqVkYsdjzJKifYeWn9+o6piAK2hGSHw==} - - unist-util-visit@3.1.0: - resolution: {integrity: sha512-Szoh+R/Ll68QWAyQyZZpQzZQm2UPbxibDvaY8Xc9SUtYgPsDzx5AWSk++UUt2hJuow8mvwR+rG+LQLw+KsuAKA==} - unpic@3.22.0: resolution: {integrity: sha512-NFhB8HgHHWkNzTxwWg6KHx8+3RZnhWFm4Axdqp9iI176iY3wskzfP16NRSJ2SSTfXzyK4W6GsBqs8iOOdvOB3g==} @@ -2624,9 +2582,6 @@ packages: vanilla-lazyload@19.1.3: resolution: {integrity: sha512-bBMERPu2AFJc35krS+8BOhq++c6dRfL6q368lJPnkS5U92fRQagTR3FsNta69/GukfZzDwDEjD5M3U7VuSiCDw==} - vfile-message@2.0.4: - resolution: {integrity: sha512-DjssxRGkMvifUOJre00juHoP9DPWuzjxKuMDrhNbk2TdaYYBNMStsNhEOt3idrtI12VQYM/1+iM0KOzXi4pxwQ==} - vite-imagetools@6.2.9: resolution: {integrity: sha512-C4ZYhgj2vAj43/TpZ06XlDNP0p/7LIeYbgUYr+xG44nM++4HGX6YZBKAYpiBNgiCFUTJ6eXkRppWBrfPMevgmg==} engines: {node: '>=12.0.0'} @@ -3681,10 +3636,6 @@ snapshots: '@types/resolve@1.20.2': {} - '@types/unist@2.0.11': {} - - '@types/unist@2.0.6': {} - '@unpic/core@0.1.0': dependencies: unpic: 3.22.0 @@ -4354,8 +4305,6 @@ snapshots: optionalDependencies: '@pkgjs/parseargs': 0.11.0 - just-camel-case@4.0.2: {} - just-intersect@4.3.0: {} kleur@4.1.5: {} @@ -4391,19 +4340,6 @@ snapshots: mdn-data@2.0.30: {} - mdsvex-relative-images@1.0.3: - dependencies: - just-camel-case: 4.0.2 - unist-util-visit: 3.1.0 - - mdsvex@0.12.3(svelte@5.14.5): - dependencies: - '@types/unist': 2.0.11 - prism-svelte: 0.4.7 - prismjs: 1.29.0 - svelte: 5.14.5 - vfile-message: 2.0.4 - micromatch@4.0.8: dependencies: braces: 3.0.3 @@ -4774,10 +4710,6 @@ snapshots: picocolors: 1.1.1 source-map-js: 1.2.1 - prism-svelte@0.4.7: {} - - prismjs@1.29.0: {} - proxy-from-env@1.1.0: {} read-cache@1.0.0: @@ -5138,23 +5070,6 @@ snapshots: pako: 0.2.9 tiny-inflate: 1.0.3 - unist-util-is@5.2.0: {} - - unist-util-stringify-position@2.0.3: - dependencies: - '@types/unist': 2.0.11 - - unist-util-visit-parents@4.1.1: - dependencies: - '@types/unist': 2.0.6 - unist-util-is: 5.2.0 - - unist-util-visit@3.1.0: - dependencies: - '@types/unist': 2.0.6 - unist-util-is: 5.2.0 - unist-util-visit-parents: 4.1.1 - unpic@3.22.0: {} update-browserslist-db@1.1.0(browserslist@4.23.3): @@ -5167,11 +5082,6 @@ snapshots: vanilla-lazyload@19.1.3: {} - vfile-message@2.0.4: - dependencies: - '@types/unist': 2.0.11 - unist-util-stringify-position: 2.0.3 - vite-imagetools@6.2.9(rollup@4.28.1): dependencies: '@rollup/pluginutils': 5.1.0(rollup@4.28.1) diff --git a/src/lib/content/portfolio/personal-website-gatsby.ts b/src/lib/content/portfolio/personal-website-gatsby.ts deleted file mode 100644 index 7bf0721..0000000 --- a/src/lib/content/portfolio/personal-website-gatsby.ts +++ /dev/null @@ -1,42 +0,0 @@ -import meta from '$lib/assets/images/portfolio/Bradley_Shellnut_New_Site.png?metadata'; -import formatMeta from '$lib/assets/images/portfolio/Bradley_Shellnut_New_Site.png?format=webp;avif;png&metadata'; -import placeholder from '$lib/assets/images/portfolio/Bradley_Shellnut_New_Site.png?w=100&png&blur=10'; - -type ImageMeta = { - format: string; - src: string; - type: string; - width: string; - height: string; -}; - -type Sources = { - srcset: URL; - type: string; - width: string; - height: string; -}; - -const { height, src, width } = meta as ImageMeta; - -const sources: Sources[] = []; -const imageFormatsMetadata: ImageMeta[] = JSON.parse(`${formatMeta}`); -for (const metadata of imageFormatsMetadata) { - sources.push({ - srcset: new URL(metadata.src), - type: `image/${metadata.format}`, - width: metadata.width, - height: metadata.height - }); -} - -const data = { - alt: 'Home Page of bradleyshellnut.com', - width, - height, - src, - sources, - placeholder -}; - -export { data as default }; diff --git a/src/lib/content/portfolio/personal/old-website.md b/src/lib/content/portfolio/personal/old-website.md deleted file mode 100644 index dc1157f..0000000 --- a/src/lib/content/portfolio/personal/old-website.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -portfolioName: 'Old Personal Website' -portfolioSubHeading: 'My first personal website.' -portfolioImage: 'Old_Website_Bradley_Shellnut.png' -portfolioImageAlt: 'Home Page of the old bradleyshellnut.com website' ---- - - - -{portfolioSubHeading} - -This was my first real personal website hosted on DigitalOcean. - -Tech stack: - -- React -- Redux -- ReactStrap for CSS grid management -- React Router for routing links in the page diff --git a/src/lib/content/portfolio/personal/personal-website-sveltekit.md b/src/lib/content/portfolio/personal/personal-website-sveltekit.md deleted file mode 100644 index 7c571b3..0000000 --- a/src/lib/content/portfolio/personal/personal-website-sveltekit.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -portfolioName: 'Personal Website' -portfolioSubHeading: 'My personal website re-written using SvelteKit.' -portfolioImage: 'Bradley_Shellnut_New_Site.png' -portfolioImageAlt: 'Home Page of bradleyshellnut.com' ---- - - - -{portfolioSubHeading} - -Tech Stack: - -- -- for the headless-ui components. -- -- -- Deployed on a Coolify Self Hosted Box -- Icons in the /about page and the Bee, Shell, and Nut icons are all made by - from - -The previous version of my website was written using React and Gatsby which you can view . - -Each iteration brings better code and my previous React version was improved after the suggestions on - of the -. - -You can view the previous archived version of the site before those changes -. \ No newline at end of file diff --git a/src/lib/content/portfolio/personal/wedding-website.md b/src/lib/content/portfolio/personal/wedding-website.md deleted file mode 100644 index 07bd3d5..0000000 --- a/src/lib/content/portfolio/personal/wedding-website.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -portfolioName: 'Wedding Website' -portfolioSubHeading: 'An application that allows viewing of wedding details and provides the ability to RSVP to the wedding.' -portfolioImage: 'Wedding_Website.png' -portfolioImageAlt: 'Wedding Website' ---- - - - -{portfolioSubHeading} - -The app was initially created for my wedding but what is linked here is a public demo of the application. - -Tech stack: - -- Next.js 13 -- React 18 -- Radix UI -- MongoDB -- Styled Components -- Next Iron Session diff --git a/src/lib/content/portfolio/professional/mark-shellnut-architect.md b/src/lib/content/portfolio/professional/mark-shellnut-architect.md deleted file mode 100644 index 68283ec..0000000 --- a/src/lib/content/portfolio/professional/mark-shellnut-architect.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -portfolioName: 'Mark Shellnut Architect' -portfolioSubHeading: 'Company website for Mark Shellnut Architect.' -portfolioImage: 'Mark_Shellnut_Architect.png' -portfolioImageAlt: "Picture of Mark Shellnut Architect's Website" ---- - - - -{portfolioSubHeading} - -Tech stack: - -- React 18 -- Gatsby 5 -- Radix UI -- Styled Components -- GraphQL -- Lambda Functions diff --git a/src/lib/content/uses/development.md b/src/lib/content/uses/development.md deleted file mode 100644 index b4ea846..0000000 --- a/src/lib/content/uses/development.md +++ /dev/null @@ -1,84 +0,0 @@ - - -## Development - -My development setup has been documented here: Computer Setup Info. - -And documentation for my terminal and coding setup can be found here: Dotfiles. - -### Terminal & Shell Setup - -
    -
  • - Linux default terminal running ZSH and Starship. -
  • -
  • - Mac: iTerm2 -
  • -
  • - Oh My Zsh -
      -
    • - Z -
    • -
    • - zsh-autosuggestions -
    • -
    • - zsh-syntax-highlighting -
    • -
    -
  • -
- -### Useful System Packages - -- Linux Brew -- Homebrew -- TLDR Man Pages -- Trash-CLI - -### Software - -
    -
  • - VSCodium -
      -
    • - My extensions list: VSCode Extensions List -
    • -
    -
  • - Sublime Text 3 -
      -
    • My Packages List: Sublime Text Packages List -
    • -
    -
  • -
  • - IntelliJ Ultimate -
      -
    • My Plugins List: IntelliJ Plugins -
    • -
    -
  • -
- -### Useful Applications - -- Postman - -### Browsers - -- Brave Browser -- Firefox - - diff --git a/src/lib/content/uses/hardware-accessories.md b/src/lib/content/uses/hardware-accessories.md deleted file mode 100644 index c09674b..0000000 --- a/src/lib/content/uses/hardware-accessories.md +++ /dev/null @@ -1,17 +0,0 @@ -## Hardware & Accessories - -- MacBook Pro 15-inch for work. -- Personal desktop running [PopOS](https://pop.system76.com/ 'PopOS Linux Distro'). -- Dell XPS 13 running PopOS. -- Phone 📱: Pixel 6 running [GrapheneOS](https://grapheneos.org/). -- Keyboard ⌨️: [Ducky Keyboard](https://www.duckychannel.com.tw/en/Ducky-One2-RGB-TKL 'Ducky One 2 RGB TKL Keyboard') -- Mouse 🖱️: [Logitech G502 Gaming Mouse](https://www.amazon.com/Logitech-G502-Performance-Gaming-Mouse/dp/B07GBZ4Q68 'Logitech G502 Gaming Mouse') -- Chair 🪑: [SecretLab Omega 2020 Fabric](https://secretlabus.myshopify.com/collections/omega-series#omega_2020-stealth 'Secretlab Omega 2020 Fabric') -- Monitor 🖥️: [Samsung Odyssey G7 Gaming Monitor](https://www.samsung.com/us/computing/monitors/gaming/32--odyssey-g7-gaming-monitor-lc32g75tqsnxza/ 'Samsung Odyssey G7 Gaming Monitor') - - diff --git a/src/lib/content/uses/privacy-hardware-software.md b/src/lib/content/uses/privacy-hardware-software.md deleted file mode 100644 index bc13ec6..0000000 --- a/src/lib/content/uses/privacy-hardware-software.md +++ /dev/null @@ -1,24 +0,0 @@ - - -## Privacy Hardware and Software - -For the past few years I've been working towards moving my data to self-hosted systems and systems I trust to hold my data. - -If you want to see more info about this head to my Privacy page. - -### Hardware Authentication - -- YubiKey 5C - -### NAS Servers - -- Synology DS918+ - - diff --git a/svelte.config.js b/svelte.config.js index 88ca00e..216b3b2 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -1,14 +1,12 @@ import adapter from '@sveltejs/adapter-node'; import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'; -import { mdsvex } from 'mdsvex'; -import mdsvexConfig from './mdsvex.config.js'; /** @type {import('@sveltejs/kit').Config} */ const config = { // Consult https://kit.svelte.dev/docs/integrations#preprocessors // for more information about preprocessors - extensions: ['.svelte', ...mdsvexConfig.extensions], - preprocess: [vitePreprocess(), mdsvex(mdsvexConfig)], + extensions: ['.svelte'], + preprocess: [vitePreprocess()], vitePlugin: { inspector: { toggleKeyCombo: 'control-alt-shift',