diff --git a/.gitignore b/.gitignore index a37273b..6bf14cb 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -files/ +files/ diff --git a/_footer.html b/_footer.html new file mode 100644 index 0000000..d8642d7 --- /dev/null +++ b/_footer.html @@ -0,0 +1,21 @@ +
+

© 2024 Hugh's Portfolio. All rights reserved.

+ +
+ + Email +
+
+ +
+ + GitHub +
+
+
+ + LinkedIn +
+
+
diff --git a/_navbar.html b/_navbar.html new file mode 100644 index 0000000..1839264 --- /dev/null +++ b/_navbar.html @@ -0,0 +1,7 @@ + diff --git a/css/style.css b/css/style.css index e69de29..8014ec0 100644 --- a/css/style.css +++ b/css/style.css @@ -0,0 +1,179 @@ + +@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Rubik+One&display=swap'); + + +:root { + --accent-color: #9B70ff; + --background-color: #141414; + --secondary-background-color: #525252; + --primary-text-color: #fff; + --secondary-text-color: #ccc; +} + + +html, body { + margin: 0; + padding: 0; + background-color: var(--background-color); + width: 100vw; + overflow-x: hidden; +} + +body { + font-family: 'Inter', sans-serif; + font-size: 16px; + line-height: 1.5; + color: #fff; + min-height: 100vh; + position: relative; +} + +header { + display: flex; + justify-content: center; + align-items: center; + margin-bottom: 80px; +} + +nav { + display: flex; + justify-content: space-between; + align-items: center; + padding: 5px 40px; + background-color: var(--secondary-background-color); + width: 700px; + position: fixed; + border-radius: 25px; + top: 20px; + z-index: 1000; +} + +nav a { + position: relative; + top: 2px; + font-size: 20px; + color: var(--secondary-text-color); + /* border-bottom: 3px solid transparent; */ + text-decoration: none; +} + +nav a:hover, nav a.active { + color: var(--primary-text-color); + /* border-bottom: 3px solid var(--accent-color); */ + box-shadow: 0 3px 0 var(--accent-color); +} + +footer { + position: absolute; + bottom: 0; + width: 100%; + display: flex; + justify-content: center; + align-items: center; + padding: 20px 0px; + background-color: var(--secondary-background-color); +} + +footer .row { + width: 800px; + justify-content: space-between; + overflow: auto; +} + +.social-icon { + width: 30px; + height: 30px; +} + +footer a { + text-decoration: none; + color: var(--primary-text-color); +} + +#page { + display: flex; + align-items: center; + justify-content: center; + margin-bottom: 120px; +} + +h1 { + font-family: 'Rubik One', sans-serif; + font-weight: bold; + font-size: 80px; + text-transform: uppercase; + margin-top: 0; + margin-bottom: 0; +} + +h2 { + font-family: 'Inter', sans-serif; + font-weight: bold; + font-size: 40px; + text-transform: uppercase; + margin-top: 0; + margin-bottom: 0; + +} + +h3 { + font-family: 'Inter', sans-serif; + font-weight: bold; + font-size: 30px; + margin-top: 30px; + margin-bottom: 0; + margin-left: 30px; + align-self: flex-start; +} + +.row { + display: flex; + flex-direction: row; + justify-content: center; + align-items: center; +} + +.row>* { + margin: 0 20px; +} + +.column { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; +} + +#home { + max-width: 800px; +} + +/* Add your custom styles below */ +.hello { + display: flex; + flex-direction: column; +} + +.hello h1:nth-child(1) { + padding-left: 0; +} + +.hello h1:nth-child(2) { + padding-left: 80px; +} + +.hello h1:nth-child(3) { + padding-left: 160px; +} + +.helloimage { + border-radius: 50%; + width: 200px; + height: 200px; + object-fit: cover; + display: block; +} + +#experience { + max-width: 1000px; +} \ No newline at end of file diff --git a/images/email.png b/images/email.png new file mode 100644 index 0000000..152f856 Binary files /dev/null and b/images/email.png differ diff --git a/images/github.png b/images/github.png new file mode 100644 index 0000000..2b5039c Binary files /dev/null and b/images/github.png differ diff --git a/images/linkedin.png b/images/linkedin.png new file mode 100644 index 0000000..4c6ae53 Binary files /dev/null and b/images/linkedin.png differ diff --git a/index.html b/index.html index 08c226c..15a9d11 100644 --- a/index.html +++ b/index.html @@ -1,9 +1,70 @@ - - - - - - Document - - - + + + + + + Hugh's Portfolio + + + + + +
+
+
+
+
+
+ Hugh +
+
+

Hello

+

I'm

+

Hugh

+
+
+

Introdction

+

+ I'm a passionate Mobile App Developer with a drive for + creativity and innovation. Here, you'll find a curated + collection of my work, showcasing my expertise, skills, + and dedication to excellence. +

+

+ I thrive on solving complex problems, exploring new + ideas, and creating meaningful experiences. With a + background in Computer Science, I bring a unique blend + of technical proficiency, strategic thinking, and a keen + eye for detail to every project I undertake. +

+

Career Objectives

+

+ I aim to drive innovation, deliver excellence, and solve + complex problems by collaborating effectively, + continuously learning and growing, and making meaningful + contributions to the field of mobile app development. +

+

+ I seek to collaborate with and learn from experienced + professionals in the field to continuously learn. With a + strong foundation in programming and a proactive + approach to skill development, my career objective is to + immerse myself in challenging projects and environments + where I can gain valuable insights, refine my technical + expertise, and contribute effectively to innovative + solutions. Through mentorship and collaboration with + seasoned industry veterans, I aspire to accelerate my + growth, broaden my skill set, and ultimately make + meaningful contributions to the advancement of + technology. +

+
+
+
+ + + diff --git a/js/script.js b/js/script.js index e69de29..b839b38 100644 --- a/js/script.js +++ b/js/script.js @@ -0,0 +1,39 @@ +function loadNav() { + // Load the navbar + $("header").load("_navbar.html", function () { + // Colour the active nav item + var path = window.location.pathname; + var page = path.split("/").pop(); + if (page == "" || page == "index.html") { + page = "/"; + } + $("nav a").each(function () { + var href = $(this).attr("href"); + if (page == href) { + $(this).addClass("active"); + } + }); + }); + + // Load the footer + $("footer").load("_footer.html"); + + // On scroll, hide/show the navbar + var lastScroll = 0; + $(window).scroll(function (event) { + var current = $(this).scrollTop(); + var scrollMax = window.document.body.scrollHeight - window.innerHeight; + if (current < 20 || (current < lastScroll && current < scrollMax)) { + // Scroll up, show the navbar + $("nav").show(150); + } else if (current > lastScroll) { + // Scroll down, hide the navbar + $("nav").hide(150); + } + lastScroll = current; + }); +} + +$(function () { + loadNav(); +});