Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
7e8e3e1
start
kennething Dec 4, 2024
59cdd88
start layout
kennething Dec 4, 2024
8d852ba
home
kennething Dec 5, 2024
996edab
transitions
kennething Dec 5, 2024
8e2b045
theming
kennething Dec 5, 2024
eca0252
prettier
kennething Dec 5, 2024
59aefbd
contact and home
kennething Dec 6, 2024
14c3641
carousel
kennething Dec 6, 2024
7689b7c
mail editor and media queries
kennething Dec 9, 2024
1e3d736
ios styling
kennething Dec 9, 2024
1b2fd13
more ios styling
kennething Dec 9, 2024
2ee5516
fixes
kennething Dec 9, 2024
d7dbd77
fix resize listener
kennething Dec 9, 2024
03ebe3e
format if quill empty
kennething Dec 9, 2024
1d81444
fix #W appended to start of text
kennething Dec 9, 2024
917e459
Update README.md
kennething Dec 9, 2024
c873a63
almost fix formattting clear on indent
kennething Dec 10, 2024
0fcd560
change svh to dvh
kennething Dec 10, 2024
b7f6831
fix formattting clear on indent
kennething Dec 11, 2024
1d2f794
add coordinate formatting
kennething Dec 11, 2024
cd36158
disable spellcheck
kennething Dec 11, 2024
329c44b
start mail template
kennething Dec 11, 2024
949b2de
Squashed commit of the following:
kennething Dec 11, 2024
a318fa6
coordinates reset color after
kennething Dec 11, 2024
535a276
format color if not auto refocused
kennething Dec 11, 2024
6f09b28
Merge branch 'redesign' into beta
kennething Dec 11, 2024
5119dbd
input IL formatting
kennething Dec 11, 2024
aa9608e
offset selection if code
kennething Dec 11, 2024
28acfed
maybe
kennething Dec 12, 2024
bc8df0d
Merge branch 'redesign' into beta
kennething Dec 12, 2024
b99e471
debug logs
kennething Dec 12, 2024
51bb1db
stringify debug logs
kennething Dec 12, 2024
e7c94fc
update debug logs
kennething Dec 12, 2024
441dae3
Update Quill.client.vue
kennething Dec 12, 2024
0bb664f
Squashed commit of the following:
kennething Dec 12, 2024
9cf7a41
mail templates
kennething Dec 12, 2024
b5d2217
Update Quill.client.vue
kennething Dec 13, 2024
5836931
fix text duplication on delete
kennething Dec 13, 2024
aa01862
remove test logs
kennething Dec 13, 2024
86da52b
Merge branch 'redesign' into beta
kennething Dec 13, 2024
cbdeca1
fix backwards formatting
kennething Dec 13, 2024
52e744e
Merge branch 'redesign' into beta
kennething Dec 13, 2024
2659b2c
aaaaaa
kennething Dec 13, 2024
fd7a2c2
templates
kennething Dec 16, 2024
49a437f
Update Quill.client.vue
kennething Dec 17, 2024
7953a99
Update Quill.client.vue
kennething Dec 17, 2024
c8530e3
finish mail editor
kennething Dec 24, 2024
32a4ca0
Merge branch 'redesign' into beta
kennething Dec 24, 2024
8d48e79
refactoring
kennething Dec 24, 2024
be54677
Merge branch 'redesign' into beta
kennething Dec 24, 2024
843461f
more refactoring and start ra helper
kennething Dec 25, 2024
ee73adf
finish ra helper
kennething Dec 26, 2024
7921c06
Merge branch 'redesign' into beta
kennething Dec 26, 2024
9a32b3f
remove logs
kennething Dec 26, 2024
73ab4c4
ios bugs
kennething Dec 26, 2024
9bf25ad
ios search fix
kennething Dec 26, 2024
002d64a
Merge branch 'redesign' into beta
kennething Dec 26, 2024
3a9e47a
finish blueprint tracker
kennething Dec 28, 2024
25122ae
Merge branch 'redesign' into beta
kennething Dec 28, 2024
9894c44
cleanup
kennething Dec 28, 2024
f9ba7ab
Merge branch 'redesign' into beta
kennething Dec 28, 2024
c9db48f
seo
kennething Dec 28, 2024
049de4c
more stuff
kennething Dec 28, 2024
cd98387
more stuff
kennething Dec 28, 2024
a3322ed
seo fixes
kennething Dec 28, 2024
68bc122
Merge branch 'redesign' into beta
kennething Dec 28, 2024
3658abf
hoist route
kennething Dec 28, 2024
aeaf71d
more cleanup
kennething Dec 29, 2024
cddb336
bp storage optimization
kennething Jan 10, 2025
a81bed2
seo maybe
kennething Jan 10, 2025
7caeaea
clientonly dates
kennething Jan 10, 2025
12f1548
add tempel and inostrancevia
kennething Jan 10, 2025
9777cf4
stuff
kennething Jan 10, 2025
bcfc5a9
multiple accounts
kennething Jan 10, 2025
f9be498
add multiple account support for bp tracker
kennething Jan 13, 2025
803cb2b
Squashed commit of the following:
kennething Jan 19, 2025
7db6a34
a
kennething Jan 22, 2025
43f2c09
start mod library
kennething Jan 23, 2025
97f33b0
modules
kennething Jan 24, 2025
3e273f6
finish module library
kennething Jan 25, 2025
4513a9b
module library seo
kennething Jan 25, 2025
5a27d6d
fix module library seo
kennething Jan 25, 2025
0eed891
add ESLint, Vitest, and GitHub Actions
kennething Jan 25, 2025
dc4f905
stuff
kennething Jan 26, 2025
4c5d8a6
more stuff
kennething Jan 27, 2025
76bbacf
normalize ship image names
kennething Jan 30, 2025
f32a24f
remove color generator
kennething Jan 30, 2025
27f9e87
add select-none on icons and buttons
kennething Jan 30, 2025
bfa2f87
fix footer changelog button
kennething Jan 30, 2025
7eabf25
final touches
kennething Jan 30, 2025
a28a158
dont create new user if just viewing
kennething Jan 30, 2025
69ca861
Merge branch 'main' into redesign
kennething Jan 30, 2025
c47b565
Update ci.yml
kennething Jan 30, 2025
f39330d
Update ci.yml
kennething Jan 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: 🐞 Bug Report
description: Report a bug on Gravity Assist
labels: ["bug"]
title: "bug: "
body:
- type: textarea
attributes:
label: Describe the bug
description: A clear and concise description of the bug.
validations:
required: true

