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

111 lines
6.2 KiB
PHP
Raw Normal View History

2017-01-12 23:10:07 +00:00
<!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(); ?>>
2017-01-12 23:13:02 +00:00
<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://www.facebook.com/Rumperuu"><i class="fa fa-facebook-official"></i></a> ~
<a href="https://twitter.com/rumperuu"><i class="fa fa-twitter"></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="blog-row">
<ul class="col-2">
<li><a id="blog" class="hyperlink-button" href="blog">Blog</a></li>
</ul>
</div>
<div class="row" id="portfolios-row">
<div class="col-12">
<h5>Portfolios</h5>
<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><a id=\"".($post_type->name)."\" class=\"hyperlink-button\" href=\"".($post_type->name)."\">".($post_type->labels->name)."</a></li>";
}
}
foreach ($portfolios as $portfolio) {
echo "<div class=\"col-m-6 col-2 col-w-1\">";
echo $buttons[$portfolio];
echo "</div>";
}
?>
</ul>
</div>
</div>
<div class="row" id="experience-row">
<div class="col-12">
<h5>Experience</h5>
<ul>
<div class="col-m-6 col-2 col-w-1">
<li><a id="all" class="hyperlink-button" href="experience">All (WIP)</a></li>
2017-01-12 23:10:07 +00:00
</div>
2017-01-12 23:13:02 +00:00
<div class="col-m-6 col-2">
<li><a id="company" class="hyperlink-button" href="experience-by-companies">by Company (WIP)</a></li>
2017-01-12 23:10:07 +00:00
</div>
2017-01-12 23:13:02 +00:00
<div class="col-m-6 col-2">
<li><a id="country" class="hyperlink-button" href="experience-by-countries">by Country (WIP)</a></li>
2017-01-12 23:10:07 +00:00
</div>
2017-01-12 23:13:02 +00:00
<div class="col-m-6 col-2">
<li><a id="sector" class="hyperlink-button" href="experience-by-sector">by Sector (WIP)</a></li>
2017-01-12 23:10:07 +00:00
</div>
2017-01-12 23:13:02 +00:00
</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>
2017-01-12 23:10:07 +00:00
</div>
2017-01-12 23:13:02 +00:00
<div class="col-m-6 col-2">
<li><a id="awards" class="hyperlink-button" href="award">Awards (WIP)</a></li>
2017-01-12 23:10:07 +00:00
</div>
2017-01-12 23:13:02 +00:00
</ul>
</div>
</div>
<div class="row" id="icons-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 -->
2017-01-12 23:10:07 +00:00
<?php get_footer(); ?>