Skip to content

Commit 9450f7d

Browse files
462: Add menu, status message and other changes.
1 parent 14a4527 commit 9450f7d

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

themes/jquery/css/base.css

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -881,6 +881,24 @@ iframe {
881881
margin: 0;
882882
}
883883

884+
/* Support message at top of page.
885+
========================================================================== */
886+
887+
#support-message {
888+
display: flex;
889+
justify-content: center;
890+
background-color: #dddddd;
891+
padding: 4px 4px;
892+
font-size: 15px;
893+
}
894+
#support-message span {
895+
text-align: center;
896+
padding-left: 20px;
897+
padding-right: 20px;
898+
}
899+
#support-message span a {
900+
color: #222;
901+
}
884902

885903
/* Global Nav
886904
========================================================================== */

themes/jquery/header.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,14 @@
3939
</head>
4040
<body <?php body_class(); ?>>
4141

42+
<?php if (is_front_page()) { ?>
43+
44+
<div id="support-message" class="support-message">
45+
<span style="">jQuery 4 is currently in beta. Soon jQuery 3 will reach EOL along with versions 1 and 2. Learn more about our&nbsp;<a href="https://jquery.com/support/">Version&nbsp;Support</a>.</span>
46+
</div>
47+
48+
<?php } ?>
49+
4250
<header>
4351
<section id="global-nav">
4452
<nav>

themes/jquery/menu-header.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ function menu_header_jquery_com() {
1313
'https://blog.jquery.com/' => 'Blog',
1414
'https://plugins.jquery.com/' => 'Plugins',
1515
'https://jquery.com/browser-support/' => 'Browser Support',
16+
'https://jquery.com/support/' => 'Version Support',
1617
);
1718
}
1819

0 commit comments

Comments
 (0)