- type: textarea
attributes:
label: Expected behavior
description: Describe what should have happened when you encountered the bug.
validations:
required: true

- type: textarea
attributes:
label: Steps to reproduce
description: Please provide any reproduction steps that may need to be described. E.g. if the bug happens every other day except Tuesdays, make sure that's mentioned.
validations:
required: true

- type: textarea
attributes:
label: Additional information
description: Please provide any additional information related to the bug. Screenshots, code snippets, and logs are useful.
18 changes: 18 additions & 0 deletions .github/ISSUE_TEMPLATE/new_feature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: 🔥 New Feature
description: Add a new feature to Gravity Assist
labels: ["enhancement"]
title: "feature: "
body:
- type: textarea
attributes:
label: Description
description: A clear and concise description of what you want to do.
validations:
required: true

- type: textarea
attributes:
label: Rationale
description: Why should this be added?
validations:
required: true
56 changes: 56 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: CI

on:
push:
branches:
- main
pull_request:

jobs:
files:
name: Get changed files
runs-on: ubuntu-latest
outputs:
should_skip: ${{ steps.changed_files.outputs.only_changed == 'true' }}

steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 100

- name: Get changed files
id: changed_files
uses: tj-actions/[email protected]
with:
files: |
assets/**
public/**
.vscode/**
.github/**
!.github/workflows/ci.yml
**.md

lint:
needs: files
timeout-minutes: 10
runs-on: ubuntu-latest
name: Lint

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set Node.js version to 22
uses: actions/setup-node@v4
with:
node-version: 22

- name: Install dependencies
run: npm install

- name: Build
run: npm run build

- name: Lint
run: npm run lint
21 changes: 21 additions & 0 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: "Dependency review"
on:
pull_request:
branches:
- main

permissions:
contents: read
pull-requests: write

jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- name: "Checkout repository"
uses: actions/checkout@v4

- name: "Dependency Review"
uses: actions/dependency-review-action@v4
with:
comment-summary-in-pr: always
17 changes: 17 additions & 0 deletions .github/workflows/remove-active-label-on-close.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Remove Active Label on Closed Issues

on:
issues:
types: [closed]

jobs:
remove-active-label:
runs-on: ubuntu-latest
steps:
- name: Remove active label
uses: actions-cool/issues-helper@v3
with:
actions: "remove-labels"
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
labels: "active"
9 changes: 9 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"$schema": "https://json.schemastore.org/prettierrc",
"semi": true,
"tabWidth": 2,
"singleQuote": false,
"printWidth": 200,
"trailingComma": "none",
"plugins": ["prettier-plugin-tailwindcss"]
}
11 changes: 11 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"editor.codeActionsOnSave": {
"source.fixAll": "explicit"
},
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"css.customData": [".vscode/tailwind.json"],
"[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
55 changes: 55 additions & 0 deletions .vscode/tailwind.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"version": 1.1,
"atDirectives": [
{
"name": "@tailwind",
"description": "Use the `@tailwind` directive to insert Tailwind's `base`, `components`, `utilities` and `screens` styles into your CSS.",
"references": [
{
"name": "Tailwind Documentation",
"url": "https://tailwindcss.com/docs/functions-and-directives#tailwind"
}
]
},
{
"name": "@apply",
"description": "Use the `@apply` directive to inline any existing utility classes into your own custom CSS. This is useful when you find a common utility pattern in your HTML that you’d like to extract to a new component.",
"references": [
{
"name": "Tailwind Documentation",
"url": "https://tailwindcss.com/docs/functions-and-directives#apply"
}
]
},
{
"name": "@responsive",
"description": "You can generate responsive variants of your own classes by wrapping their definitions in the `@responsive` directive:\n```css\n@responsive {\n .alert {\n background-color: #E53E3E;\n }\n}\n```\n",
"references": [
{
"name": "Tailwind Documentation",
"url": "https://tailwindcss.com/docs/functions-and-directives#responsive"
}
]
},
{
"name": "@screen",
"description": "The `@screen` directive allows you to create media queries that reference your breakpoints by **name** instead of duplicating their values in your own CSS:\n```css\n@screen sm {\n /* ... */\n}\n```\n…gets transformed into this:\n```css\n@media (min-width: 640px) {\n /* ... */\n}\n```\n",
"references": [
{
"name": "Tailwind Documentation",
"url": "https://tailwindcss.com/docs/functions-and-directives#screen"
}
]
},
{
"name": "@variants",
"description": "Generate `hover`, `focus`, `active` and other **variants** of your own utilities by wrapping their definitions in the `@variants` directive:\n```css\n@variants hover, focus {\n .btn-brand {\n background-color: #3182CE;\n }\n}\n```\n",
"references": [
{
"name": "Tailwind Documentation",
"url": "https://tailwindcss.com/docs/functions-and-directives#variants"
}
]
}
]
}
52 changes: 47 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,51 @@
# Gravity Assist
<p align="center">
<a href="https://gravityassist.xyz">
<img alt="Gravity Assist" src="https://github.com/DubNubz/gravity-assist/blob/main/public/logo/logo.png" height="300" />
</a>
</p>

