upstream #1
@ -17,6 +17,10 @@ module.exports = {
|
|||||||
'next',
|
'next',
|
||||||
'next/core-web-vitals',
|
'next/core-web-vitals',
|
||||||
],
|
],
|
||||||
|
parserOptions: {
|
||||||
|
project: true,
|
||||||
|
tsconfigRootDir: __dirname,
|
||||||
|
},
|
||||||
rules: {
|
rules: {
|
||||||
'prettier/prettier': 'error',
|
'prettier/prettier': 'error',
|
||||||
'react/react-in-jsx-scope': 'off',
|
'react/react-in-jsx-scope': 'off',
|
||||||
|
4
.github/ISSUE_TEMPLATE/bug_report.md
vendored
4
.github/ISSUE_TEMPLATE/bug_report.md
vendored
@ -4,7 +4,6 @@ about: Create a report to help us improve
|
|||||||
title: ''
|
title: ''
|
||||||
labels: bug
|
labels: bug
|
||||||
assignees: ''
|
assignees: ''
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
**Describe the bug**
|
**Describe the bug**
|
||||||
@ -12,6 +11,7 @@ A clear and concise description of what the bug is.
|
|||||||
|
|
||||||
**To Reproduce**
|
**To Reproduce**
|
||||||
Steps to reproduce the behavior:
|
Steps to reproduce the behavior:
|
||||||
|
|
||||||
1. Go to '...'
|
1. Go to '...'
|
||||||
2. Click on '....'
|
2. Click on '....'
|
||||||
3. Scroll down to '....'
|
3. Scroll down to '....'
|
||||||
@ -24,11 +24,13 @@ A clear and concise description of what you expected to happen.
|
|||||||
If applicable, add screenshots to help explain your problem.
|
If applicable, add screenshots to help explain your problem.
|
||||||
|
|
||||||
**System Info (if dev / build issue):**
|
**System Info (if dev / build issue):**
|
||||||
|
|
||||||
- OS: [e.g. iOS]
|
- OS: [e.g. iOS]
|
||||||
- Node version (please ensure you are using 14+)
|
- Node version (please ensure you are using 14+)
|
||||||
- Npm version
|
- Npm version
|
||||||
|
|
||||||
**Browser Info (if display / formatting issue):**
|
**Browser Info (if display / formatting issue):**
|
||||||
|
|
||||||
- Device [e.g. Desktop, iPhone6]
|
- Device [e.g. Desktop, iPhone6]
|
||||||
- Browser [e.g. chrome, safari]
|
- Browser [e.g. chrome, safari]
|
||||||
- Version [e.g. 22]
|
- Version [e.g. 22]
|
||||||
|
1
.github/ISSUE_TEMPLATE/feature_request.md
vendored
1
.github/ISSUE_TEMPLATE/feature_request.md
vendored
@ -4,7 +4,6 @@ about: Suggest an idea for this project
|
|||||||
title: ''
|
title: ''
|
||||||
labels: ''
|
labels: ''
|
||||||
assignees: ''
|
assignees: ''
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
**Is your feature request related to a problem? Please describe.**
|
**Is your feature request related to a problem? Please describe.**
|
||||||
|
2
.yarn/releases/yarn-3.6.1.cjs
vendored
2
.yarn/releases/yarn-3.6.1.cjs
vendored
File diff suppressed because one or more lines are too long
@ -1 +1,19 @@
|
|||||||
{"markdown":1,"code":1,"features":1,"next-js":5,"math":1,"ols":1,"github":1,"guide":4,"tailwind":2,"holiday":1,"canada":1,"images":1,"writings":1,"book":1,"reflection":1,"multi-author":1,"feature":1}
|
{
|
||||||
|
"markdown": 1,
|
||||||
|
"code": 1,
|
||||||
|
"features": 1,
|
||||||
|
"next-js": 5,
|
||||||
|
"math": 1,
|
||||||
|
"ols": 1,
|
||||||
|
"github": 1,
|
||||||
|
"guide": 4,
|
||||||
|
"tailwind": 2,
|
||||||
|
"holiday": 1,
|
||||||
|
"canada": 1,
|
||||||
|
"images": 1,
|
||||||
|
"writings": 1,
|
||||||
|
"book": 1,
|
||||||
|
"reflection": 1,
|
||||||
|
"multi-author": 1,
|
||||||
|
"feature": 1
|
||||||
|
}
|
@ -25,5 +25,7 @@
|
|||||||
/* https://stackoverflow.com/questions/61083813/how-to-avoid-internal-autofill-selected-style-to-be-applied */
|
/* https://stackoverflow.com/questions/61083813/how-to-avoid-internal-autofill-selected-style-to-be-applied */
|
||||||
input:-webkit-autofill,
|
input:-webkit-autofill,
|
||||||
input:-webkit-autofill:focus {
|
input:-webkit-autofill:focus {
|
||||||
transition: background-color 600000s 0s, color 600000s 0s;
|
transition:
|
||||||
|
background-color 600000s 0s,
|
||||||
|
color 600000s 0s;
|
||||||
}
|
}
|
||||||
|
@ -21,7 +21,7 @@ interface ListLayoutProps {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function Pagination({ totalPages, currentPage }: PaginationProps) {
|
function Pagination({ totalPages, currentPage }: PaginationProps) {
|
||||||
const pathname = usePathname() as string
|
const pathname = usePathname()
|
||||||
const basePath = pathname.split('/')[1]
|
const basePath = pathname.split('/')[1]
|
||||||
const prevPage = currentPage - 1 > 0
|
const prevPage = currentPage - 1 > 0
|
||||||
const nextPage = currentPage + 1 <= totalPages
|
const nextPage = currentPage + 1 <= totalPages
|
||||||
@ -131,9 +131,7 @@ export default function ListLayout({
|
|||||||
</Link>
|
</Link>
|
||||||
</h3>
|
</h3>
|
||||||
<div className="flex flex-wrap">
|
<div className="flex flex-wrap">
|
||||||
{tags?.map((tag) => (
|
{tags?.map((tag) => <Tag key={tag} text={tag} />)}
|
||||||
<Tag key={tag} text={tag} />
|
|
||||||
))}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="prose max-w-none text-gray-500 dark:text-gray-400">
|
<div className="prose max-w-none text-gray-500 dark:text-gray-400">
|
||||||
|
@ -33,6 +33,7 @@
|
|||||||
"include": [
|
"include": [
|
||||||
"next-env.d.ts",
|
"next-env.d.ts",
|
||||||
"**/*.js",
|
"**/*.js",
|
||||||
|
"**/*.mjs",
|
||||||
"**/*.ts",
|
"**/*.ts",
|
||||||
"**/*.tsx",
|
"**/*.tsx",
|
||||||
"**/*.json",
|
"**/*.json",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user