Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ updates:
# Check for updates once a week
schedule:
interval: "weekly"
target-branch: "dev"
target-branch: "main"

# Enable version updates for Github Actions
- package-ecosystem: "github-actions"
Expand Down
28 changes: 10 additions & 18 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,18 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v3.8.1
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
node-version: "16"
# Cache node_modules for faster CI runs if the yarn.lock doesn't change change
- name: Get yarn cache directory path
id: yarn-cache-dir
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Restore yarn cache
uses: actions/cache@v3
id: yarn-cache
version: 9
- name: Setup Node
uses: actions/setup-node@v4
with:
path: ${{ steps.yarn-cache-dir.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
# Throw an error if the yarn.lock file doesn't match the installed dependencies (rather than updating it in-place, which it does by default locally)
node-version: "20"
cache: "pnpm"
- name: Install
run: yarn install --frozen-lockfile --silent
run: pnpm install --frozen-lockfile
- name: Lint
run: yarn lint
run: pnpm lint
- name: Typecheck
run: yarn typecheck
run: pnpm typecheck
3 changes: 1 addition & 2 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
"eamodio.gitlens",
"christian-kohler.npm-intellisense",
"esbenp.prettier-vscode",
"prisma.prisma",
"styled-components.vscode-styled-components",
"styled-components.vscode-styled-components",
"redhat.vscode-yaml",
"formulahendry.auto-close-tag",
"formulahendry.auto-rename-tag",
Expand Down
11 changes: 5 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Contributing

No contribution is too small, and we welcome your help. You can help make this project better by:
Contributions are welcome! Here are some ways you can help:

- Reporting and fixing bugs
- Improving documentation
Expand All @@ -11,12 +11,11 @@ No contribution is too small, and we welcome your help. You can help make this p

If you see something you want to work on, please keep in mind:

- Never commit directly to `main` or `dev` branches
- Always checkout a new branch from `dev`
- Always keep `dev` up to date and stable (i.e. working without critical failures)
- When you're done and ready to merge your code, open a pull request from your branch to `dev`
- Never commit directly to `main`
- Always checkout a new branch from `main`
- When you're done and ready to merge your code, open a pull request to `main`

PR titles should follow the [Conventional Commits spec](https://www.conventionalcommits.org/en/v1.0.0/#summary) and commit titles, the [Commits spec](https://www.conventionalcommits.org/en/v1.0.0/#summary).
PR titles should follow the [Conventional Commits spec](https://www.conventionalcommits.org/en/v1.0.0/#summary).

Example PR title:

Expand Down
29 changes: 24 additions & 5 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,9 +1,28 @@
MIT License
Business Source License 1.1

Copyright (c) [2024] [thatalexpalmer.eth]
License text copyright © 2017 MariaDB Corporation Ab, All Rights Reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
“Business Source License” is a trademark of MariaDB Corporation Ab.

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
Parameters

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Licensor: PALMER.EARTH CORP
Licensed Work: Transfer Agent Protocol (TAP) application and frontend code
Additional Use Grant: None
Change Date: January 1, 2028
Change License: GNU General Public License version 2.0 or later

Terms
The Licensor hereby grants you the right to copy, modify, create derivative works, redistribute, and make non-production use of the Licensed Work. The Licensor may make an Additional Use Grant, above, permitting limited production use.

Effective on the Change Date, or the fourth anniversary of the first publicly available distribution of a specific version of the Licensed Work under this License, whichever comes first, the Licensor hereby grants you rights under the terms of the Change License, and the rights granted in the paragraph above terminate.
If your use of the Licensed Work does not comply with the requirements currently in effect as described in this License, you must purchase a commercial license from the Licensor, its affiliated entities, or authorized resellers, or you must refrain from using the Licensed Work.

All copies of the original and modified Licensed Work, and derivative works of the Licensed Work, are subject to this License. This License applies separately for each version of the Licensed Work and the Change Date may vary for each version of the Licensed Work released by Licensor.

You must conspicuously display this License on each original or modified copy of the Licensed Work. If you receive the Licensed Work in original or modified form from a third party, the terms and conditions set forth in this License apply to your use of that work.

Any use of the Licensed Work in violation of this License will automatically terminate your rights under this License for the current and all other versions of the Licensed Work.
This License does not grant you any right in any trademark or logo of Licensor or its affiliates (provided that you may use a trademark or logo of Licensor as expressly required by this License).

TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON AN “AS IS” BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS, EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND TITLE.
55 changes: 55 additions & 0 deletions WARP.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# WARP.md

This file provides guidance to WARP (warp.dev) when working with code in this repository.

## Overview

Transfer Agent Protocol (TAP) frontend and landing page - a Next.js site using styled-components for styling.

## Commands

```bash
# Development server
pnpm dev

# Production build (includes sitemap generation)
pnpm build

# Start production server
pnpm start

# Type checking
pnpm typecheck

# Linting
pnpm lint
```

## Architecture

### Tech Stack
- **Framework**: Next.js (Pages Router)
- **Styling**: styled-components with ThemeProvider
- **Font**: IBM Plex Mono (loaded via next/font)

### Project Structure
- `src/pages/` - Next.js pages (`_app.tsx` wraps all pages with theme/layout)
- `src/components/` - Reusable styled components
- `theme.tsx` - Design tokens (colors, fontSizes, lineHeights, borderRadius)
- `typography.tsx` - Text components (H1, H2, H3, P, etc.)
- `layout.tsx` - Main layout wrapper with Navbar and Footer
- `wrappers.tsx` - Layout containers

### Theming

The theme is defined in `src/components/theme.tsx` and typed in `styled.d.ts`. Available properties:
- `colors`: background, main, input, text, accent, outline
- `fontSizes`: H1, H2, H3, large, medium, baseline, small
- `lineHeights`: H1, H2, H3, P
- `borderRadius`: none, main

**Note:** `fontWeight` only has 'thin', 'normal', and 'bold' - no 'light' property.

## Git Workflow

PR titles should follow [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/#summary) (e.g., `feat(ui): add new component`).
3 changes: 2 additions & 1 deletion next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
/// <reference path="./.next/types/routes.d.ts" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.
1 change: 0 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

const nextConfig = {
reactStrictMode: true,
swcMinify: true,
compiler: {
styledComponents: true,
},
Expand Down
23 changes: 11 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,29 @@
"start": "next start",
"typecheck": "tsc --noEmit",
"typeycheck:watch": "yarn type-check -- --watch",
"start:ci": "INSECURE_AUTH=true yarn run start",
"start:ci": "INSECURE_AUTH=true pnpm run start",
"eslint": "eslint --cache --cache-location=node_modules/.cache/.eslintcache --fix",
"lint": "next lint"
},
"dependencies": {
"@next/env": "^13.2.4",
"next": "^13.4.3",
"next-sitemap": "^4.0.6",
"next": "^15.5.9",
"next-sitemap": "^4.2.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-gtm-module": "^2.0.11",
"react-is": "^18.2.0",
"styled-components": "^5.3.9"
},
"devDependencies": {
"@types/node": "^18.15.11",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"@types/node": "^20.0.0",
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.0",
"@types/styled-components": "^5.1.26",
"eslint": "^8.37.0",
"eslint-config-next": "^13.2.4",
"eslint-config-prettier": "^8.8.0",
"prettier": "^2.8.7",
"typescript": "4.5.2"
"eslint": "^8.57.0",
"eslint-config-next": "^15.5.9",
"eslint-config-prettier": "^9.1.0",
"prettier": "^3.4.0",
"typescript": "^5.7.0"
},
"browserslist": [
"defaults",
Expand Down
Loading