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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: CI Checks

on:
pull_request:
branches: [main]
types: [opened, reopened]
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

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

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "24"

- name: JSON Check
run: |
find . -name "*.json" -not -path "./node_modules/*" | xargs -n 1 npx -y jsonlint -q

- name: HTML Check
run: npx -y htmlhint "**/*.html"

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7 changes: 7 additions & 0 deletions .htmlhintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"id-unique": false,
"tag-pair": true,
"attr-lowercase": true,
"spec-char-escape": true,
"id-class-ad-誠": false
}
3 changes: 0 additions & 3 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
DB/*.js
Page/*.html
*.html
*.md
7 changes: 5 additions & 2 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
"useTabs": true,
"tabWidth": 2,
"trailingComma": "es5",
"printWidth": 350,
"printWidth": 250,
"bracketSpacing": false,
"proseWrap": "never"
"proseWrap": "never",
"bracketSameLine": true,
"htmlWhitespaceSensitivity": "ignore",
"singleAttributePerLine": false
}
16 changes: 11 additions & 5 deletions 404.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<!DOCTYPE html>
<!doctype html>
<html lang="ru">
<head>
<meta charset="UTF-8" />
<title>Job Guide: 404 | FFXIV RU</title>
<link rel="shortcut icon" type="image/png" sizes="16x16" href="https://ff14jobguide.ru/Assets/img/icon/icon-32x32.png" />
<link rel="shortcut icon" type="image/png" sizes="16x16" href="/Assets/images/icon/icon-32x32.png" />
<style>
body {
background-color: #ecede7;
Expand Down Expand Up @@ -37,9 +37,15 @@
}
.ErrorInfo a {
background: #333333;
-moz-box-shadow: 0px 1px 0px 0px rgba(255, 255, 255, 0.25) inset, 0px -1px 0px 0px rgba(0, 0, 0, 0.1) inset;
-webkit-box-shadow: 0px 1px 0px 0px rgba(255, 255, 255, 0.25) inset, 0px -1px 0px 0px rgba(0, 0, 0, 0.1) inset;
box-shadow: 0px 1px 0px 0px rgba(255, 255, 255, 0.25) inset, 0px -1px 0px 0px rgba(0, 0, 0, 0.1) inset;
-moz-box-shadow:
0px 1px 0px 0px rgba(255, 255, 255, 0.25) inset,
0px -1px 0px 0px rgba(0, 0, 0, 0.1) inset;
-webkit-box-shadow:
0px 1px 0px 0px rgba(255, 255, 255, 0.25) inset,
0px -1px 0px 0px rgba(0, 0, 0, 0.1) inset;
box-shadow:
0px 1px 0px 0px rgba(255, 255, 255, 0.25) inset,
0px -1px 0px 0px rgba(0, 0, 0, 0.1) inset;
border-radius: 12px;
display: block;
position: relative;
Expand Down
Loading