diff options
author | Zach van Rijn <me@zv.io> | 2021-07-22 07:18:19 -0500 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2021-07-22 07:18:19 -0500 |
commit | 7878f2854948484c38adc0a9e8a11d065449fd44 (patch) | |
tree | 81de3188ff2964e3706763f43d103b66df16b1d8 | |
parent | 399647e99fc18d0949d6f30148cf76cd399b9a45 (diff) | |
download | blog-ng-7878f2854948484c38adc0a9e8a11d065449fd44.tar.gz blog-ng-7878f2854948484c38adc0a9e8a11d065449fd44.tar.bz2 blog-ng-7878f2854948484c38adc0a9e8a11d065449fd44.tar.xz blog-ng-7878f2854948484c38adc0a9e8a11d065449fd44.zip |
Crude first pass at header/footer.
-rw-r--r-- | header.php | 13 | ||||
-rw-r--r-- | inc/markup-extras.php | 104 | ||||
-rw-r--r-- | template-parts/header/header-main-layout.php | 111 |
3 files changed, 199 insertions, 29 deletions
@@ -25,6 +25,19 @@ if ( ! defined( 'ABSPATH' ) ) { <?php wp_head(); ?> <?php astra_head_bottom(); ?> + <!-- Favicon --> + <link href="https://www.adelielinux.org/assets/images/icons/gen_polyguin_color_favicon.ico" rel="shortcut icon"> + <!-- CSS --> + <link href="https://www.adelielinux.org/assets/plugins/bootstrap/bootstrap.min.css" rel="stylesheet"> + <link href="https://www.adelielinux.org/assets/plugins/owl-carousel/owl.carousel.min.css" rel="stylesheet"> + <link href="https://www.adelielinux.org/assets/plugins/owl-carousel/owl.theme.default.min.css" rel="stylesheet"> + <link href="https://www.adelielinux.org/assets/plugins/magnific-popup/magnific-popup.min.css" rel="stylesheet"> + <link href="https://www.adelielinux.org/assets/plugins/sal/sal.min.css" rel="stylesheet"> + <link href="https://www.adelielinux.org/assets/css/theme.css" rel="stylesheet"> + <!-- Fonts/Icons --> + <link href="https://www.adelielinux.org/assets/plugins/font-awesome/css/all.css" rel="stylesheet"> + <link href="https://www.adelielinux.org/assets/plugins/themify/themify-icons.min.css" rel="stylesheet"> + <link href="https://www.adelielinux.org/assets/plugins/simple-line-icons/css/simple-line-icons.css" rel="stylesheet"> </head> <body <?php astra_schema_body(); ?> <?php body_class(); ?>> diff --git a/inc/markup-extras.php b/inc/markup-extras.php index bb2ccaa..1d40585 100644 --- a/inc/markup-extras.php +++ b/inc/markup-extras.php @@ -981,25 +981,93 @@ if ( ! function_exists( 'astra_footer_markup' ) ) { function astra_footer_markup() { ?> - <footer - <?php - echo astra_attr( - 'footer', - array( - 'id' => 'colophon', - 'class' => join( ' ', astra_get_footer_classes() ), - ) - ); - ?> - > - - <?php astra_footer_content_top(); ?> - - <?php astra_footer_content(); ?> - - <?php astra_footer_content_bottom(); ?> +<div class="section bg-white"> + <div class="container"> + <div class="row"> + <div class="col-12 col-md-6"> + <h3>Independent by design.</h3> + </div> + <div class="col-12 col-md-6"> + <p> + Adélie is an independent Linux distribution committed to integrity, privacy, and user freedom. <a href="https://www.adelielinux.org/contribute/"><strong>Your donation might be tax-deductible</strong>.</a> + </p> + </div> + </div> + <!-- end row --> + </div> + <!-- end container --> +</div> + +<footer> + <div class="section-sm bg-dark"> + <div class="container"> + <div class="row col-spacing-20"> + <div class="col-6 col-sm-6 col-lg-3"> + <h3>Adélie Linux</h3> + </div> + <div class="col-6 col-sm-6 col-lg-3"> + <h6 class="font-large font-weight-bold">Quick Links</h6> + <ul class="list-unstyled"> + <li><a href="https://www.adelielinux.org/about/">About Adélie</a></li> + <li><a href="https://www.adelielinux.org/download/">Download</a></li> + <li><a href="https://www.adelielinux.org/enterprise/">Enterprise Support</a></li> + <li><a href="https://www.adelielinux.org/contribute/">Donate</a></li> + </ul> + </div> + <div class="col-6 col-sm-6 col-lg-3"> + <h6 class="font-large font-weight-bold">Resources</h6> + <ul class="list-unstyled"> + <li><a href="https://pkg.adelielinux.org/">Packages</a></li> + <li><a href="https://help.adelielinux.org/">Documentation</a></li> + <li><a href="https://www.adelielinux.org/faq/">FAQ</a></li> + </ul> + </div> + <div class="col-6 col-sm-6 col-lg-3"> + <h6 class="font-large font-weight-bold">Community</h6> + <ul class="list-unstyled"> + <li><a href="https://blog.adelielinux.org/">Blog & Press Releases</a></li> + <li><a href="https://www.adelielinux.org/standards/">Community Standards</a></li> + </ul> + </div> + </div> + <!-- end row(1) --> + + <hr class="margin-top-30 margin-bottom-30" /> + + <div class="row col-spacing-10"> + <div class="col-12 col-md-6 text-center text-md-left"> + <p> + © + <script> + document.write(new Date().getFullYear()); + </script> + Adélie Linux and Contributors. + </p> + </div> + <div class="col-12 col-md-6 text-center text-md-right"> + <ul class="list-inline"> + <li><a href="https://www.adelielinux.org/legal/privacy.html">Privacy Policy</a></li> + </ul> + </div> + </div> + <!-- end row(2) --> + </div> + <!-- end container --> + </div> +</footer> + +<!-- Scroll to top button --> +<div class="scrolltotop"> + <a class="button-circle button-circle-sm button-circle-dark" href="#"><i class="ti-arrow-up"></i></a> +</div> +<!-- end Scroll to top button --> + +<!-- ***** JAVASCRIPTS ***** --> +<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> +<script src="https://polyfill.io/v3/polyfill.min.js?features=IntersectionObserver"></script> +<script src="https://www.adelielinux.org/assets/plugins/plugins.js"></script> +<script src="https://www.adelielinux.org/assets/js/functions.js"></script> - </footer><!-- #colophon --> <?php } } diff --git a/template-parts/header/header-main-layout.php b/template-parts/header/header-main-layout.php index 42e03f5..918e80e 100644 --- a/template-parts/header/header-main-layout.php +++ b/template-parts/header/header-main-layout.php @@ -16,15 +16,104 @@ ?> -<div class="main-header-bar-wrap"> - <div <?php echo astra_attr( 'main-header-bar' ); ?>> - <?php astra_main_header_bar_top(); ?> - <div class="ast-container"> +<!-- Header --> +<div class="header right sticky"> + <div class="container"> + <!-- Logo --> + <div class="header-logo"> + <h3> + <a href="https://www.adelielinux.org/"> + <img + class="logo-dark" + src="https://www.adelielinux.org/assets/images/gen_polylogo_black_mono_x54.png" + alt="" + onmouseover="this.src='https://www.adelielinux.org/assets/images/gen_polylogo_black_color_x54.png'" + onmouseout="this.src='https://www.adelielinux.org/assets/images/gen_polylogo_black_mono_x54.png'" + /> + <img + class="logo-light" + src="https://www.adelielinux.org/assets/images/gen_polylogo_white_mono_x54.png" + alt="" + onmouseover="this.src='https://www.adelielinux.org/assets/images/gen_polylogo_white_color_x54.png'" + onmouseout="this.src='https://www.adelielinux.org/assets/images/gen_polylogo_white_mono_x54.png'" + /> + </a> + </h3> + </div> + <!-- Menu --> + <div class="header-menu"> + <ul class="nav"> + <li class="nav-item"> + <a class="nav-link" href="#">About</a> + <ul class="nav-dropdown"> + <li class="nav-dropdown-item"><a class="nav-dropdown-link" href="https://www.adelielinux.org/about/">The Adélie Way</a></li> + <li class="nav-dropdown-item"><a class="nav-dropdown-link" href="https://www.adelielinux.org/desktop/">For Desktop</a></li> + <li class="nav-dropdown-item"><a class="nav-dropdown-link" href="https://www.adelielinux.org/servers/">For Servers</a></li> + <li class="nav-dropdown-item"><a class="nav-dropdown-link" href="https://www.adelielinux.org/faq/">Common Questions</a></li> + </ul> + </li> + <li class="nav-item"> + <a class="nav-link" href="https://www.adelielinux.org/download/">Download</a> + </li> + <li class="nav-item"> + <a class="nav-link" href="https://www.adelielinux.org/screenshots/">Screenshots</a> + </li> + <li class="nav-item"> + <a class="nav-link" href="#">Help</a> + <ul class="nav-dropdown"> + <li class="nav-dropdown-item"><a class="nav-dropdown-link" href="https://www.adelielinux.org/quickstart/">Getting Started</a></li> + <li class="nav-dropdown-item"><a class="nav-dropdown-link" href="https://help.adelielinux.org/">Documentation</a></li> + <li class="nav-dropdown-item"><a class="nav-dropdown-link" href="https://www.adelielinux.org/enterprise/">Enterprise Support</a></li> + <li class="nav-dropdown-item"><a class="nav-dropdown-link" href="https://www.adelielinux.org/contribute/">Donate</a></li> + </ul> + </li> + <li class="nav-item"> + <a class="nav-link" href="#">Software</a> + <ul class="nav-dropdown"> + <li class="nav-dropdown-item"><a class="nav-dropdown-link" href="https://pkg.adelielinux.org/">Available Packages</a></li> + <li class="nav-dropdown-item"><a class="nav-dropdown-link" href="https://gcompat.org/">"gcompat" Library</a></li> + <li class="nav-dropdown-item"><a class="nav-dropdown-link" href="https://git.adelielinux.org/groups/adelie/-/issues">Issues & Bug Reports</a></li> + </ul> + </li> + <li class="nav-item"> + <a class="nav-link" href="#">Community</a> + <ul class="nav-dropdown"> + <li class="nav-dropdown-item"><a class="nav-dropdown-link" href="https://www.adelielinux.org/contact/">Contact Adélie</a></li> + <li class="nav-dropdown-item"><a class="nav-dropdown-link" href="https://lists.adelielinux.org/archive/">Mailing Lists</a></li> + <li class="nav-dropdown-item"><a class="nav-dropdown-link" href="https://www.adelielinux.org/contact/irc.html">IRC Web Client</a></li> + <li class="nav-dropdown-item"><a class="nav-dropdown-link" href="https://www.adelielinux.org/contact/social.html">Social Media</a></li> + <li class="nav-dropdown-item"><a class="nav-dropdown-link" href="https://blog.adelielinux.org/">Blog & Press Releases</a></li> + <li class="nav-dropdown-item"><a class="nav-dropdown-link" href="https://www.adelielinux.org/standards/">Community Standards</a></li> + </ul> + </li> +<!-- + <li class="nav-item"> + <a class="nav-link" href="#">Research</a> + <ul class="nav-dropdown"> + <li class="nav-dropdown-item"><a class="nav-dropdown-link" href="https://www.adelielinux.org/hpc/">HPC Deployments</a></li> + <li class="nav-dropdown-item"><a class="nav-dropdown-link" href="https://www.adelielinux.org/partners/">Collaborations</a></li> + <li class="nav-dropdown-item"><a class="nav-dropdown-link" href="https://www.adelielinux.org/whitepapers/">White Papers</a></li> + <li class="nav-dropdown-item"><a class="nav-dropdown-link" href="https://www.adelielinux.org/publications/">Publications</a></li> + <li class="nav-dropdown-item"><a class="nav-dropdown-link" href="https://www.adelielinux.org/students/">For Students</a></li> + </ul> + </li> +--> + <li class="nav-item"> + <a class="nav-link" href="https://git.adelielinux.org/">Git</a> + </li> + </ul> + </div> + <!-- Menu Toggle --> + <button class="header-toggle"> + <span></span> + </button> + </div> + <!-- end container --> +</div> +<!-- end Header --> - <div class="ast-flex main-header-container"> - <?php astra_masthead_content(); ?> - </div><!-- Main Header Container --> - </div><!-- ast-row --> - <?php astra_main_header_bar_bottom(); ?> - </div> <!-- Main Header Bar --> -</div> <!-- Main Header Bar Wrap --> +<div class="section-xs"> + <div class="container text-center"> + <h3 class="font-family-secondary"><?php astra_masthead_content(); ?></h3> + </div><!-- end container --> +</div> |