Gravity Assist is a tool for Infinite Lagrange, a game by NetEase.
<h1 align="center">
Gravity Assist
</h1>

Infinite Lagrange is a space-themed multiplayer RTS where players can build fleets and attack other players.
<p align="center">
Gravity Assist is a tool for Infinite Lagrange, a game by NetEase.
</p>
<p align="center">
Infinite Lagrange is a space-themed multiplayer RTS where players can build fleets and attack other players.
</p>

## Changelog
<h2 align="center">
<a href="https://gravityassist.xyz/home">
Gravity Assist
</a>
<span> · </span>
<a href="https://gravityassist.xyz/home?v=latest">
Changelog
</a><span> · </span>
<a href="https://gravityassist.xyz/home?ct=true">
Contributors
</a>
</h2>

All changes can be found in the [full changelog](https://gravityassist.xyz/changelog).
## Ship Data

Feel free to use my data, which can be found in the `/server/api/data/ships.ts` [file](https://github.com/DubNubz/gravity-assist/blob/main/server/api/data/ships.ts).

Each ship follows the data structures in their [type declarations](https://github.com/DubNubz/gravity-assist/blob/main/utils/ships.ts) in `/utils/ships.ts`.

## Project Setup

1. Create a `.env` file in the root of the project

```sh
NUXT_BASE64_SERVICE_ACCOUNT = '...'
NUXT_BASE_URL = ...
```

2. Install dependencies and run locally

```sh
npm install
npm run dev
```
Loading
Loading