-
Notifications
You must be signed in to change notification settings - Fork 0
/
mmnet.php
80 lines (77 loc) · 4.1 KB
/
mmnet.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<?php /* Template Name: Inside MM net */ ?>
<!DOCTYPE html>
<html lang="en">
<?php while ( have_posts() ) : the_post(); ?>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale-1.0">
<link href="/wp-content/themes/MindMates-wp/static/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="/wp-content/themes/MindMates-wp/static/fonts/font-awesome.min.css">
<link href='https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="/wp-content/themes/MindMates-wp/static/css/boffi.css">
<link rel="stylesheet" type="text/css" href="/wp-content/themes/MindMates-wp/static/css/style.css">
<link rel="stylesheet" type="text/css" href="/wp-content/themes/MindMates-wp/static/css/static.css">
<link rel="stylesheet" type="text/css" href="/wp-content/themes/MindMates-wp/static/css/dipaolo.css">
<link rel="stylesheet" type="text/css" href="/wp-content/themes/MindMates-wp/static/css/dipaolo2.css">
<link rel="stylesheet" type="text/css" href="/wp-content/themes/MindMates-wp/static/css/header.css">
<link href="/wp-content/themes/MindMates-wp/static/css/clean-blog.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="/wp-content/themes/MindMates-wp/static/css/lago.css">
<link rel="stylesheet" type="text/css" href="/wp-content/themes/MindMates-wp/static/css/lago-style.css">
<script src='https://api.mapbox.com/mapbox-gl-js/v1.12.0/mapbox-gl.js'></script>
<link href='https://api.mapbox.com/mapbox-gl-js/v1.12.0/mapbox-gl.css' rel='stylesheet' />
<script src="/wp-content/themes/MindMates-wp/static/js/main.js"></script>
<script src="https://kit.fontawesome.com/4c0b3ae1d6.js" crossorigin="anonymous"></script>
<title>Inside <?php bloginfo( 'name' ) ?></title>
</head>
<body>
<div id="sidebar-section-peripherial">
<?php get_sidebar(); ?>
<div class="mdc-layout-grid projects-grid">
<div class="mdc-layout-grid__inner">
<?php
$cats = get_categories();
foreach($cats as $cat) {
?>
<div class="mdc-layout-grid__cell mdc-layout-grid__cell--span-2">
<div class="mdc-card">
<div class="display">
<a href="<?php echo get_category_link( $cat->term_id ) ?>">
<div class="mdc-card__primary-action">
<div class="mdc-card__media my-card__media" style="background-image: url('<?php if(category_description( $cat )) echo category_description( $cat ); else echo '/wp-content/uploads/2020/08/grey.png' ?>'); background-size: cover;">
<div class="summary">
<b><?php echo $cat->name; ?></b>
</div>
</div>
</div>
</a>
</div>
</div>
</div>
<?php
}
?>
</div>
</div>
<div class="padded">
<?php get_footer(); ?>
</div>
</div>
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
<script src="/wp-content/themes/MindMates-wp/static/js/jquery.js"></script>
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" crossorigin="anonymous"></script>
<script src="/wp-content/themes/MindMates-wp/static/js/jquery.createTOC.js"></script>
<script src="/wp-content/themes/MindMates-wp/static/js/sidebar.js"></script>
<script src="/wp-content/themes/MindMates-wp/static/js/clean-blog.js"></script>
<script>
mapboxgl.accessToken = 'pk.eyJ1IjoiY2lhb2RlamFuIiwiYSI6ImNrZTN2dW9jOTBuN2cyc2xlYWI2MjRwcXYifQ.HlNsmr-JWqllSCMOYMkt2A';
var map = new mapboxgl.Map({
container: 'map',
center: [-122.420679, 37.772537],
style: 'mapbox://styles/mapbox/light-v10'
});
</script>
</body>
<?php endwhile; ?>
</html>