-
Notifications
You must be signed in to change notification settings - Fork 49
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
changed styles of home page to be responsive #90
Conversation
Could you maybe put this live somewhere in some form for ease of review? Unfortunately we don't have preview functionality for PRs in this repository. I'm a little concerned with all the added inline SVG. Seems that would make this much harder to maintain. |
Preview on Codepen |
Wow! This is a bold redesign. It's been a while with our current one though, and after my initial shock, and I think I like it! I have a number of review comments, but I will save them until we get agreement that we want to go in this direction. (And maybe some of them I can fix myself.) One thing I think we'd need though is help adapting the other pages which currently use the tabbed pages style, e.g. the FAQ. With this homepage redesign I'm still not sure how those would look. |
I like this quite a lot! My only nit is that I think the GitHub font is jarring; it looks out of place when surrounded by the other buttons just using normal text. I think it should just be ordinary text as well. Otherwise, A++++, this look dramatically better than the current homepage to me! |
Thanks @o-t-w, I like this direction as well. |
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.
Great, sounds like people are on board! Let's go through with this. I left some code review comments; my other comment about needing to see what this would look like for other pages like faq also stands.
@@ -1,39 +1,93 @@ | |||
<!DOCTYPE HTML> | |||
<html lang="en"> | |||
<head> | |||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |||
<meta http-equiv="X-UA-Compatible" content="ie=edge"> |
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.
Please don't add this; we don't need to help old-IE
<a href="mailto:ian+whatwg@hixie.ch">Ian Hickson</a>, who is acting as a spokesperson for the | ||
WHATWG.</address> | ||
<body> | ||
<div class="wrapper"> |
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.
Stick with one-space indent please
<div class="wrapper"> | ||
<div class="flex"> | ||
<img class="main-logo" src="https://resources.whatwg.org/logo.svg" height=100 width=100 alt> | ||
<div class="titles"> |
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.
Let's stick with hgroup/h1/h2
<h2>The Standards</h2> | ||
<a class="standard" href="https://html.spec.whatwg.org/multipage/"><svg class="arrow" width="77" height="44" viewBox="0 0 77 44" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> | ||
<title>Group</title> | ||
<g id="C" transform="translate(202 164)"> |
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.
Can you extract these out into separate .svg files?
</div> | ||
<hr> | ||
<div class="grid"> | ||
<a href="/faq"><h2>FAQ</h2></a> |
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.
These aren't h2s; they are just links. (They are not headings for a section or article.)
<h2>IRC</h2><p class="irc">Chat with other members of the WHATWG community</p></a> | ||
<a class="span4" href="https://checker.html5.org/"> | ||
<svg width="101" height="101" viewBox="0 0 101 101" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><title>noun_974826_cc</title><use xlink:href="#w" transform="translate(21.45 29.35)"/><use xlink:href="#b" transform="translate(.004 .005)"/><use xlink:href="#c" transform="translate(21.45 29.35)"/><defs><path id="w" d="M21.48 44.74L0 23.25l11.4-11.4 10.31 11.21L49.49 0l8.3 8.44-36.31 36.3z"/><path id="b" d="M85.356 14.645C78.363 7.652 69.454 2.89 59.756.96 50.055-.97 40 .023 30.865 3.807S13.92 14 8.426 22.22C2.933 30.445 0 40.11 0 50s2.932 19.556 8.427 27.78C13.92 86 21.73 92.41 30.867 96.193c9.135 3.784 19.19 4.775 28.888 2.845 9.7-1.93 18.608-6.692 25.6-13.685 4.664-4.632 8.365-10.14 10.89-16.207C98.77 63.08 100.07 56.572 100.07 50c0-6.572-1.3-13.08-3.825-19.148-2.525-6.067-6.226-11.576-10.89-16.207zm-5.53 65.18c-7.95 7.732-18.62 12.024-29.71 11.948-11.088-.077-21.7-4.516-29.542-12.356-7.84-7.84-12.28-18.454-12.356-29.542-.076-11.09 4.216-21.762 11.948-29.71 7.948-7.732 18.62-12.024 29.71-11.948 11.088.077 21.7 4.515 29.54 12.356 7.842 7.84 12.28 18.454 12.357 29.542.077 11.09-4.215 21.762-11.947 29.71z"/><path id="c" d="M21.71 23.06L11.4 11.85 0 23.25l21.48 21.49 36.3-36.3L49.49 0 21.71 23.06z"/></defs></svg> | ||
<h2>HTML checker</h2> |
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.
Similarly these are not h2s. They can be <strong>
, I guess, like the existing site
</html> | ||
|
||
</body> | ||
</html> |
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.
Don't forget newline at end of file :)
This looks great! (well apart from WHATWG green, but that's hardly your fault :) Some minor issues, that mostly turn out to be issues on the current site too:
None of those things should block landing this, but it would be nice to fix them whilst there's some attention on the site. |
Since the codepen link expired, here is a new preview that is mostly faithful to @o-t-w's work: https://jsbin.com/cijufadebe I wish we had some ideas on how to adopt this style to the other pages besides the homepage. If we had that, I'd be happy to address all the above comments myself (including the ones I made) and get this merged. |
Closes #90 by subsuming the work there. Helps with #59 as at least the homepage is now mobile-friendly. Helps with some of the items noted in #149. Substantive changes: * "Join" renamed to "GitHub" (see #149) * "News" renamed to "Blog" * "Working Mode" replaced with "Policies" (see #149) * "Twitter" added
Closes #90 by subsuming the work there. Helps with #59 as at least the homepage is now mobile-friendly. Helps with some of the items noted in #149. Substantive changes: * "Join" renamed to "GitHub" (see #149) * "News" renamed to "Blog" * "Working Mode" replaced with "Policies" (see #149) * "Twitter" added
Closes #90 by subsuming the work there. Helps with #59 as at least the homepage is now mobile-friendly. Helps with some of the items noted in #149. Substantive changes: * "Join" renamed to "GitHub" (see #149) * "News" renamed to "Blog" * "Working Mode" replaced with "Policies" (see #149) * "Twitter" added
Closes #90 by subsuming the work there. Helps with #59 as at least the homepage is now mobile-friendly. Helps with some of the items noted in #149. Non-stylistic changes: * "Join" renamed to "GitHub" (see #149) * "News" renamed to "Blog" * "Working Mode" replaced with "Policies" (see #149) * "Twitter" added
I noticed there was an issue for making the homepage responsive.
#59