Skip to content

Commit dc824c0

Browse files
authored
Index: restore "Resources" block style, remove JQF/Other projects
The "Resources" section felt a bit lost on the home page due to the large padding and lack of block styling on its heading. It used to have a custom styling via `id="sidebar"` which was similar to a block, but was lost at some point without replacement. https://web.archive.org/web/20130301123913/jquery.com Change it to a proper `<h2 class="block">` to look more on par with the rest of the page, and also remove the `padding-left: 60px` from the .resources class which is redundant now. Also: * remove outdated "About the jQuery Foundation" link. * remove "Other Related Projects" section, which used low-quality images, was broken on mobile, loaded an extra copy of these logos on the home page, gave high-prominence to deprecated jQuery Mobile, and maintenance-only jQuery UI, used an outdated version of the QUnit logo. Perhaps the global navigation which points to the same projects already, suffices? By removing these, we bring the first code example above the fold, which seems valuable. If we keep it, I'd suggest moving it to the bottom of the content section at least. Closes #240.
1 parent 33c7992 commit dc824c0

File tree

1 file changed

+12
-22
lines changed

1 file changed

+12
-22
lines changed

pages/index.html

Lines changed: 12 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -52,36 +52,16 @@ <h2 class="block">What is jQuery?</h2>
5252
a multitude of browsers. With a combination of versatility and
5353
extensibility, jQuery has changed the way that millions of people write
5454
JavaScript.</p>
55-
56-
<h2 class="block">Other Related Projects</h2>
57-
<section class="project-tiles row">
58-
<a href="https://jqueryui.com" class="project-tile six columns color secondary-orange">
59-
<div class="jqueryui small logo">jQueryUI</div>
60-
</a>
61-
<a href="https://jquerymobile.com" class="project-tile six columns color secondary-green">
62-
<div class="jquery-mobile small logo">jQuery Mobile</div>
63-
</a>
64-
</section>
65-
<section class="project-tiles row">
66-
<a href="https://qunitjs.com" class="project-tile six columns color qunit-secondary-purple">
67-
<div class="qunitjs small logo">QUnit</div>
68-
</a>
69-
<a href="https://sizzlejs.com" class="project-tile six columns color sizzle-red">
70-
<div class="sizzlejs small logo">Sizzle</div>
71-
</a>
72-
</section>
7355
</section>
74-
<aside class="four columns resources">
75-
<h3>Resources</h3>
56+
<aside class="four columns">
57+
<h2 class="block">Resources</h2>
7658
<ul>
7759
<li><a href="https://api.jquery.com">jQuery Core API Documentation</a></li>
7860
<li><a href="https://learn.jquery.com">jQuery Learning Center</a></li>
7961
<li><a href="https://blog.jquery.com">jQuery Blog</a></li>
8062
<li><a href="https://contribute.jquery.com">Contribute to jQuery</a></li>
81-
<li><a href="https://jquery.org">About the jQuery Foundation</a></li>
8263
<li><a href="https://github.com/jquery/jquery/issues">Browse or Submit jQuery Bugs</a></li>
8364
</ul>
84-
8565
</aside>
8666
</div>
8767

@@ -119,3 +99,13 @@ <h3>Ajax</h3>
11999
});
120100
</pre></code>
121101
</section>
102+
103+
<section>
104+
<h2 class="block">Related Projects</h2>
105+
106+
<h3><a href="https://jqueryui.com/">jQuery UI</a></h3>
107+
<p>This project is in maintenance-only mode. <a href="https://blog.jquery.com/2021/10/07/jquery-maintainers-update-and-transition-jquery-ui-as-part-of-overall-modernization-efforts/">Learn more</a>.</p>
108+
109+
<h3><a href="https://jquerymobile.com/">jQuery Mobile</a></h3>
110+
<p>This project is deprecated. <a href="https://blog.jqueryui.com/2021/10/jquery-maintainers-continue-modernization-initiative-with-deprecation-of-jquery-mobile/">Learn more</a>.</p>
111+
</section>

0 commit comments

Comments
 (0)