From 79b0588efed60cc2eaf517a2d600dbdca6994700 Mon Sep 17 00:00:00 2001 From: bwhenn Date: Sun, 12 May 2024 01:51:56 -0700 Subject: [PATCH] organize codebase --- {js => assets/scripts}/calendar.js | 0 {js => assets/scripts}/main.js | 0 {css => assets/styles}/homepage.css | 0 {css => assets/styles}/projectView.css | 0 assets/styles/styles.css | 82 -------------------------- index.html | 38 +++++------- 6 files changed, 15 insertions(+), 105 deletions(-) rename {js => assets/scripts}/calendar.js (100%) rename {js => assets/scripts}/main.js (100%) rename {css => assets/styles}/homepage.css (100%) rename {css => assets/styles}/projectView.css (100%) delete mode 100644 assets/styles/styles.css diff --git a/js/calendar.js b/assets/scripts/calendar.js similarity index 100% rename from js/calendar.js rename to assets/scripts/calendar.js diff --git a/js/main.js b/assets/scripts/main.js similarity index 100% rename from js/main.js rename to assets/scripts/main.js diff --git a/css/homepage.css b/assets/styles/homepage.css similarity index 100% rename from css/homepage.css rename to assets/styles/homepage.css diff --git a/css/projectView.css b/assets/styles/projectView.css similarity index 100% rename from css/projectView.css rename to assets/styles/projectView.css diff --git a/assets/styles/styles.css b/assets/styles/styles.css deleted file mode 100644 index d005f20..0000000 --- a/assets/styles/styles.css +++ /dev/null @@ -1,82 +0,0 @@ -/* COLOR THEMES */ -:root { - --background-color: #ffdaca; - --content-color: #588b8b; - --sidebar-color: #FFA343; - --bar-color: #c8553d; - --card-color: white; -} - - -/* ENTIRE PAGE SELECTORS */ -body, html { - margin: 0; - padding: 0; - box-sizing: border-box; - height: 100%; - font-family: Arial, sans-serif; /* temporary */ - background-color: var(--background-color); - min-height: 500px; -} - - - -/* NAV AND BOTTOM TAB SELECTORS */ -.main-nav, .bottom-tab { - background-color: var(--bar-color); - padding: 20px 0; - width: 100%; -} - - -/* MAIN SECTION SELECTORS */ -.card { - cursor: pointer; - display: flex; - height: 300px; - width: 200px; - border-radius: 8px; - background-color: var(--card-color); - transition: box-shadow 0.3s; -} - -.card:hover { - box-shadow: 0 5px 15px rgba(0,0,0,0.3); -} - -.main { - display: flex; - width: 100%; - height: calc(100% - 80px); -} - -.project-cards, .accomplishments { - padding: 20px; - border-radius: 8px; /* Rounded corners */ -} - -.project-cards { - display: flex; - flex-wrap: wrap; - justify-content: flex-start; - align-items: flex-start; - gap: 25px; - padding: 30px; - background-color: var(--content-color); - flex-grow: 1; - margin: 30px 15px 30px 30px; -} - -.accomplishments { - background-color: var(--sidebar-color); - width: 250px; /* Fixed width for the sidebar */ - margin: 30px 30px 30px 15px; -} - - -/* MEDIA QUERY FOR MOBILE DEVICES */ -@media (max-width: 768px) { - .main { - flex-direction: column; - } -} \ No newline at end of file diff --git a/index.html b/index.html index 3febe81..dba6207 100644 --- a/index.html +++ b/index.html @@ -1,6 +1,5 @@ - @@ -9,24 +8,27 @@ - + - - - + +
-
+
+
+
+ Add new project
+
+
+
+ +
+
+ + - -
- -
-
- - - -
- -
- - - - + - \ No newline at end of file