Skip to content

Migrate Homepage #71

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

Merged
merged 8 commits into from
Apr 27, 2020
Merged

Migrate Homepage #71

merged 8 commits into from
Apr 27, 2020

Conversation

phanan
Copy link
Member

@phanan phanan commented Apr 26, 2020

Migrated the homepage over to docs-next.

As the default VuePress theme is not flexible enough to support the current homepage's layout (most notably the jumbotron/hero area), I've created a (minimal) custom theme instead. This theme also supports HTML in the tagline, feature blocks, and footer, allowing us to have e.g. newlines and links in these elements. I've also gone ahead and moved some custom components like SocialIcon down (up?) to the theme level.

The result will not be a 1:1 copycat of current vuejs.org UI, with the most significant difference being the fonts. We'll need to come back and revise this once a new theme for Vue 3 docs is available. Also, a mocked Patreon sponsor list is being used after a discussion with Evan. Other functionalities should be in place.

Deployment preview available at https://deploy-preview-71--vue-next.netlify.app/.

This closes #3.

@phanan phanan changed the title Migrate Home page Migrate Homepage Apr 26, 2020
@NataliaTepluhina
Copy link
Member

Wow, @phanan, this is super impressive work! 🙇 Will need a day to give it a proper review

A small visual bug I've found just now (buttons are misaligned):
Screenshot 2020-04-26 at 16 34 58

@phanan
Copy link
Member Author

phanan commented Apr 26, 2020

A small visual bug I've found just now (buttons are misaligned)

Yeah, the reason is we don't have enough OpenCollective to fill (3 platinum and 10 gold spots). We have the same issue on the current homepage.

Copy link
Member

@bencodezen bencodezen left a comment

Choose a reason for hiding this comment

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

Looks awesome @phanan! Can't wait to integrate your work into the atomic theme I'm developing for the new release.

@phanan phanan merged commit 5ab628e into master Apr 27, 2020
@phanan phanan deleted the migration/home branch April 27, 2020 18:15
moHaHa pushed a commit to moHaHa/vuejs-docs that referenced this pull request May 4, 2023
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.

Modify home page to have the same features as Hexo main page
3 participants