Changed header links and added auto deployment
Some checks failed
Build docker container / build (push) Failing after 3m55s

This commit is contained in:
Jonathan Branan 2024-10-20 00:07:34 -05:00
parent 4b4e1855a8
commit 16bbec99e2
11 changed files with 20 additions and 110 deletions

View File

@ -28,3 +28,10 @@ jobs:
with:
push: true
tags: git.jonb.io/jblu/jonbio:latest
-
name: Deploy App
uses: fjogeleit/http-request-action@v1
with:
url: 'http://watchtowerr:8080/v1/update'
method: 'GET'
customHeaders: '{"Authorization: Bearer ${{ secrets.DEPLOYTOKEN }}"}'

3
.github/FUNDING.yml vendored
View File

@ -1,3 +0,0 @@
# These are supported funding model platforms
github: timlrx

View File

@ -1,39 +0,0 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**System Info (if dev / build issue):**
- OS: [e.g. iOS]
- Node version (please ensure you are using 18+)
- Npm version
**Browser Info (if display / formatting issue):**
- Device [e.g. Desktop, iPhone6]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
**Additional context**
Add any other context about the problem here.

View File

@ -1,19 +0,0 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

View File

@ -1,35 +0,0 @@
# Inspired from https://github.com/actions/starter-workflows/blob/main/pages/nextjs.yml
name: Build docker container
on:
push:
branches: main
workflow_dispatch:
concurrency:
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: yarn
- id: configurepages
uses: actions/configure-pages@v5
- name: Restore cache
uses: actions/cache@v4
with:
path: .next/cache
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
restore-keys: |
${{ runner.os }}-nextjs-${{ hashFiles('**/yarn.lock') }}-
- run: yarn
- run: yarn build
env:
EXPORT: 1
UNOPTIMIZED: 1
BASE_PATH: ${{ steps.configurepages.outputs.base_path }}

3
app/likes/page.tsx Normal file
View File

@ -0,0 +1,3 @@
export default function Page() {
return <div>hello world</div>
}

View File

@ -13,7 +13,7 @@ export default function Projects() {
Projects
</h1>
<p className="text-lg leading-7 text-gray-500 dark:text-gray-400">
Spit, Grit and a whole lotta duct tape - Penguins of Madagascar
Spit, Grit and a whole lotta duct tape!
</p>
</div>
<div className="container py-12">

View File

@ -1,9 +1 @@
<<<<<<< HEAD
{"cygnus":1,"self-hosted":1,"server":1}
=======
<<<<<<< HEAD
{"cygnus":1,"self-hosted":1,"server":1}
=======
{"next-js":3,"tailwind":2,"guide":4,"feature":1,"yoyoyoy":1,"github":1,"writings":1,"book":1,"reflection":1,"markdown":1,"code":1,"features":1}
>>>>>>> 51e22599dd61ce72b15ba79601cfaa60af0167be
>>>>>>> a93804668182c04006ab6631e678fef61944d196
{"cygnus":1,"self-hosted":1,"server":1}

View File

@ -25,9 +25,7 @@ export default function Footer() {
<Link href="/">{siteMetadata.title}</Link>
</div>
<div className="mb-8 text-sm text-gray-500 dark:text-gray-400">
<Link href="https://github.com/timlrx/tailwind-nextjs-starter-blog">
Tailwind Nextjs Theme
</Link>
<Link href="https://github.com/timlrx/tailwind-nextjs-starter-blog">Theme</Link>
</div>
</div>
</footer>

View File

@ -28,8 +28,10 @@ const Header = () => {
)}
</div>
</Link>
{/* Changed this so I can get all of my links in the header 10-19-2024. Backup Config */}
<div className="flex items-center space-x-4 leading-5 sm:space-x-6">
<div className="no-scrollbar hidden max-w-40 items-center space-x-4 overflow-x-auto sm:flex sm:space-x-6 md:max-w-72 lg:max-w-96">
<div className="no-scrollbar max-w-50 hidden items-center space-x-4 overflow-x-auto sm:flex md:flex lg:flex">
{/* <div className="no-scrollbar hidden max-w-50 items-center space-x-4 overflow-x-auto sm:flex sm:space-x-6 md:max-w-72 lg:max-w-96"> */}
{headerNavLinks
.filter((link) => link.href !== '/')
.map((link) => (

View File

@ -1,6 +1,10 @@
const headerNavLinks = [
{ href: '/', title: 'Home' },
{ href: '/blog', title: 'Blog' },
{ href: 'https://git.jonb.io/', title: 'Code' },
{ href: 'https://up.jonb.io/status/default', title: 'Status' },
{ href: 'https://castlemine-map.jonb.io/', title: 'Castlemine Map' },
{ href: '/likes', title: 'Likes' },
{ href: '/tags', title: 'Tags' },
{ href: '/projects', title: 'Projects' },
{ href: '/about', title: 'About' },