fixed front page layout issues on mobile

This commit is contained in:
Adam Piontek 2021-07-10 20:29:27 -04:00
parent b84a5ccc1e
commit 7665502e52
3 changed files with 6 additions and 69 deletions

67
TODO.md
View file

@ -1,68 +1,5 @@
# TODO
- [X] ~~*fork*~~ [2021-07-02]
- [X] ~~*rebrand*~~ [2021-07-02]
- [X] ~~*initial updating of node modules/webpack*~~ [2021-07-02]
- [X] ~~*replace tailwind with bootstrap*~~ [2021-07-03]
- [X] ~~*initial webpack config for development*~~ [2021-07-04]
- [X] ~~*add font handling if possible*~~ [2021-07-04]
- [X] ~~*add svg sprite handling if possible*~~ [2021-07-04]
- [X] ~~*svg theme function?*~~ [2021-07-06]
- [X] ~~*navbar menu*~~ [2021-07-06]
- [X] ~~*navbar hamburger mobile toggler*~~ [2021-07-06]
- [X] ~~*pore through template files to update theming*~~ [2021-07-08]
- [X] ~~*initial front-page.php*~~ [2021-07-06]
- [X] ~~*create social-icons working for front page*~~ [2021-07-06]
- [X] ~~*create About page and suitable page.php for it & other generic pages*~~ [2021-07-06]
- [X] ~~*create some blog entries*~~ [2021-07-06]
- [X] ~~*properly incorporate favicons (meta links etc)*~~ [2021-07-07]
- [X] ~~*include pubkey asc file, others??*~~ [2021-07-07]
- [X] ~~*purgecss/webpack config for production*~~ [2021-07-07]
- [X] ~~*clear dist folder and test building again*~~ [2021-07-07]
- [X] ~~*continue blog work*~~ [2021-07-08]
- [X] ~~*confirm content-article.php ok for multi-post blog page index listing*~~ [2021-07-08]
- [X] ~~*single-post blog post view?*~~ [2021-07-08]
- [X] ~~*MOVE TO MCCOY/DEV1 WORDPRESS (1.5.8 RC1 ?)*~~ [2021-07-08]
- [X] ~~*create Resume page*~~ [2021-07-09]
- [X] ~~*reconfigured social icons to allow filtering to professional icons*~~ [2021-07-09]
- [X] ~~*also allowing 'social_icons' shortcode for inserting social icons from wp editor*~~ [2021-07-09]
- [X] ~~*implement resume separator content*~~ [2021-07-09]
- [X] ~~*implement resume content ... and update?*~~ [2021-07-09]
- [X] ~~*re-do Front Page as content from within WP?*~~ [2021-07-09]
- [X] ~~*using 'featured image' or some such?*~~ [2021-07-09]
- [X] ~~*using shortcode for social icons?*~~ [2021-07-09]
- [X] ~~*SYNTAX HIGHLIGHTING PLUGIN*~~ [2021-07-10]
- [X] ~~*wrapping lines now? how to ensure nowrap?*~~ [2021-07-10]
- [X] ~~*add remaining content*~~ [2021-07-10]
- [X] ~~*blog pagination?*~~ [2021-07-10]
- [X] ~~*footer 'sidebar' (blog-only)?*~~ [2021-07-10]
- [X] ~~*date archives?*~~ [2021-07-10]
- [X] ~~*tag archives?*~~ [2021-07-10]
- [X] ~~*search?*~~ [2021-07-10]
- [X] ~~*meta? etc?*~~ [2021-07-10]
- [X] ~~*sidebar.php ??*~~ [2021-07-10]
- [X] ~~*search field up top somewhere?*~~ [2021-07-10]
- [X] ~~*search.php ??*~~ [2021-07-10]
- [X] ~~*404.php*~~ [2021-07-10]
- [X] ~~*NGINX SNIPPETS - bring in for testing!*~~ [2021-07-10]
- [X] ~~*nginx 404 handling?*~~ [2021-07-10]
- [X] ~~*nginx 50x handling! - nginx purposefully generate 505 errors somehow?*~~ [2021-07-10]
- [ ] double-check npm run build output to ensure it's all working
- [ ] disable WP/SCRIPT DEBUG
- [ ] ...
- [ ] TRANSFER TO PRODUCTION
- [ ] content/settings (db export?)
- [ ] nginx config w/special root files
- [ ] Plugins for security and optimization
- [ ] jetpack? markdown from that one?
- [ ] caching? lighthouse report (cat-roof webp, woff2 fonts)
- [ ] [info](https://wordpress.org/support/article/optimization/#browser-caching)
- [ ] comments.php & article post handling (form, styling, etc?)
- [ ] comments? discussion?
- [ ] indieweb stuff?
- [ ] use wordpress for filebrowser login auth?
- [ ] comments handling?
- [ ] indieweb stuff?
- [ ] Portfolio: just a blog category view of project blog posts?
- [ ] figure out Search
- [ ] Recipes & trip logs w/images? Videos?
- [ ] add some code/notes posts of things I've learned?
- [ ] other ideas?

View file

@ -8,9 +8,9 @@
namespace WP_73k;
get_header('', array('fixednav'=>true)); ?>
<main class="container-fluid h-100 d-flex justify-content-center align-items-center">
<div class="d-flex flex-column-reverse flex-lg-row align-items-lg-end mt-5" id="tek-front-page">
get_header(); ?>
<main class="container d-flex justify-content-center">
<div class="d-flex flex-column-reverse flex-lg-row align-items-lg-end mt-sm-3 mt-md-4 pt-md-4 mt-lg-5 pt-lg-5 pb-5" id="tek-front-page">
<?php
if ( have_posts() ) {

View file

@ -59,7 +59,7 @@ namespace WP_73k;
<body <?php body_class(); ?> itemscope itemtype="https://schema.org/WebPage">
<nav class="navbar <?php echo ($args['fixednav'] ? 'fixed-top' : ''); ?> navbar-expand-lg navbar-dark px-1 px-sm-2 px-lg-3 px-xl-4 px-xxl-5 py-3">
<nav class="navbar navbar-expand-lg navbar-dark px-1 px-sm-2 px-lg-3 px-xl-4 px-xxl-5 py-3">
<div class="container-fluid">
<h1 class="my-0 py-0 lh-base">