update draft title; prepare home categories; fix google analytics

This commit is contained in:
Ayo 2019-10-06 19:31:53 +08:00
parent e49a13dcff
commit 8a919fa4b9
8 changed files with 83 additions and 19 deletions

View file

@ -18,6 +18,7 @@ author: Ayo
attribution: "AyoCart Online Marketing" attribution: "AyoCart Online Marketing"
attribution-url: "https://AyoAyco.com" attribution-url: "https://AyoAyco.com"
bugreport_url: "https://github.com/fullhacker/fullhacker.github.io/issues/new" bugreport_url: "https://github.com/fullhacker/fullhacker.github.io/issues/new"
google_analytics: true
website: fullhacker.github.io website: fullhacker.github.io
email: fullhackerblog@gmail.com email: fullhackerblog@gmail.com
description: >- # this means to ignore newlines until "baseurl:" description: >- # this means to ignore newlines until "baseurl:"

View file

@ -1,5 +1,5 @@
--- ---
title: "Google Firebase and the Pros and Cons of Using It" title: "Google Firebase: Pros and Cons"
permalink: "/google-firebase-pros-and-cons" permalink: "/google-firebase-pros-and-cons"
description: "Let's look into what Google Firebase really is and the pros and cons of using it for your app development in 2019." description: "Let's look into what Google Firebase really is and the pros and cons of using it for your app development in 2019."
keywords: "" keywords: ""

View file

@ -1,4 +1,4 @@
<script> <!--script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
@ -7,5 +7,13 @@
ga('create', '{{ site.google_analytics }}', 'auto'); ga('create', '{{ site.google_analytics }}', 'auto');
ga('send', 'pageview'); ga('send', 'pageview');
</script> </script-->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-113797180-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-113797180-1');
</script>

View file

@ -1,13 +1,4 @@
<head> <head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-113797180-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-113797180-1');
</script>
<title>{{page.title}} | Web Technologies and Productivity Hacks | {{site.title}}</title> <title>{{page.title}} | Web Technologies and Productivity Hacks | {{site.title}}</title>
<meta name="description" content="Learn how to use the best and latest web technologies to boost your productivity." /> <meta name="description" content="Learn how to use the best and latest web technologies to boost your productivity." />
<meta charset="utf-8" /> <meta charset="utf-8" />

View file

@ -19,12 +19,37 @@
<div class="site-container"> <div class="site-container">
{% include header.html %} {% if page.type == "home" %} {% include header.html %} {% if page.type == "home" %}
<!--div class="categories">
<div class="categories-content">
<span class="categories-title">Something for Everyone</span>
<div class="clear-both"></div>
<a class="float-left" href="#">
<div class="categories-card">
<img src="../assets/background/business_makers.jpg" />
<div class="categories-text">
I make Apps
</div>
</div>
</a>
<a class="float-right" href="#">
<div class="categories-card">
<img src="../assets/background/business_makers.jpg" />
<div class="categories-text">
I use Apps
</div>
</div>
</a>
<div class="clear-both"></div>
</div>
</div-->
<div class="jumbotron"> <div class="jumbotron">
<div class="jumbotron-content"> <div class="jumbotron-content">
<div id="mc_embed_signup" class="float-left"> <div id="mc_embed_signup" class="float-left">
<form action="https://github.us17.list-manage.com/subscribe/post?u=85102052c447ce8a8bba06f24&amp;id=2366f7f35a" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate> <form action="https://github.us17.list-manage.com/subscribe/post?u=85102052c447ce8a8bba06f24&amp;id=2366f7f35a" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
<div id="mc_embed_signup_scroll"> <div id="mc_embed_signup_scroll">
<label for="mce-EMAIL">Sign up for Exclusive Web Development Tips</label> <label for="mce-EMAIL">Sign up for Exclusive Web & Productivity Tips</label>
<input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="Enter your email address..." required> <input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="Enter your email address..." required>
<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_85102052c447ce8a8bba06f24_2366f7f35a" tabindex="-1" value=""></div> <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_85102052c447ce8a8bba06f24_2366f7f35a" tabindex="-1" value=""></div>
<div class="clear"><input type="submit" value="Sign Up" name="subscribe" id="mc-embedded-subscribe" class="button"></div> <div class="clear"><input type="submit" value="Sign Up" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
@ -43,10 +68,8 @@
<div class="clear-both"></div> <div class="clear-both"></div>
</div> </div>
</div> </div>
{% endif %} {% endif %}
<div class="site-body"> <div class="site-body">
<main class="page-content float-left" aria-label="Content"> <main class="page-content float-left" aria-label="Content">
<div class="wrapper"> <div class="wrapper">

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

View file

@ -168,15 +168,55 @@ caption {
background-color: #fff; background-color: #fff;
} }
.categories {
width: 100%;
/*
height: 700px;
background: url('../assets/background/people_devices.jpg');
background-repeat: no-repeat;
background-size: 100%;
*/
text-align: center;
}
.categories-content {
a {
text-decoration: none;
}
span.categories-title {
color: rgba(141, 191, 66, .97);
text-transform: uppercase;
font-size: 36px;
font-weight: bold;
}
.categories-card {
width: 360px;
/*
margin-top: 450px;
*/
margin-top: 80px;
border: 2px solid #ccc;
border-radius: 3.2px !important;
box-shadow: 5px 25px 30px -25px rgba(34, 34, 34, 0.25);
background: white;
div.categories-text {
padding: 10px;
}
}
}
.jumbotron { .jumbotron {
/* background: url('../assets/images/logo.png') no-repeat rgba(141, 191, 66, .97)!important; */ /* background: url('../assets/images/logo.png') no-repeat rgba(141, 191, 66, .97)!important; */
background: rgba(141, 191, 66, .97)!important; background: rgba(141, 191, 66, .97)!important;
width: 100%;
box-shadow: 5px 25px 30px -25px rgba(34, 34, 34, 0.25); box-shadow: 5px 25px 30px -25px rgba(34, 34, 34, 0.25);
width: 100%;
} }
.after-post #mc_embed_signup label { .after-post #mc_embed_signup label {
color: rgba(141, 191, 66, 0.97) !important; color: rgba(141, 191, 66, 0.97) !important;
} }
.after-post, .after-post,
@ -191,6 +231,7 @@ caption {
} }
} }
.categories-content,
.jumbotron-content { .jumbotron-content {
margin: 0 auto; margin: 0 auto;
width: 800px; width: 800px;