diff --git a/assets/_scss/_header.scss b/assets/_scss/_header.scss index 760b2b9..1fd0682 100644 --- a/assets/_scss/_header.scss +++ b/assets/_scss/_header.scss @@ -1,4 +1,7 @@ .wp-block-site-title { + font-weight: bold; + line-height: var(--wp--custom--typography--line-height--heading); + a { text-decoration: none; diff --git a/inc/patterns/header/logo-title--sns-contact__nav.php b/inc/patterns/header/logo-title--sns-contact__nav.php index 49fb546..059442e 100644 --- a/inc/patterns/header/logo-title--sns-contact__nav.php +++ b/inc/patterns/header/logo-title--sns-contact__nav.php @@ -5,73 +5,155 @@ * @package vektor-inc/x-t9 */ -return array( - 'title' => __( 'Logo - Site title -- ( SNS - Contact ) / Nav', 'x-t9' ), - 'categories' => array( 'header' ), - 'blockTypes' => array( 'core/template-part/header' ), - 'content' => ' -
-
-
-
- - -
- -
-
- - - -
-
- - - - - -
- - -
-
-
- - - -
-
- - - -
-
- - - -
- - - -
-
- ', -); +function xt9_register_block_pattern_header() { + + register_block_pattern( + 'x-t9/header/logo-title--sns-contact__nav', + array( + 'title' => __( 'Logo - Site title -- ( SNS - Contact ) / Nav', 'x-t9' ), + 'categories' => array( 'header' ), + 'blockTypes' => array( 'core/template-part/header' ), + 'content' => ' +
+
+
+
+ + +
+ +
+
+ + + +
+
+ + + + + +
+ + +
+
+
+ + + +
+
+ + + +
+
+ + + +
+ + + +
+
+ ', + ) + ); + + register_block_pattern( + 'x-t9/header-home/logo-title--sns-contact__nav', + array( + 'title' => __( 'Logo - Site title -- ( SNS - Contact ) / Nav', 'x-t9' ), + 'categories' => array( 'header' ), + 'blockTypes' => array( 'core/template-part/header' ), + 'content' => ' +
+
+
+
+ + +
+ +
+
+ + + +
+
+ + + + + +
+ + +
+
+
+ + + +
+
+ + + +
+
+ + + +
+ + + +
+
+ ', + ) + ); +} + +xt9_register_block_pattern_header(); diff --git a/parts/header-home.html b/parts/header-home.html new file mode 100644 index 0000000..373257c --- /dev/null +++ b/parts/header-home.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/readme.txt b/readme.txt index 0183293..06ec47f 100644 --- a/readme.txt +++ b/readme.txt @@ -13,6 +13,7 @@ GitHub : https://github.com/vektor-inc/x-t9 == Changelog == +[ Specification Change ] Fix site title markup other than home for accessibility. [ Specification Change ] Add style border radius 0 to .card [ Translation ready ] button on featured-post-list diff --git a/templates/front-page.html b/templates/front-page.html index f0045dd..54e8110 100644 --- a/templates/front-page.html +++ b/templates/front-page.html @@ -1,4 +1,4 @@ - +
diff --git a/templates/home.html b/templates/home.html index d3ee95b..112f3f6 100644 --- a/templates/home.html +++ b/templates/home.html @@ -1,4 +1,4 @@ - +
diff --git a/templates/index.html b/templates/index.html index 8021cf5..bf3f92b 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,4 +1,4 @@ - +
diff --git a/theme.json b/theme.json index 403b496..58cd9da 100644 --- a/theme.json +++ b/theme.json @@ -398,6 +398,11 @@ "title": "Header", "area": "header" }, + { + "name": "header-home", + "title": "Header Home", + "area": "header-home" + }, { "name": "loop-archive", "title": "Loop Archive",