Skip to content

Commit

Permalink
Aigoo: Fix 404 and home patterns, optimize the screenshot. cleanup st…
Browse files Browse the repository at this point in the history
…ylesheet header
  • Loading branch information
iamtakashi committed Oct 15, 2024
1 parent 84fd676 commit 24c63bc
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 16 deletions.
14 changes: 3 additions & 11 deletions aigoo/patterns/404.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,20 @@
<!-- /wp:spacer -->

<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"2vh"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group alignwide" style="padding-bottom:2vh"><!-- wp:columns -->
<div class="wp-block-columns"><!-- wp:column {"width":"66.66%"} -->
<div class="wp-block-column" style="flex-basis:66.66%"><!-- wp:heading {"textAlign":"left","level":1,"style":{"typography":{"fontStyle":"normal","fontWeight":"700","letterSpacing":"-0.03em"}},"fontSize":"x-large","fontFamily":"gaegu"} -->
<div class="wp-block-group alignwide" style="padding-bottom:2vh"><!-- wp:heading {"textAlign":"left","level":1,"style":{"typography":{"fontStyle":"normal","fontWeight":"700","letterSpacing":"-0.03em"}},"fontSize":"x-large","fontFamily":"gaegu"} -->
<h1 class="wp-block-heading has-text-align-left has-gaegu-font-family has-x-large-font-size" id="oops-that-page-can-t-be-found" style="font-style:normal;font-weight:700;letter-spacing:-0.03em"><?php esc_html_e('Page not found.', 'aigoo');?></h1>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p><?php esc_html_e('It looks like nothing was found at this location. Maybe try a search?', 'aigoo');?></p>
<!-- /wp:paragraph -->

<!-- wp:pattern {"slug":"aigoo/search-field"} /--></div>
<!-- /wp:column -->

<!-- wp:column {"width":"33.33%"} -->
<div class="wp-block-column" style="flex-basis:33.33%"></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></div>
<!-- wp:search {"showLabel":false,"placeholder":"BTS","buttonText":"Search"} /--></div>
<!-- /wp:group -->

<!-- wp:spacer {"height":"8vh"} -->
<div style="height:8vh" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer --></main>
<!-- /wp:group -->

<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
4 changes: 2 additions & 2 deletions aigoo/patterns/home.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
<div style="height:8vh" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

<!-- wp:group {"style":{"spacing":{"padding":{"right":"6vw","left":"6vw"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="padding-right:6vw;padding-left:6vw"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"}},"border":{"top":{"color":"var:preset|color|contrast","style":"dotted","width":"2px"},"right":[],"bottom":{"color":"var:preset|color|contrast","style":"dotted","width":"2px"},"left":[]}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"center"}} -->
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"}},"border":{"top":{"color":"var:preset|color|contrast","style":"dotted","width":"2px"},"right":[],"bottom":{"color":"var:preset|color|contrast","style":"dotted","width":"2px"},"left":[]}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"center"}} -->
<div class="wp-block-group alignwide" style="border-top-color:var(--wp--preset--color--contrast);border-top-style:dotted;border-top-width:2px;border-bottom-color:var(--wp--preset--color--contrast);border-bottom-style:dotted;border-bottom-width:2px;padding-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40)"><!-- wp:image {"width":"80px","height":"70px","scale":"cover","sizeSlug":"large","linkDestination":"none"} -->
<figure class="wp-block-image size-large is-resized"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/image_11-1024x650.jpg" alt="" style="object-fit:cover;width:80px;height:70px"/></figure>
<!-- /wp:image -->
Expand Down
Binary file modified aigoo/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions aigoo/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ Author: Automattic
Author URI: https://automattic.com
Description: Aigoo is a theme for K-Pop enthusiasts.
Requires at least: 6.0
Tested up to: 6.4.1
Tested up to: 6.6
Requires PHP: 5.7
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aigoo
Tags: blog, entertainment, one-column, wide-blocks, block-patterns, custom-colors, custom-logo, custom-menu, editor-style, featured-images, full-site-editing, rtl-language-support, theme-options, threaded-comments, translation-ready, kpop, korean, music
Tags: blog, entertainment, one-column, wide-blocks, block-patterns, featured-images, full-site-editing, rtl-language-support, threaded-comments, translation-ready
*/

/*
Expand All @@ -32,4 +32,4 @@ Tags: blog, entertainment, one-column, wide-blocks, block-patterns, custom-color
a {
text-decoration-thickness: .0625em !important;
text-underline-offset: .15em;
}
}

0 comments on commit 24c63bc

Please sign in to comment.