-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
92 lines (74 loc) · 2.89 KB
/
index.html
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
81
82
83
84
85
86
87
88
89
90
91
92
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- connecting html and css -->
<link rel="stylesheet" href="css/styles.css" />
<!-- add the above to link to external file -->
<link rel="stylesheet" href="css/master.css" />
<!-- above links to transition animation code-->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Trirong"/>
<style>
#img {
max-width: 100%;
height: auto;
text-align:left;
}
body {
font-family: "Trirong", Verdana;
}
</style>
<!--lines 13-17 align the image to the left by putting it in a div element -->
<!-- lines 19 to 22 add a font from google fonts (Trirong), plus provides a fallback in house font (serif)-->
<title>Christopher Matthews Portfolio</title>
</head>
<body>
<header>
<header id="header background">
<div class="texture stickytop"></div>
</header>
<h1>- Greenhouse Digital Design -</h1>
<p>The Electronic Home of Christopher Matthews</p>
</header>
<nav>
<a href="index.html">Home</|a> | <a href="who i am.html">Who I Am</a> |
<a href="creations.html">Creations</a>
</nav>
<!--<article id="index">-->
<div class="container">
<ul class="flex-grid">
<li class="flex-space">
<div id="img">
<img src="https://drive.google.com/uc?export=view&id=1V9kb7Aod_VBeYaUoZ-d2Qj3_Yc55-MhP"
width="25%"
height="25%"
margin-top="150px"
>
</div>
<p id="time-based greeting" style="text-align: center;"></p>
<script>
const time = new Date().getHours();
let greeting;
if (time < 12) {
greeting = "Good morning, and welcome.";
} else if (time < 18) {
greeting = "Good afternoon, and welcome.";
} else {
greeting = "Good evening, and welcome.";
}
document.getElementById("time-based greeting").innerHTML = greeting;
</script>
<!-- Above is a small if/else if/else JS that will provide a time-based greeting when a visitor arrives at the page. -->
<p style="text-align: center;"> You have reached my digital home. It is presently simple and sparse, but utilitarian in nature. Much like any living thing,
it is a constantly growing, and ever-evolving creation. As it changes, so will I in my journey towards becoming a software developer.
</p>
</li>
</ul>
</div>
<footer>
<p style="position: sticky; bottom: 0; width: 100%; text-align: center;">
- - Author: Christopher Matthews / I See That You Know Your Judo Well LLC - - Copyright 2023 - -<a href="contact.html">Contact Me Here </a> - -</p>
</footer>
</body>
</html>