Skip to content

Commit

Permalink
πŸ‘Œ IMPROVE: Default theme
Browse files Browse the repository at this point in the history
  • Loading branch information
luangjokaj committed Dec 9, 2020
1 parent d68186a commit 1dab1e5
Show file tree
Hide file tree
Showing 15 changed files with 19 additions and 16 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@

# Changelog

**v0.2.9-20**
- πŸ‘Œ IMPROVE: Default theme.

**v0.2.9-19**
- πŸ‘Œ IMPROVE: Default theme.

Expand Down
2 changes: 1 addition & 1 deletion installer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wordpressify",
"version": "0.2.9-19",
"version": "0.2.9-20",
"description": "A build system designed to automate your WordPress development workflow.",
"keywords": [
"babel",
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wordpressify",
"version": "0.2.9-19",
"version": "0.2.9-20",
"description": "A build system designed to automate your WordPress development workflow.",
"keywords": [
"babel",
Expand Down
2 changes: 1 addition & 1 deletion src/theme/404.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php get_header(); ?>
<div class="pt-5 pb-2 px-5 lg:p-10">
<div class="pt4 pb-2 px-4 lg:p-10">
<div class="site-content page">
<article class="page">
<h1 class="page-title text-xl font-medium"><?php _e('Oops! 404', 'wordpressify'); ?></h1>
Expand Down
4 changes: 2 additions & 2 deletions src/theme/archive.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<div class="site-content col-span-2 md:border-r md:border-gray-200">
<article class="page">
<?php if (have_posts()) : ?>
<h1 class="page-title p-5 md:p-10 text-5xl border-b font-bold border-gray-200">
<h1 class="page-title p-4 md:p-10 text-5xl border-b font-bold border-gray-200">
<?php
if (is_category()) {
single_cat_title();
Expand All @@ -29,7 +29,7 @@
}
?>
</h1>
<div class="inner inner p-5 lg:p-10 <?php echo $className ?>">
<div class="inner inner p-4 lg:p-10 <?php echo $className ?>">
<?php
while (have_posts()) :
the_post();
Expand Down
2 changes: 1 addition & 1 deletion src/theme/content.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
$separator = ', ';
$output = '';
if ($categories) : ?>
<div class="tags pb-5">
<div class="tags pb-4">
<?php foreach ($categories as $category) {
$output .= '<a href="' . get_category_link($category->term_id) . '" class="text-blue-600 transition-all hover:text-red-500">' . $category->cat_name . '</a>' . $separator;
}
Expand Down
2 changes: 1 addition & 1 deletion src/theme/footer.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<footer class="p-5 lg:p-10 footer border-t border-gray-200">
<footer class="p-4 lg:p-10 footer border-t border-gray-200">
<div class="footer-inner">
<div class="text-row">
<p class="font-medium">
Expand Down
2 changes: 1 addition & 1 deletion src/theme/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</head>

<body <?php body_class(); ?>>
<header id="header" class="header p-5 lg:p-10 border-b border-gray-200">
<header id="header" class="header p-4 lg:p-10 border-b border-gray-200">
<a href="/">
<img src="<?php echo get_template_directory_uri(); ?>/img/logo.svg" alt="Logo 🌈">
</a>
Expand Down
2 changes: 1 addition & 1 deletion src/theme/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="lg:grid grid-cols-3 gap-4">
<div class="site-content col-span-2 md:border-r md:border-gray-200">
<article class="page">
<div class="inner p-5 lg:p-10">
<div class="inner p-4 lg:p-10">
<?php
if (have_posts()) :
while (have_posts()) :
Expand Down
2 changes: 1 addition & 1 deletion src/theme/page.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php get_header(); ?>
<div class="p-5 lg:p-10">
<div class="p-4 lg:p-10">
<div class="site-content page">
<?php
if (have_posts()) :
Expand Down
4 changes: 2 additions & 2 deletions src/theme/search.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
?>
<div class="lg:grid grid-cols-3 gap-4">
<div class="site-content col-span-2 lg:border-r lg:border-gray-200">
<h2 class="page-title p-5 lg:p-10 text-5xl border-b font-bold border-gray-200">
<h2 class="page-title p-4 lg:p-10 text-5xl border-b font-bold border-gray-200">
Results
</h2>
<div class="inner <?php echo $className ?> p-5 lg:p-10">
<div class="inner <?php echo $className ?> p-4 lg:p-10">
<?php
if (have_posts()) :
while (have_posts()) :
Expand Down
2 changes: 1 addition & 1 deletion src/theme/searchform.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class="search-form mb-4"
>
<div class="inner-content flex">
<input
class="outline-none border-2 rounded-lg py-2 px-5 mr-4 border-gray-200"
class="outline-none border-2 rounded-lg py-2 px-4 mr-4 border-gray-200"
type="text"
value=""
name="s"
Expand Down
2 changes: 1 addition & 1 deletion src/theme/sidebar.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="side-column px-5 pb-5 lg:p-10">
<div class="side-column px-4 pb-4 lg:p-10">
<?php if (is_active_sidebar('sidebar1')) : ?>
<?php dynamic_sidebar('sidebar1'); ?>
<?php endif; ?>
Expand Down
2 changes: 1 addition & 1 deletion src/theme/single.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php get_header(); ?>
<div class="p-5 lg:p-10">
<div class="p-4 lg:p-10">
<div class="site-content single">
<?php
if (have_posts()) :
Expand Down

0 comments on commit 1dab1e5

Please sign in to comment.