Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate the Home Page from nodejs.dev #5430

Closed
ovflowd opened this issue Jun 12, 2023 · 5 comments
Closed

Migrate the Home Page from nodejs.dev #5430

ovflowd opened this issue Jun 12, 2023 · 5 comments
Labels
feature-request Requesting a new Technological Feature to be added to the Website good first issue Issues for newcomers website redesign Issue/PR part of the Node.js Website Redesign

Comments

@ovflowd
Copy link
Member

ovflowd commented Jun 12, 2023

Continuing the migration of components from nodejs.dev that we started here, the home page.

This issue will be used to track the migration of the Home page. Also, note that I want this issue to be available for newcomers and not existing contributors if possible!

Migrating the Home page

  • There's currently a blocker (1) (pre-requisite) that needs to be merged first here.
  • There's currently a blocker (2) (pre-requisite) that needs to be merged first here.
  • There's currently a blocker (3) (pre-requisite) that needs to be worked first here.
  • The page should use the default layout
  • The page should reside in pages/en/new/index.mdx
  • The page content should include the import of the Hero Component, NodeFeature Component
    • Note: The Hero Component should be migrated within the Home page itself.
  • The page content should be in MDX (with Frontmatter and etc) and contain the following HTML elements as pointed out on the original nodejs.dev home page
  • The content on the nodejs.dev Home Page from here that is used as Frontmatter on the nodejs.dev repository should actually become HTML on the new Home page.

Example of how it would look like:

----
title: Node.js
layout: 'new-default'
nodeFeatures:
  - ...
  - ...
  - ...
----

<Banner />
<Hero />

<section className={styles.nodeDemoContainer}>
  <div className={styles.nodeDemo}>
    <DownloadComponents.InstallTabs />
  </div>
 
  <LeafsIllustrationFront className={`${styles.leafsFront} animations`} />
  <LeafsIllustrationMiddle className={`${styles.leafsMid} animations`} />
  <LeafsIllustrationBack className={`${styles.leafsBack} animations`} />
  <DotsIllustration className={styles.dots} />
 </section>

<section className={styles.nodeFeatures}>
  {frontMatter.nodeFeatures.map(feature => (
    <NodeFeature
      key={feature.heading}
      icon={feature.icon}
      heading={intl.formatMessage({ id: feature.heading })}
      description={intl.formatMessage({ id: feature.description })}
    />
  ))}
</section>

Note that the example above is just an illustrative representation!

@ovflowd ovflowd added good first issue Issues for newcomers website redesign Issue/PR part of the Node.js Website Redesign feature-request Requesting a new Technological Feature to be added to the Website labels Jun 12, 2023
@ashutosh887
Copy link

I would like to work on this @ovflowd

Please assign this to me

@ashutosh887
Copy link

Please keep me in loop for the Website Redesign @ovflowd

@ovflowd
Copy link
Member Author

ovflowd commented Jun 27, 2023

Hey @ashutosh887, you can pick the task. We do not assign issues to people over here :)

You can join the OpenJS Slack (https://openjsf.org/collaboration/) to talk with the team.

Also, regular updates about the project are done there and Discussions (https://github.com/nodejs/nodejs.org/discussions)

@ashutosh887
Copy link

Thank you so much @ovflowd

@ovflowd
Copy link
Member Author

ovflowd commented Jul 27, 2023

Closing as this layout will not be used anymore.

@ovflowd ovflowd closed this as not planned Won't fix, can't repro, duplicate, stale Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Requesting a new Technological Feature to be added to the Website good first issue Issues for newcomers website redesign Issue/PR part of the Node.js Website Redesign
Projects
Archived in project
Development

No branches or pull requests

2 participants