Skip to content

Commit e3699f3

Browse files
author
daneel
committed
Added /now rewrite rule for firebase
Added 404 page for firebase Changed styles on now and index Added unsplash credits Shortened footer
1 parent 021e0bd commit e3699f3

File tree

9 files changed

+123
-41
lines changed

9 files changed

+123
-41
lines changed

.openshift/config/.htaccess

Lines changed: 0 additions & 1 deletion
This file was deleted.

404.html

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
<!DOCTYPE HTML>
2+
<!--
3+
Big Picture by HTML5 UP
4+
html5up.net | @n33co
5+
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
6+
-->
7+
<html>
8+
<head>
9+
<title>Daniele's personal web site</title>
10+
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
11+
<meta name="description" content="Daniele Di Minica's personal web site"/>
12+
<meta name="keywords" content="website homepage diminica daniele product manager"/>
13+
<!--[if lte IE 8]>
14+
<script src="css/ie/html5shiv.js"></script><![endif]-->
15+
<script src="js/jquery.min.js"></script>
16+
<script src="js/jquery.poptrox.min.js"></script>
17+
<script src="js/jquery.scrolly.min.js"></script>
18+
<script src="js/jquery.scrollex.min.js"></script>
19+
<script src="js/skel.min.js"></script>
20+
<script src="js/init.js"></script>
21+
<noscript>
22+
<link rel="stylesheet" href="css/skel.css"/>
23+
<link rel="stylesheet" href="css/style.css"/>
24+
<link rel="stylesheet" href="css/style-wide.css"/>
25+
<link rel="stylesheet" href="css/style-normal.css"/>
26+
</noscript>
27+
<!--[if lte IE 9]>
28+
<link rel="stylesheet" href="css/ie/v9.css"/><![endif]-->
29+
<!--[if lte IE 8]>
30+
<link rel="stylesheet" href="css/ie/v8.css"/><![endif]-->
31+
<link href='//fonts.googleapis.com/css?family=Josefin+Sans:400,400italic,700,700italic' rel='stylesheet'
32+
type='text/css'>
33+
</head>
34+
<body>
35+
<!-- Intro -->
36+
<section id="notfound" class="main style1 dark fullscreen">
37+
<div class="content container 75%">
38+
<header>
39+
<h2 id="myname">404: You're on the wrong trail</h2>
40+
</header>
41+
42+
<label id="motto">Come back to <a href="index.html">Daniele's home page</a>.</label>
43+
44+
</div>
45+
</section>
46+
47+
</body>
48+
</html>

css/style.css

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1254,6 +1254,29 @@ body.is-loading:after {
12541254
width: 50%;
12551255
}
12561256

1257+
/*********************************************************************************/
1258+
/* 404
1259+
/*********************************************************************************/
1260+
#notfound {
1261+
background: url('images/overlay.png'), url('../images/404.jpg');
1262+
background-size: 256px 256px, cover;
1263+
background-attachment: fixed, fixed;
1264+
background-position: top left, top center;
1265+
background-repeat: repeat, no-repeat;
1266+
}
1267+
1268+
/*********************************************************************************/
1269+
/* now
1270+
/*********************************************************************************/
1271+
#now {
1272+
background: url('images/overlay.png'), url('../images/now.jpg');
1273+
background-size: 256px 256px, cover;
1274+
background-attachment: fixed, fixed;
1275+
background-position: top left, top center;
1276+
background-repeat: repeat, no-repeat;
1277+
}
1278+
1279+
12571280
/*********************************************************************************/
12581281
/* Two */
12591282
/*********************************************************************************/

favicon.ico_old

-23.1 KB
Binary file not shown.

firebase.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"firebase": "blistering-torch-1476",
3+
"public": ".",
4+
"ignore": [
5+
"firebase.json",
6+
"**/.*",
7+
"**/node_modules/**",
8+
"README.md",
9+
"LICENSE.txt"
10+
],
11+
"rewrites": [ {
12+
"source": "/now",
13+
"destination": "/now.html"
14+
} ]
15+
16+
}

images/404.jpg

1.87 MB
Loading

images/now.jpg

2.49 MB
Loading

index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ <h1 id="logo"><a href="#">Daniele Di Minica</a></h1>
5454
<li><a href="#whoiam">About</a></li>
5555
<li><a href="#whatido">My job</a></li>
5656
<li><a href="#work">My nerd soul</a></li>
57-
<li><a href="now.html">Now</a></li>
57+
<li><a href="now">Now</a></li>
5858
<li><a href="#contact">Contact me</a></li>
5959
</ul>
6060
</nav>
@@ -109,7 +109,7 @@ <h2>My job</h2>
109109

110110
<!-- Work -->
111111
<section id="work" class="main style3 primary">
112-
<div class="content container">
112+
<div class="content container box 75%">
113113
<header>
114114
<h2>My nerd soul</h2>
115115
</header>
@@ -171,16 +171,16 @@ <h2>Contact me</em></h2>
171171

