-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
About: Add the full About section menu to the About pages (#387)
* About: Add the full About section menu to the About page * Use "home" menu on all About subpages * Remove self-link on About page * Remove separate About section nav files in favor of a single subpage file
- Loading branch information
Showing
19 changed files
with
122 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
source/wp-content/themes/wporg-main-2022/patterns/_nav-about-home.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
// phpcs:disable WordPress.Files.FileName -- Allow underscore for pattern partial. | ||
/** | ||
* Title: Section Nav (About - Home) | ||
* Slug: wporg-main-2022/nav-about-home | ||
* Inserter: no | ||
*/ | ||
|
||
?> | ||
<!-- wp:wporg/local-navigation-bar {"style":{"color":{"background":"#f0ede7"},"border":{"bottom":{"color":"var:preset|color|black-opacity-15","width":"1px"}},"spacing":{"padding":{"right":"var:preset|spacing|edge-space","left":"var:preset|spacing|edge-space","top":"16px","bottom":"16px"}},"position":{"type":"sticky"}},"textColor":"charcoal-1","fontSize":"small"} --> | ||
<!-- wp:site-title {"level":0,"fontSize":"small","isLink":false} /--> | ||
|
||
<!-- wp:navigation {"menuSlug":"about-home","textColor":"charcoal-1","icon":"menu","customOverlayBackgroundColor":"#f0ede7","layout":{"type":"flex","orientation":"horizontal"},"fontSize":"small","openSubmenusOnClick":true} /--> | ||
<!-- /wp:wporg/local-navigation-bar --> |
14 changes: 0 additions & 14 deletions
14
source/wp-content/themes/wporg-main-2022/patterns/_nav-about-people.php
This file was deleted.
Oops, something went wrong.
6 changes: 3 additions & 3 deletions
6
...main-2022/patterns/_nav-about-details.php → ...main-2022/patterns/_nav-about-subpage.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
<?php | ||
// phpcs:disable WordPress.Files.FileName -- Allow underscore for pattern partial. | ||
/** | ||
* Title: Section Nav (About - Details) | ||
* Slug: wporg-main-2022/nav-about-details | ||
* Title: Section Nav (About - Subpage) | ||
* Slug: wporg-main-2022/nav-about-subpage | ||
* Inserter: no | ||
*/ | ||
|
||
?> | ||
<!-- wp:wporg/local-navigation-bar {"backgroundColor":"white","style":{"spacing":{"padding":{"right":"var:preset|spacing|edge-space","left":"var:preset|spacing|edge-space","top":"16px","bottom":"16px"}},"position":{"type":"sticky"},"border":{"top":{"color":"var:preset|color|light-grey-1","style":"solid","width":"1px"},"right":{},"bottom":{"color":"var:preset|color|light-grey-1","style":"solid","width":"1px"},"left":{}}},"textColor":"charcoal-1","fontSize":"small"} --> | ||
<!-- wp:site-title {"level":0,"fontSize":"small"} /--> | ||
|
||
<!-- wp:navigation {"menuSlug":"about-details","textColor":"blueberry-1","icon":"menu","layout":{"type":"flex","orientation":"horizontal"},"fontSize":"small"} /--> | ||
<!-- wp:navigation {"menuSlug":"about-home","textColor":"blueberry-1","icon":"menu","layout":{"type":"flex","orientation":"horizontal"},"fontSize":"small","openSubmenusOnClick":true} /--> | ||
<!-- /wp:wporg/local-navigation-bar --> |
14 changes: 0 additions & 14 deletions
14
source/wp-content/themes/wporg-main-2022/patterns/_nav-about-technology.php
This file was deleted.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
source/wp-content/themes/wporg-main-2022/templates/page-about.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
source/wp-content/themes/wporg-main-2022/templates/page-accessibility.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
source/wp-content/themes/wporg-main-2022/templates/page-domains.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
source/wp-content/themes/wporg-main-2022/templates/page-etiquette.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
source/wp-content/themes/wporg-main-2022/templates/page-features.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
source/wp-content/themes/wporg-main-2022/templates/page-history.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
source/wp-content/themes/wporg-main-2022/templates/page-license.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
source/wp-content/themes/wporg-main-2022/templates/page-logos.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
source/wp-content/themes/wporg-main-2022/templates/page-philosophy.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
source/wp-content/themes/wporg-main-2022/templates/page-privacy.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
source/wp-content/themes/wporg-main-2022/templates/page-requirements.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
source/wp-content/themes/wporg-main-2022/templates/page-roadmap.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
source/wp-content/themes/wporg-main-2022/templates/page-security.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
source/wp-content/themes/wporg-main-2022/templates/page-stats.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters