From 08c3537ef3152a9bb308af56ef9391167c1f9788 Mon Sep 17 00:00:00 2001 From: jme9 Date: Fri, 6 Dec 2024 15:49:22 -0800 Subject: [PATCH] Updates to projects section --- Notebook.md | 14 +++++++++ project1.txt | 5 +++ project2.txt | 5 +++ site.html | 36 ++++++++++++++++++++- site.js | 4 ++- style.css | 88 +++++++++++++++++++++++++++++++++++++++++++++++++++- 6 files changed, 149 insertions(+), 3 deletions(-) create mode 100644 project1.txt create mode 100644 project2.txt diff --git a/Notebook.md b/Notebook.md index c715770..b5ed4c7 100644 --- a/Notebook.md +++ b/Notebook.md @@ -11,6 +11,8 @@ Note: _Revision 1 will be developed from 11/24/2024 to 12/11/2024._ - [Figma Design](#Figma-Design) - 11/27/2024 - [Navbar and background](#Navbar-and-background) - 11/30/2024 - [Profile Pic](#Profile-Pic) - 12/01/2024 +- [About Section](#About-Section) - 12/03/2024 +- [Project Section](#Project-Section) - 12/06/2024 --- @@ -391,3 +393,15 @@ document.addEventListener("scroll", () => { } }); ``` + +--- + +## Project Section + +**12/06/2024** + +For the projects section I want to highlight two personal projects, maybe include this website as a third. I want to organize each project similarly to how I did the previous section except with multiple stacked sections. I should just be able to copy the main components from the about section and repurpose them. I'll have text on the left and an interactive component on the right. That said, The interactive coponent will differ with each section. + +**Project 1 - My Retro Game** + +The first project highlight will be for my personal retro game project and include an imbedded you tube video as the interactive component. diff --git a/project1.txt b/project1.txt new file mode 100644 index 0000000..67e4b8c --- /dev/null +++ b/project1.txt @@ -0,0 +1,5 @@ +Hey! This section is about my retro game project! + +Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. + +Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. \ No newline at end of file diff --git a/project2.txt b/project2.txt new file mode 100644 index 0000000..c3ece0e --- /dev/null +++ b/project2.txt @@ -0,0 +1,5 @@ +Hey! This section is about my retro game melody generator! + +Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. + +Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. \ No newline at end of file diff --git a/site.html b/site.html index 266a56b..af66d62 100644 --- a/site.html +++ b/site.html @@ -76,7 +76,41 @@
-

Projects

+
+

Personal Projects

+ + +
+ +
+

LunaLight - A Retro Game Project,

+

+ Loading... +

+
+ +
+

LunaLight - Teaser

+
+
+ + +
+ +
+

+ EightBiterator - A Retro Game Melody Generator, +

+

+ Loading... +

+
+ +
+

EightBiterator

+
+
+
diff --git a/site.js b/site.js index 752fb78..61956cd 100644 --- a/site.js +++ b/site.js @@ -50,9 +50,11 @@ function loadTextFromFile(filePath, targetSelector) { }); } -// Load the "About Me" text when page loads +// Load text files when page loads window.addEventListener("load", () => { loadTextFromFile("about.txt", ".about-paragraph"); + loadTextFromFile("project1.txt", "#project1-paragraph"); + loadTextFromFile("project2.txt", "#project2-paragraph"); }); // Image carousel diff --git a/style.css b/style.css index c75e732..9118f71 100644 --- a/style.css +++ b/style.css @@ -201,10 +201,87 @@ button:hover { background: rgba(45, 38, 75, 0.5); } +/* Projects Box */ + +.grid-container { + display: grid; + grid-template-columns: 1fr; + gap: 2rem; + width: 100%; +} + +.grid-item { + display: grid; + grid-template-columns: 1fr 1fr; + gap: 2rem; + background: rgba(42, 15, 59, 0.8); + padding: 2rem; + border-radius: 20px; + color: #ffe8e8; + align-items: center; +} + +.project-box { + display: flex; + margin-top: 10rem; + gap: 2rem; + background: rgba(0, 0, 0, 0.9); + border-radius: 20px; + padding: 2rem; + width: 95%; + box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); + color: #ffe8e8; + box-sizing: border-box; + height: auto; +} + +.project-box-title { + text-align: left; + color: #ffe8e8; +} + +.project-text { + flex: 1; +} + +.project-paragraph { + line-height: 1.6; + white-space: pre-wrap; +} + +/* Project 1 */ + +.project1-video-container { + flex: 1; + display: flex; + flex-direction: column; + align-items: center; + justify-content: space-between; + height: 520px; + width: 100%; + overflow: hidden; + border-radius: 10px; + position: relative; +} + +/* Project 2 */ + +.project2-form-container { + flex: 1; + display: flex; + flex-direction: column; + align-items: center; + justify-content: space-between; + height: 520px; + width: 100%; + overflow: hidden; + border-radius: 10px; + position: relative; +} + /* ----- */ .work-box, -.project-box, .contact-box { margin-top: 10rem; background: rgba(0, 0, 0, 0.8); @@ -226,6 +303,15 @@ button:hover { height: 1040px; } + .project-box { + flex-direction: column; + text-align: center; + } + + .grid-item { + grid-template-columns: 1fr; + } + .title-text h1 { font-size: 1.5rem; }