Compare commits
3 commits
8791a7d439
...
b48e27ad43
Author | SHA1 | Date | |
---|---|---|---|
![]() |
b48e27ad43 | ||
![]() |
7aec5d2e6f | ||
![]() |
e7effbfba4 |
6 changed files with 18 additions and 115 deletions
|
@ -1,19 +1,16 @@
|
||||||
{
|
{
|
||||||
"name": "www-aaronjy-2024",
|
"name": "www-aaronjy-2024",
|
||||||
"version": "1.3.0.0",
|
"version": "1.3.1.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
"server": "npx decap-server",
|
|
||||||
"build": "next build",
|
"build": "next build",
|
||||||
"docker:build": "docker build -t www-aaronjy-2024 .",
|
|
||||||
"postbuild": "next-sitemap --config next-sitemap.config.cjs",
|
"postbuild": "next-sitemap --config next-sitemap.config.cjs",
|
||||||
"start": "next start",
|
"start": "next start",
|
||||||
"link": "npx standard",
|
"link": "npx standard",
|
||||||
"format": "npx standard --fix",
|
"format": "npx standard --fix",
|
||||||
"prepare": "husky",
|
"prepare": "husky",
|
||||||
"deploy": "./util/pre-deploy.sh && ./util/deploy-gcloud.sh",
|
|
||||||
"test": "jest --verbose --passWithNoTests",
|
"test": "jest --verbose --passWithNoTests",
|
||||||
"lint": "next lint"
|
"lint": "next lint"
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,79 +0,0 @@
|
||||||
local_backend: true
|
|
||||||
backend:
|
|
||||||
name: git-gateway
|
|
||||||
branch: main # Branch to update (optional; defaults to master)
|
|
||||||
media_folder: public/img
|
|
||||||
public_folder: img
|
|
||||||
collections:
|
|
||||||
- name: recipes
|
|
||||||
label: Recipes
|
|
||||||
folder: content/recipes
|
|
||||||
create: true
|
|
||||||
fields:
|
|
||||||
- {label: Title, name: title, widget: string}
|
|
||||||
- {label: "Publish Date", name: pubdate, widget: datetime, required: false, default: "" }
|
|
||||||
- {label: Description, name: desc, widget: text}
|
|
||||||
- {label: Body, name: body, widget: markdown }
|
|
||||||
|
|
||||||
- name: writing
|
|
||||||
label: Writing
|
|
||||||
folder: content/writing
|
|
||||||
create: true
|
|
||||||
fields:
|
|
||||||
- {label: Title, name: title, widget: string}
|
|
||||||
- {label: "Publish Date", name: pubdate, widget: datetime, required: false, default: "" }
|
|
||||||
- {label: Description, name: desc, widget: text}
|
|
||||||
- {label: Body, name: body, widget: markdown }
|
|
||||||
|
|
||||||
- name: fun
|
|
||||||
label: Fun
|
|
||||||
folder: content/fun
|
|
||||||
create: true
|
|
||||||
fields:
|
|
||||||
- {label: Title, name: title, widget: string}
|
|
||||||
- {label: "Publish Date", name: pubdate, widget: datetime, required: false, default: "" }
|
|
||||||
- {label: Description, name: desc, widget: text}
|
|
||||||
- {label: Body, name: body, widget: markdown }
|
|
||||||
|
|
||||||
- name: "pages"
|
|
||||||
label: "Pages"
|
|
||||||
files:
|
|
||||||
- label: "CV"
|
|
||||||
name: "cv"
|
|
||||||
file: "content/pages/cv.yml"
|
|
||||||
fields:
|
|
||||||
- label: Core competencies
|
|
||||||
widget: list
|
|
||||||
name: competencies
|
|
||||||
allow_add: true
|
|
||||||
- label: Education history
|
|
||||||
widget: list
|
|
||||||
name: education
|
|
||||||
allow_add: true
|
|
||||||
- label: Certifications
|
|
||||||
widget: list
|
|
||||||
name: certifications
|
|
||||||
allow_add: true
|
|
||||||
- label: Languages
|
|
||||||
widget: list
|
|
||||||
name: languages
|
|
||||||
allow_add: true
|
|
||||||
fields:
|
|
||||||
- {label: "Name", name: name, widget: string }
|
|
||||||
- {label: "Proficiency", name: proficiency, widget: string }
|
|
||||||
- label: Technical skills
|
|
||||||
widget: list
|
|
||||||
name: tech-skills
|
|
||||||
- label: Professional experience
|
|
||||||
name: experience
|
|
||||||
widget: list
|
|
||||||
fields:
|
|
||||||
- { label: Position, name: position, widget: string }
|
|
||||||
- { label: Employer, name: employer, widget: string }
|
|
||||||
- { label: Start date, name: start, widget: string }
|
|
||||||
- { label: End date, name: end, widget: string }
|
|
||||||
- { label: Description, name: desc, widget: markdown }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
<!doctype html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
||||||
<title>Content Manager</title>
|
|
||||||
<!-- <script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script> -->
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<!-- Include the script that builds the page and powers Decap CMS -->
|
|
||||||
<script src="https://unpkg.com/decap-cms@^3.0.0/dist/decap-cms.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,12 +1,12 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
|
||||||
<url><loc>https://www.aaronjy.me/</loc><lastmod>2025-03-16T12:07:35.190Z</lastmod><changefreq>weekly</changefreq><priority>0.7</priority></url>
|
<url><loc>https://www.aaronjy.me/</loc><lastmod>2025-03-16T12:16:17.709Z</lastmod><changefreq>weekly</changefreq><priority>0.7</priority></url>
|
||||||
<url><loc>https://www.aaronjy.me/about/</loc><lastmod>2025-03-16T12:07:35.190Z</lastmod><changefreq>weekly</changefreq><priority>0.7</priority></url>
|
<url><loc>https://www.aaronjy.me/about/</loc><lastmod>2025-03-16T12:16:17.709Z</lastmod><changefreq>weekly</changefreq><priority>0.7</priority></url>
|
||||||
<url><loc>https://www.aaronjy.me/cv/</loc><lastmod>2025-03-16T12:07:35.190Z</lastmod><changefreq>weekly</changefreq><priority>0.7</priority></url>
|
<url><loc>https://www.aaronjy.me/cv/</loc><lastmod>2025-03-16T12:16:17.709Z</lastmod><changefreq>weekly</changefreq><priority>0.7</priority></url>
|
||||||
<url><loc>https://www.aaronjy.me/writing/</loc><lastmod>2025-03-16T12:07:35.190Z</lastmod><changefreq>weekly</changefreq><priority>0.7</priority></url>
|
<url><loc>https://www.aaronjy.me/writing/</loc><lastmod>2025-03-16T12:16:17.709Z</lastmod><changefreq>weekly</changefreq><priority>0.7</priority></url>
|
||||||
<url><loc>https://www.aaronjy.me/writing/moving-from-github-to-forgejo/</loc><lastmod>2025-03-16T12:07:35.190Z</lastmod><changefreq>weekly</changefreq><priority>0.7</priority></url>
|
<url><loc>https://www.aaronjy.me/writing/moving-from-github-to-forgejo/</loc><lastmod>2025-03-16T12:16:17.709Z</lastmod><changefreq>weekly</changefreq><priority>0.7</priority></url>
|
||||||
<url><loc>https://www.aaronjy.me/writing/performance-considerations-tcp-game-server/</loc><lastmod>2025-03-16T12:07:35.190Z</lastmod><changefreq>weekly</changefreq><priority>0.7</priority></url>
|
<url><loc>https://www.aaronjy.me/writing/performance-considerations-tcp-game-server/</loc><lastmod>2025-03-16T12:16:17.709Z</lastmod><changefreq>weekly</changefreq><priority>0.7</priority></url>
|
||||||
<url><loc>https://www.aaronjy.me/writing/quick-reflection-katherine-may/</loc><lastmod>2025-03-16T12:07:35.190Z</lastmod><changefreq>weekly</changefreq><priority>0.7</priority></url>
|
<url><loc>https://www.aaronjy.me/writing/quick-reflection-katherine-may/</loc><lastmod>2025-03-16T12:16:17.709Z</lastmod><changefreq>weekly</changefreq><priority>0.7</priority></url>
|
||||||
<url><loc>https://www.aaronjy.me/writing/static-site-on-google-cloud/</loc><lastmod>2025-03-16T12:07:35.190Z</lastmod><changefreq>weekly</changefreq><priority>0.7</priority></url>
|
<url><loc>https://www.aaronjy.me/writing/static-site-on-google-cloud/</loc><lastmod>2025-03-16T12:16:17.709Z</lastmod><changefreq>weekly</changefreq><priority>0.7</priority></url>
|
||||||
<url><loc>https://www.aaronjy.me/writing/support-content-filte-structure-changes-on-a-static-site/</loc><lastmod>2025-03-16T12:07:35.190Z</lastmod><changefreq>weekly</changefreq><priority>0.7</priority></url>
|
<url><loc>https://www.aaronjy.me/writing/support-content-filte-structure-changes-on-a-static-site/</loc><lastmod>2025-03-16T12:16:17.709Z</lastmod><changefreq>weekly</changefreq><priority>0.7</priority></url>
|
||||||
</urlset>
|
</urlset>
|
|
@ -1,9 +1,15 @@
|
||||||
import { formatDate } from '@/lib/helpers'
|
import { formatDate } from '@/lib/helpers'
|
||||||
import { NextSeo } from 'next-seo'
|
import { NextSeo } from 'next-seo'
|
||||||
import Link from 'next/link'
|
import Link from 'next/link'
|
||||||
import React from 'react'
|
import React, { useEffect } from 'react'
|
||||||
|
|
||||||
|
import 'highlight.js/styles/atom-one-dark.css'
|
||||||
|
import hljs from 'highlight.js'
|
||||||
|
|
||||||
function Article ({ attributes, html }) {
|
function Article ({ attributes, html }) {
|
||||||
|
useEffect(() => {
|
||||||
|
hljs.highlightAll()
|
||||||
|
}, [attributes, html])
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<h1>{attributes.title}</h1>
|
<h1>{attributes.title}</h1>
|
||||||
|
|
|
@ -1,15 +1,7 @@
|
||||||
import '@/styles/globals.css'
|
|
||||||
import 'highlight.js/styles/atom-one-dark.css'
|
|
||||||
|
|
||||||
import hljs from 'highlight.js'
|
|
||||||
import { DefaultSeo } from 'next-seo'
|
import { DefaultSeo } from 'next-seo'
|
||||||
import { useEffect } from 'react'
|
import '@/styles/globals.css'
|
||||||
|
|
||||||
export default function App ({ Component, pageProps }) {
|
export default function App ({ Component, pageProps }) {
|
||||||
useEffect(() => {
|
|
||||||
hljs.highlightAll()
|
|
||||||
}, [Component])
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<DefaultSeo defaultTitle='Aaron Yarborough' titleTemplate='%s | Aaron Yarborough' />
|
<DefaultSeo defaultTitle='Aaron Yarborough' titleTemplate='%s | Aaron Yarborough' />
|
||||||
|
|
Loading…
Add table
Reference in a new issue