172172
<!-- Menu -->
173173
<ul class="menu">
174-
<li><a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License"
175-
style="border-width:0"
176-
src="https://i.creativecommons.org/l/by/4.0/88x31.png"/></a><br/>This
177-
work is licensed under a <br/><a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative
178-
Commons Attribution 4.0 International License</a>.
174+
<li><a rel="license" target="_blank" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License"
175+
style="border-width:0"
176+
src="https://i.creativecommons.org/l/by/4.0/88x31.png"/></a>
179177
</li>
180-
<li>Design based on <a href="http://html5up.net">HTML5 UP</a></li>
178+
<li>Design based on <a href="//html5up.net" target="_blank">HTML5 UP</a></li>
179+
<li>Photo credits: <a href="//unsplash.com" target="_blank">Unsplash</a></li>
181180
</ul>
182181

183182
</footer>
184183

184+
185185
</body>
186186
</html>

now.html

Lines changed: 28 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,6 @@
3030
<link rel="stylesheet" href="css/ie/v8.css"/><![endif]-->
3131
<link href='//fonts.googleapis.com/css?family=Josefin+Sans:400,400italic,700,700italic' rel='stylesheet'
3232
type='text/css'>
33-
<script>
34-
function mailme() {
35-
name = "daniele"
36-
surname = ".diminica"
37-
domain = "@gmail.com";
38-
window.location = ("mailto:" + name + surname + domain);
39-
}
40-
</script>
4133
</head>
4234
<body>
4335

@@ -58,27 +50,32 @@ <h1 id="logo"><a href="#">Daniele Di Minica</a></h1>
5850

5951

6052
<!-- Work -->
61-
<section id="work" class="main style3 primary">
62-
<header>
63-
<h2>What I'm doing now</h2>
64-
</header>
65-
<p>This page is for anyone interested in what I’m doing these days. Learn more at <a href="//nownownow.com/">nownownow project</a>. <br>
53+
<section id="now" class="main style3 primary">
54+
<div class="content box container 75% ">
55+
56+
<header>
57+
<h2>What I'm doing now</h2>
58+
</header>
59+
<p>This page is for anyone interested in what I’m doing these days. Learn more at <a href="//nownownow.com/">nownownow
60+
project</a>. <br>
6661

6762
I'm spending my time mainly on this:
68-
<ul>
69-
<li>My daytime job (see <a href="index.html#whoiam">here</a>)</li>
70-
<li>Being a full-time dad</li>
71-
<li>Staying up-to-date with the newest tech (see <a href="index.html#work">here</a>)</li>
72-
<li>Experimenting (something is on my <a href="//github.com/ddmng" target="_blank">Github account</a>)</li>
73-
<li>Study Machine Learning with Big Data on <a href="https://www.coursera.org/learn/machinelearningwithbigdata" target="_blank">Coursera</a></li>
74-
<li>Playing with <a href="http://www.scala-lang.org/" target="_blank">Scala</a></li>
75-
<li>Working on my side projects</li>
76-
<li>Swimming</li>
77-
<li>Listening to some good rock music</li>
78-
<li>Visiting nice places</li>
79-
</ul>
80-
</p>
81-
<small>Last update: <em>January 2016</em></small>
63+
</p>
64+
<ul>
65+
<li>My daytime job (see <a href="index.html#whoiam">here</a>)</li>
66+
<li>Being a full-time dad</li>
67+
<li>Staying up-to-date with the newest tech (see <a href="index.html#work">here</a>)</li>
68+
<li>Experimenting (something is on my <a href="//github.com/ddmng" target="_blank">Github account</a>)</li>
69+
<li>Study Machine Learning with Big Data on <a href="https://www.coursera.org/learn/machinelearningwithbigdata"
70+
target="_blank">Coursera</a></li>
71+
<li>Playing with <a href="http://www.scala-lang.org/" target="_blank">Scala</a></li>
72+
<li>Working on my side projects</li>
73+
<li>Swimming</li>
74+
<li>Listening to some good rock music</li>
75+
<li>Visiting nice places</li>
76+
</ul>
77+
78+
<small>Last update: <em>January 2016</em></small>
8279
</div>
8380
</section>
8481

@@ -88,13 +85,12 @@ <h2>What I'm doing now</h2>
8885

8986
<!-- Menu -->
9087
<ul class="menu">
91-
<li><a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License"
88+
<li><a rel="license" target="_blank" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License"
9289
style="border-width:0"
93-
src="https://i.creativecommons.org/l/by/4.0/88x31.png"/></a><br/>This
94-
work is licensed under a <br/><a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative
95-
Commons Attribution 4.0 International License</a>.
90+
src="https://i.creativecommons.org/l/by/4.0/88x31.png"/></a>
9691
</li>
97-
<li>Design based on <a href="http://html5up.net">HTML5 UP</a></li>
92+
<li>Design based on <a href="//html5up.net" target="_blank">HTML5 UP</a></li>
93+
<li>Photo credits: <a href="//unsplash.com" target="_blank">Unsplash</a></li>
9894
</ul>
9995

10096
</footer>

0 commit comments

Comments
 (0)