Skip to content

feat: add home page#149

Open
TusharThakur04 wants to merge 3 commits into
webpack:mainfrom
TusharThakur04:feat/home-page
Open

feat: add home page#149
TusharThakur04 wants to merge 3 commits into
webpack:mainfrom
TusharThakur04:feat/home-page

Conversation

@TusharThakur04

@TusharThakur04 TusharThakur04 commented Jun 19, 2026

Copy link
Copy Markdown
Member

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

@vercel

vercel Bot commented Jun 19, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
webpack-doc-kit Ready Ready Preview, Comment Jun 19, 2026 4:12pm

Request Review

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure we should have a "Trusted By" section. I think we'd be the first project in the foundation to do that. I'd rather avoid it for now.

That said, I do think we should add a sponsors section to the homepage, since that actually provides value to our sponsors.

Image

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@avivkeller wdyt ?, i just replicated the reference u pasted in #96

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also support configuration files written in TypeScript

import path from 'path';
import { fileURLToPath } from 'url';

const __dirname = path.dirname(fileURLToPath(import.meta.url));

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const __dirname = path.dirname(fileURLToPath(import.meta.url));

entry: './src/index.js',
output: {
filename: 'bundle.js',
path: path.resolve(__dirname, 'dist')

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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';

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rather than adding a needless dependency, I've opened nodejs/doc-kit#845 to allow us to supply this via Markdown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Home Page

3 participants