From 1e708c02a3b0c4875a2a8c6b9e631236eeea57fa Mon Sep 17 00:00:00 2001 From: Adam Piontek Date: Fri, 9 Jul 2021 15:43:11 -0400 Subject: [PATCH] Resume page working, many other small improvements --- archive.php | 2 +- assets/css/app.scss | 66 +++++++++++++++++---------- content-templates/content-article.php | 2 +- front-page.php | 6 +-- index.php | 2 +- page-resume.php | 44 ++++++++++++++++++ page.php | 59 ++++++++++++++---------- socials.php | 2 +- src/classes.php | 2 +- src/setup.php | 2 +- style.css | 2 +- 11 files changed, 129 insertions(+), 60 deletions(-) create mode 100644 page-resume.php diff --git a/archive.php b/archive.php index 930e9cd..1076331 100644 --- a/archive.php +++ b/archive.php @@ -2,7 +2,7 @@ /** * The default archive page template. * - * @author Freeshifter LLC + * @author Adam Piontek * @since 1.0.0 */ diff --git a/assets/css/app.scss b/assets/css/app.scss index b3009af..54b792f 100644 --- a/assets/css/app.scss +++ b/assets/css/app.scss @@ -131,7 +131,7 @@ a { } /* front page styles */ -#front-page img.wp-post-image { +#tek-front-page img.wp-post-image { @extend .img-fluid; @extend .border; // @extend .border-20; @@ -140,12 +140,51 @@ a { border-width: 18px !important; width: 100%; } -#front-page h2 { +#tek-front-page h2, header h2 { @extend .fs-2; @extend .fw-600; @extend .mb-0; } +/* resume styles */ +.tek-separator { + display: flex; + align-items: center; + text-align: center; + color: $gray-400; + font-family: $font-family-monospace; + font-size: 1.2rem; + line-height: 1.2; + text-transform: uppercase; + font-weight: 600; + margin-top: 2rem; + margin-bottom: .75rem; + &::before, + &::after { + content: ""; + flex: 1; + border-bottom: 1px solid $secondary; + } + &:not(:empty)::before { + margin-right: 0.5em; + } + &:not(:empty)::after { + margin-left: 0.33em; + } +} +#tek-page-resume { + .tek-qualifications { + margin-bottom: 2rem; + } + .tek-employer { + @extend .border-bottom; + @extend .border-gray; + border-bottom-style: dashed !important; + } +} + + + /* social icons */ #social-icons .link-light { border-bottom: none; @@ -193,29 +232,6 @@ blockquote { } } -/* resume separators */ -.separator { - display: flex; - align-items: center; - text-align: center; - color: $gray-400; - font-family: $font-family-monospace; - font-size: smaller; - text-transform: uppercase; - font-weight: 700; - &::before, - &::after { - content: ""; - flex: 1; - border-bottom: 1px solid $secondary; - } - &:not(:empty)::before { - margin-right: 0.5em; - } - &:not(:empty)::after { - margin-left: 0.33em; - } -} /* blog */ .post-title a { diff --git a/content-templates/content-article.php b/content-templates/content-article.php index 570c70a..e1a2900 100644 --- a/content-templates/content-article.php +++ b/content-templates/content-article.php @@ -2,7 +2,7 @@ /** * The article template. * - * @author Freeshifter LLC + * @author Adam Piontek * @since 1.0.0 */ diff --git a/front-page.php b/front-page.php index 01e5898..249ca35 100644 --- a/front-page.php +++ b/front-page.php @@ -1,8 +1,8 @@ true)); ?>
-
+
+
+
+ + + +
+ +
+

+ +

+
+ +
+ +
+ +
+ + + +
+
+
+
-
+ -
-
-

- %s', - esc_url( get_the_permalink() ), - esc_html( get_the_title() ) - ); - } else { - echo get_the_title(); - } ?> -

-
+
-
- 'rounded shadow-lg'] ); +
+

+ %s', + esc_url( get_the_permalink() ), + esc_html( get_the_title() ) + ); + } else { + echo get_the_title(); + } ?> +

+
+ +
+ 'rounded shadow-lg'] ); + } + + the_content(); ?> +
+ +
+ + -
- - + } ?>
diff --git a/socials.php b/socials.php index f205e3b..aad7ae9 100644 --- a/socials.php +++ b/socials.php @@ -74,7 +74,7 @@ function get_social_icons_prof() { } function social_icons_str($icons_arr) { - $out_str = '
'; + $out_str = '
'; foreach ($icons_arr as $i=>$social) { $pad = $i == 0 ? 'pe-1' : ($i == (count($icons_arr) - 1) ? 'ps-1' : 'px-1'); $out_str .= '