From c88602dad13080b3487c0d1163cf2b8a160eb6c7 Mon Sep 17 00:00:00 2001 From: Ross Trottier Date: Thu, 20 Jun 2024 16:15:11 -0600 Subject: [PATCH] front page latest section + header --- assets/images/st-logo.png | Bin 0 -> 16254 bytes assets/js/st-nav.js | 19 +++ footer.php | 7 + front-page.php | 60 +++++++++ functions.php | 13 +- header.php | 53 ++++++++ style.css | 270 +++++++++++++++++++++++++++++++++++++- 7 files changed, 419 insertions(+), 3 deletions(-) create mode 100644 assets/images/st-logo.png create mode 100644 assets/js/st-nav.js create mode 100644 footer.php create mode 100644 front-page.php create mode 100644 header.php diff --git a/assets/images/st-logo.png b/assets/images/st-logo.png new file mode 100644 index 0000000000000000000000000000000000000000..f4c4ffac1f3e7eb61fed906b642b5995fb73fdc4 GIT binary patch literal 16254 zcmeIZWmH{VlP*dK?oNOJ8+V7`5InfMySsaEclY2_t`0r=F5I=VFaDHX$-nBJeQSFd!fx@S@)Y6_{QCWY`UteVK+!bZ5ky8pK}f_#f}Wn9@jnI-%f!S4)c(2t75*}q7j1qcIPX=rGGcAyMQ1~~rC0#%?9 zsQ$GBqXUuuRP-1B_xcwAlxhDAp!yf~*B5B}O9cb~2ax3R=gBOR8&+z3~&l)0Tu-b4o*c$0hHk&ApXGs zegBdF3P6{?0u=?>UjY^p^4~F3f1&_sfdVBZ<-aokeSrm1Qj-5eLP0@BK|w)DNdbfb zGyDtw?MwNuRH?{+3zUDZK;f_bukmltf719pOYu8@-~dtqNr1F})xRnI;{{BBnwS^} z{wE5sGrxbx$$|L*UH-jMf8{^5{41run7_;v|It-o6~7(H$SBBv^HBY<1ChX>Kn7qS zN=mZdB){wZE06;-XJKIh_8gdMbse<>(ErUrPD&o+YtFFu$Bz0#t2+meH&=>M^D6kH z0bK#Q@3FAgvNiD`nNb0uHbMoy5h?CP#?cvwP~$&E$Mh7?37eGQp8$-Kt2lYLm@3ji zCI&57Wg@4iq&RFO>Mxtrb7_mccF>$tZ3{c{$KAXe7q|>Q+%TxS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CG?Xg(17%$Vq!>htTdx(sPZpRHr-8Tksg2ZndVpy+DD z>DuGj$?5;I>O#rAK+Nh?t;6IbcLnd$6~8hW`<#BW_k;rC!y!Q>`;y>A*DdGJ`U_tD z)C>d^uAVk4-k3G>T~XYMm4+!7UPo8E{)I?L4=fT}XS=C^;g)==u{vU! ze@=sw=8_R{-MT~X`=v5>*rLVVIuZW6Dp}qe8u0s`+pc5sM8X2ZG+-6prZO!yWa>9_ zw+W}1aM@62oKJ)7J^AKotxM$Bv&vx=S}m@ZnQ4ftP5Fo&9Ls#2-3`3-)8JCTzew+) zUaUQdL<@A8667Ddqk_}$Ol zf!qA@s2%;E&vzSj|Q2;w){%6?P4n zgAZ|bG#i!KR>Jv9aQS@Op+?hSzBc7KHEMay)2qzXj#*&GrEJbDR4(vq70TvlHZ9at_8ESk8( zS|z1jc@>6{(CcI}g+A>t8U#MZwc$*xb!D4}_gh7svIeI#M|xNsLvHMn+3Xb&M3H4J zG+jiW*ohzt z5Y;-;RD0^4nJ>TwYG*OTKu#DCUK-nROF4h$X;}FM@gQ5TTP#eL$K&1d+ViT+)A8~u z7AJElAq46yq4g3VZd0t2Kjm2g;ubiCVe#*7dy;@@~!j&?h10zP0*p z<+TB_*T>ln>EWj59s2rHzpk2f}ICAZ52ec0tpkPrV~ e^dLDN?2Wg { + nav.classList.add('st-nav-is-open'); +}); + +closeButton.addEventListener('click', () => { + nav.classList.remove('st-nav-is-open'); +}); + +let lastScrollPosition = 0; + +window.addEventListener('scroll', function(event) { + const scrollPosition = window.scrollY; + console.log(scrollPosition); + lastScrollPosition = scrollPosition; +}); \ No newline at end of file diff --git a/footer.php b/footer.php new file mode 100644 index 0000000..c07c0fa --- /dev/null +++ b/footer.php @@ -0,0 +1,7 @@ +
+ +
+ + + + \ No newline at end of file diff --git a/front-page.php b/front-page.php new file mode 100644 index 0000000..6cbbab3 --- /dev/null +++ b/front-page.php @@ -0,0 +1,60 @@ + + +
+
+

Latest

+ post_author ); + ?> + + + 5, + 'offset' => 1, + 'orderby' => 'post_date', + 'order' => 'DESC', + 'post_type' => 'post', + 'post_status' => 'publish' + ); + query_posts($post_section_two_args); + if (have_posts()) : while (have_posts()) : the_post(); + $category = get_the_category()[0]; + $author = get_userdata( $post->post_author ); + ?> + + +
+
+ + \ No newline at end of file diff --git a/functions.php b/functions.php index a3a5526..3c75884 100644 --- a/functions.php +++ b/functions.php @@ -1,11 +1,20 @@ get('version'), 'all'); + wp_enqueue_style( 'rubik font', 'https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap' ); + wp_enqueue_script( 'slowtwitch-nav-script', get_template_directory_uri() . '/assets/js/st-nav.js', NULL, NULL, true ); } // set up menu areas diff --git a/header.php b/header.php new file mode 100644 index 0000000..aa81c8f --- /dev/null +++ b/header.php @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + +
+ +
+ forum + join + + + +
+ +

