upstream #1

Merged
jblu merged 1007 commits from upstream into main 2024-11-04 22:35:57 -06:00
9 changed files with 37 additions and 13 deletions
Showing only changes of commit 2a18a80fd1 - Show all commits

View File

@ -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',

View File

@ -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]

View File

@ -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.**

File diff suppressed because one or more lines are too long

View File

@ -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
}

View File

@ -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;
} }

View File

@ -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">

View File

@ -33,6 +33,7 @@
"include": [ "include": [
"next-env.d.ts", "next-env.d.ts",
"**/*.js", "**/*.js",
"**/*.mjs",
"**/*.ts", "**/*.ts",
"**/*.tsx", "**/*.tsx",
"**/*.json", "**/*.json",