-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[add] styling tables in docs [add] adding redirects to docs
- Loading branch information
1 parent
59d190e
commit 063718e
Showing
7 changed files
with
51 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
export const Table = ({ node, children, key, ...props }) => { | ||
return <table className="w-max max-w-full overflow-auto block">{children}</table> | ||
} | ||
|
||
export const TableHead = ({ node, children, key, ...props }) => { | ||
return <thead>{children}</thead> | ||
} | ||
|
||
export const TableR = ({ node, isHeader, children, key, ...props }) => { | ||
return <tr className="border-t-[1px] even:bg-[#f6f8fa]">{children}</tr> | ||
} | ||
|
||
export const TableH = ({ node, style, isHeader, children, key, ...props }) => { | ||
return <th className="py-[6px] px-[13px] border-[1px]">{children}</th> | ||
} | ||
|
||
export const TableD = ({ node, style, isHeader, children, key, ...props }) => { | ||
return <td className="py-[6px] px-[13px] border-[1px]">{children}</td> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,13 @@ | ||
/** @type {import('next').NextConfig} */ | ||
const nextConfig = { | ||
reactStrictMode: true, | ||
reactStrictMode: true, | ||
async redirects() { | ||
return [{ | ||
source: '/documentation', | ||
destination: '/documentation/translatepy', | ||
permanent: false, | ||
}, ] | ||
}, | ||
} | ||
|
||
module.exports = nextConfig | ||
module.exports = nextConfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
063718e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
translate – ./
translate-animenosekai.vercel.app
translatepy.vercel.app
translate-git-website-animenosekai.vercel.app
translate-ruby.vercel.app
translatep.vercel.app