Slowtwitch

+ + + + +
+ +
+
diff --git a/style.css b/style.css index f9b154a..1a93996 100644 --- a/style.css +++ b/style.css @@ -3,4 +3,272 @@ Text Domain: Slowtwitch Version: 1.0.0 Author: Ross Trottier -*/ \ No newline at end of file +*/ + +/* +============================ +CSS RESETS + GLOBALS +============================ +*/ + +* { + box-sizing: border-box; +} + +body { + margin: 0; + font-size: 1.25rem; + font-family: "Rubik", sans-serif; + line-height: 1.6; +} + +input, button, textarea, select { + font: inherit; +} + +/* +============================ +TYPOGRAPHY +============================ +*/ + +h1 { + font-size: 3rem; +} + +.st-site-title { + text-transform: uppercase; + color: #0b4fa0; + text-align: center; + margin-top: 0; + font-size: 3.3rem; +} + +/* +============================ +LAYOUT +============================ +*/ + +.st-main-grid { + display: grid; + grid-template-columns: minmax(1em, 1fr) minmax(260px, 500px) minmax(1em, 1fr); +} + +.st-main-grid > * { + grid-column: 2; +} + +/* +============================ +SECTIONS +============================ +*/ + +/* header bar */ + +.st-header-icon-bar { + display: flex; + justify-content: space-between; + color: black; + margin-top: .25em; +} + +.st-header-logo { + width: 100%; +} + +.st-header-icon { + text-decoration: none; + cursor: pointer; + color: black; +} + +/* nav */ + +.st-nav { + position: absolute; + background: #fff; + width: 100%; + top: 0; + right: 0; + bottom: 0; + left: -100%; + transform: translateX(0); + transition: transform ease-in-out 250ms; + grid-template-rows: minmax(2.25rem, 3rem) 1fr; +} + +.st-nav-sticky { + +} + +.st-nav-is-open { + transform: translateX(100%); +} + +.st-nav-btn { + background: 0; + border: 0; + font-size: 1.25rem; + cursor: pointer; +} + +.st-nav-links { + padding: 0; + margin-top: 0; +} + +.st-nav-links, +.st-nav-links ul { + list-style: none; +} + +.st-nav-links .menu-item a { + text-decoration: none; + cursor: pointer; + font-size: 2rem; + text-transform: uppercase; + margin-bottom: 1em; + letter-spacing: 1px; + color: #0b4fa0; +} + +.st-nav-links .menu-item a:hover, +.st-nav-links .menu-item a:hover:active { + color: #d3d3d3; +} + +.st-close-nav { + text-align: right; + font-size: 2rem; + height: 3rem; +} + +/* +============================ +COMPONENTS +============================ +*/ +/* main article card */ + +.st-article-section-title { + display: flex; + justify-content: space-between; + margin-top: 0; + margin-bottom: .5em; + color: black; + font-weight: 800; +} + +.st-article-section-title > a { + text-decoration: none; + color: black; +} + +.st-article-section-main-article__image-link img { + width: 100%; + object-fit: cover; + border-radius: 10px; +} + +.st-article-section-main-article__category-link { + text-decoration: none; + color: #fff; + padding: .3em .75em; + background: #0b4fa0; + font-size: .8rem; + text-transform: uppercase; + letter-spacing: 1px; +} + +.st-article-section-main-article__title { + text-decoration: none; + color: #454545; + font-size: 1.2rem; + line-height: 1.2; +} + +.st-article-section-main-article__title h3 { + margin: .25em 0; +} + +.st-article-section-main-article__excerpt { + font-size: .75em; + margin: 0; +} + +.st-article-section-main-article__author-link { + text-decoration: none; + color: #8b8680; + font-size: .5em; +} + +.st-article-section-main-article__datetime { + color: #8b8680; + font-size: .5em; +} + +/* sub article card */ + +.st-article-section-sub-article { + display: flex; + flex-direction: row; + margin-top: 1em; +} + +.st-article-section-sub-article__image-link img { + width: 160px; + height: auto; + aspect-ratio: 1.5; + object-fit: cover; + object-position: bottom right; + border-radius: 4px; +} + +.st-article-section-sub-article__category-link { + text-decoration: none; + color: #fff; + padding: .3em .75em; + background: #0b4fa0; + font-size: .6rem; + text-transform: uppercase; + letter-spacing: 1px; +} + +.st-article-section-sub-article__text-container { + display: flex; + flex-direction: column; + align-items: flex-start; + margin-left: .5em; +} + +.st-article-section-sub-article__title { + font-size: .75rem; + text-decoration: none; + color: #454545; + font-weight: 500; +} + +.st-article-section-sub-article__title h3 { + margin-top: .2em; +} + +/* chips */ + +.st-chip { + padding: .25em .75em; + font-size: 1rem; + text-decoration: none; + cursor: pointer; + border-radius: 100px; + color: white; +} + +.st-chip-primary { + background: #0b4fa0; +} + +.st-chip-secondary { + background: #A05C0B; +} \ No newline at end of file