feat: add home page#149
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
There was a problem hiding this comment.
@avivkeller wdyt ?, i just replicated the reference u pasted in #96
There was a problem hiding this comment.
They are brands and they may or may not use us (I have no idea about most of them), but naming them kind of gives the impression that “we’ve already talked to them to have them there” (and it’s also marketing for them, while many of them don’t give us anything in return).
Also, it doesn’t really bring benefits. It’s better to focus on sponsors, since they actually provide funding that helps us keep going.
There was a problem hiding this comment.
@TusharThakur04 The image I showed was a demo, but if Sebastian doesn't think it fits, we can remove it. What if we replace it with, as he said "Sponsored by"?
There was a problem hiding this comment.
sure, just wanted to confirm.
as we have whole separate page for the sposors, i was thinking of adding the BackerWall and a link to the sponsors page
wdyt?
| const [isCopied, setIsCopied] = useState(false); | ||
|
|
||
| const handleCopy = async () => { | ||
| const textToCopy = activeSyntax === 'js' ? jsCode : mjsCode; |
There was a problem hiding this comment.
We also support configuration files written in TypeScript
| import path from 'path'; | ||
| import { fileURLToPath } from 'url'; | ||
|
|
||
| const __dirname = path.dirname(fileURLToPath(import.meta.url)); |
There was a problem hiding this comment.
| const __dirname = path.dirname(fileURLToPath(import.meta.url)); |
| entry: './src/index.js', | ||
| output: { | ||
| filename: 'bundle.js', | ||
| path: path.resolve(__dirname, 'dist') |
There was a problem hiding this comment.
| path: path.resolve(__dirname, 'dist') | |
| path: path.resolve(import.meta.dirname, 'dist') |
|
|
||
| import styles from './index.module.css'; | ||
|
|
||
| import { Prism as SyntaxHighlighter } from 'react-syntax-highlighter'; |
There was a problem hiding this comment.
Rather than adding a needless dependency, I've opened nodejs/doc-kit#845 to allow us to supply this via Markdown.

Closes: #96
Summary
This PR adds the Home Page
What kind of change does this PR introduce?
feat
Did you add tests for your changes?
no
Does this PR introduce a breaking change?
no
If relevant, what needs to be documented once your changes are merged or what have you already documented?
Use of AI
used for discussion and repetitive tasks