Skip to content

Commit

Permalink
Introduce normalize & multi title rule
Browse files Browse the repository at this point in the history
  • Loading branch information
lucemans committed Sep 4, 2024
1 parent 08a1fc8 commit 3fd9740
Show file tree
Hide file tree
Showing 10 changed files with 471 additions and 12 deletions.
4 changes: 3 additions & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
"scripts": {
"dev": "concurrently \"pnpm:watch:build\" \"pnpm:preview\"",
"build": "tsx src/index.tsx",
"watch:build": "chokidar './src/**/*' '../ensips/*.md' -t 500 --initial -c 'pnpm build'",
"watch:build": "chokidar './src/**/*' './public/**/*' '../ensips/*.md' -t 500 --initial -c 'pnpm build'",
"preview": "pnpm run build && pnpm vite preview",
"lint": "eslint -c .eslintrc.json --ext .ts,.tsx ./src"
},
"dependencies": {
"@types/react": "^18.3.5",
"@types/react-dom": "^18.3.0",
"@types/unist": "^3.0.3",
"chokidar-cli": "^3.0.0",
"concurrently": "^8.2.2",
"react": "^18.3.1",
Expand All @@ -19,6 +20,7 @@
"remark-html": "^16.0.1",
"tsx": "^4.19.0",
"unified": "^11.0.5",
"unist": "^0.0.1",
"vite": "^5.4.3",
"yaml": "^2.5.0",
"zod": "^3.23.8"
Expand Down
12 changes: 12 additions & 0 deletions app/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 16 additions & 1 deletion app/public/index.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
html, body {
html,
body {
background: #f7f7fa;
font-family: 'Satoshi', sans-serif;
font-size: 16px;
Expand All @@ -7,18 +8,26 @@ html, body {
article {
max-width: 800px;
margin: 0 auto;
padding-bottom: 420px;
}

nav {
display: flex;
gap: 4px;
padding: 4px 0;
align-items: center;
}

nav ul {
text-decoration: none;
list-style: none;
}

nav ul li a {
display: block;
padding: 8px 0;
}

.front {
border: 1px solid black;
padding: 16px;
Expand All @@ -31,3 +40,9 @@ nav ul {
.space-y-4 > :first-child {
margin-top: 0;
}

ul {
list-style: none;
margin: 0;
padding: 0;
}
Loading

0 comments on commit 3fd9740

Please sign in to comment.