This repository has been archived on 2022-08-01. You can view files and clone it, but cannot push or open issues or pull requests.
Oldphaloskepsis/front-page.php
2017-01-13 17:07:01 +00:00

116 lines
6.5 KiB
PHP

<!DOCTYPE html>
<html <?php language_attributes(); ?> class="no-js">
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">
<?php if ( is_singular() && pings_open( get_queried_object() ) ) : ?>
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<?php endif; ?>
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<div id="content" class="site-content">
<main id="main wrapper" class="site-main wrapper-home" role="main">
<header class="row" id="header-row">
<div class="col-m-3">
<div id="frontpage-img-wrapper">
<img id="frontpage-img" src="http://www.bengoldsworthy.uk/wp-content/uploads/2016/09/mebg.png" alt="A picture of Ben Goldsworthy">
</div>
</div>
<div class="page-header col-m-9 col-w-6">
<h1 id="website-title">Ben Goldsworthy</h1>
<h2 id="page-subtitle">
~ <a href="mailto:bgoldsworthy96@gmail.com"><i class="fa fa-envelope"></i></a> ~
<a href="bitcoin:1HApEg2robrRCx4rTKKeFj25unoaX65QUc"><i class="fa fa-btc"></i></a> ~
<a href="https://uk.linkedin.com/in/rumperuu"><i class="fa fa-linkedin"></i></a> ~
<a href="https://github.com/Rumperuu"><i class="fa fa-github"></i></a> ~
<i class="fa fa-key"></i> 7FDCE988 ~
</h2>
</div>
</header>
<div class="row" id="personal-row">
<div class="col-12">
<h3 class="frontpage-section-title col-12">Personal</h3>
<ul>
<li class="col-m-6 col-1"><a id="blog" class="hyperlink-button" href="blog">Blog</a></li>
<li class="col-m-6 col-1"><a id="wishlist" class="hyperlink-button" href="wishlist">Wishlist</a></li>
</ul>
</div>
</div>
<div class="row" id="portfolios-row">
<div class="col-12">
<h3 class="frontpage-section-title col-12">Portfolios</h3>
<ul>
<?php
$portfolios = array("website", "program", "writing", "video", "other");
$num = 2;
$args = array(
'public' => true,
'_builtin' => false
);
foreach (get_post_types($args, 'objects', 'and') as $post_type) {
if (in_array($post_type->name, $portfolios)) {
$num = array_search($post_type->name, $portfolios);
$buttons[$post_type->name] = "<li class=\"col-m-6 col-2\"><a id=\"".($post_type->name)."\" class=\"hyperlink-button\" href=\"".($post_type->name)."\">".($post_type->labels->name)."</a></li>";
}
}
foreach ($portfolios as $portfolio) {
echo $buttons[$portfolio];
}
?>
</ul>
</div>
</div>
<div class="row" id="experience-row">
<div class="col-12">
<h3 class="frontpage-section-title col-12">Experience</h3>
<ul>
<div class="col-m-6 col-2 col-w-1">
<li><a id="all" class="hyperlink-button" href="experience">All (WIP)</a></li>
</div>
<div class="col-m-6 col-2">
<li><a id="company" class="hyperlink-button" href="experience-by-companies">by Company (WIP)</a></li>
</div>
<div class="col-m-6 col-2">
<li><a id="country" class="hyperlink-button" href="experience-by-countries">by Country (WIP)</a></li>
</div>
<div class="col-m-6 col-2">
<li><a id="sector" class="hyperlink-button" href="experience-by-sector">by Sector (WIP)</a></li>
</div>
</ul>
</div>
</div>
<div class="row" id="others-row">
<div class="col-12">
<ul>
<div class="col-m-6 col-2">
<li><a id="certifications" class="hyperlink-button" href="qualification">Qualifications (WIP)</a></li>
</div>
<div class="col-m-6 col-2">
<li><a id="awards" class="hyperlink-button" href="award">Awards (WIP)</a></li>
</div>
</ul>
</div>
</div>
<!--
<div class="row" id="social-cataloguing-row">
<div class="icons-wrapper col-12 col-m-12">
<ul>
<li><a href="https://www.goodreads.com/Rumperuu"><div class="icon" style="background-image: url('http://www.bengoldsworthy.uk/wp-content/uploads/2016/09/gr.png');"></div></a></li>
<li><a href="http://letterboxd.com/Rumperuu/"><div class="icon" style="background-image: url('http://www.bengoldsworthy.uk/wp-content/uploads/2016/09/lb.png');"></div></a></li>
<li><a href="https://www.grouvee.com/user/Rumperuu/"><div class="icon" style="background-image: url('http://www.bengoldsworthy.uk/wp-content/uploads/2016/09/gv.png');"></div></a></li>
<li><a href="http://www.last.fm/user/Rumperuu"><div class="icon" style="background-image: url('http://www.bengoldsworthy.uk/wp-content/uploads/2016/09/lfm.png');"></div></a></li>
<li><a href="http://followmy.tv/u/Rumperuu"><div class="icon" style="background-image: url('http://www.bengoldsworthy.uk/wp-content/uploads/2016/09/fmtv.png');"></div></a></li>
</ul>
</div>
</div>
-->
</main><!-- .site-main -->
</div><!-- .content-area -->
<?php get_footer(); ?>