From 9a1ac8b74795a8de6bb66c5c647df32f8f3f6b0b Mon Sep 17 00:00:00 2001 From: Timothy Dodd Date: Wed, 27 Sep 2023 18:07:00 -0400 Subject: [PATCH] Added Github link --- src/app/app.component.html | 16 +++++++-- src/app/app.component.scss | 38 +++++++++++++++++++- src/app/nav/side-bar/side-bar.component.html | 16 +++++---- src/app/nav/side-bar/side-bar.component.scss | 17 ++++++--- src/assets/github-mark.svg | 1 + src/styles.scss | 9 +++-- 6 files changed, 79 insertions(+), 18 deletions(-) create mode 100644 src/assets/github-mark.svg diff --git a/src/app/app.component.html b/src/app/app.component.html index 9197351..90aceca 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -1,4 +1,14 @@ - -
- +
+ +
+
+ +
+
GitHub
+ +
+
+
+
\ No newline at end of file diff --git a/src/app/app.component.scss b/src/app/app.component.scss index b77ef3a..d685186 100644 --- a/src/app/app.component.scss +++ b/src/app/app.component.scss @@ -1,17 +1,53 @@ :host { display: flex; flex-direction: row; + min-height: 100%; - height: 100vh; app-side-bar { flex-shrink: 1; } + .left-gutter { + background-color: var(--background-dark); + } + + .middle-section { + display: flex; + flex-direction: row; + min-height: 100%; + height: 100vh; + width: 1600px; + } + + .left-gutter, + .right-gutter, + .middle-section { + flex-grow: 1; + } + .route-container { display: flex; flex-direction: column; flex-grow: 1; padding: 24px; + padding-left: 78px; + gap: 15px; + + .top-bar { + display: flex; + flex-direction: row; + flex-shrink: 1; + + a { + margin-left: auto; + } + + img { + + width: 32px; + height: 32px; + } + } } } \ No newline at end of file diff --git a/src/app/nav/side-bar/side-bar.component.html b/src/app/nav/side-bar/side-bar.component.html index 27b903e..a047e43 100644 --- a/src/app/nav/side-bar/side-bar.component.html +++ b/src/app/nav/side-bar/side-bar.component.html @@ -1,9 +1,11 @@ - -
-
{{c.name}}
-
- {{ - r.name - }} +
+ +
+
{{c.name}}
+
\ No newline at end of file diff --git a/src/app/nav/side-bar/side-bar.component.scss b/src/app/nav/side-bar/side-bar.component.scss index d2918a9..0f83167 100644 --- a/src/app/nav/side-bar/side-bar.component.scss +++ b/src/app/nav/side-bar/side-bar.component.scss @@ -1,10 +1,17 @@ :host { - padding: 24px; display: flex; - flex-direction: column; - gap: 24px; - background-color: var(--background); - align-items: flex-end; + background-color: var(--background-dark); + border-right: 1px solid rgba($color: white, $alpha: 0.05); + + + .wrap { + display: flex; + flex-direction: column; + gap: 24px; + padding: 24px; + align-items: flex-end; + border-right: 1px solid black; + } } .logo { diff --git a/src/assets/github-mark.svg b/src/assets/github-mark.svg new file mode 100644 index 0000000..8d31224 --- /dev/null +++ b/src/assets/github-mark.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/styles.scss b/src/styles.scss index 7ccedba..f81d6b2 100644 --- a/src/styles.scss +++ b/src/styles.scss @@ -20,7 +20,8 @@ $yellow: #e4b676; :root { --border-color: rgba(255, 255, 255, 0.1); --background: #282a36; - --background-dark: #{darken(#282a36, 5%)}; + --background-dark: #{darken(#282a36, 2%)}; + --background-dark2: #{darken(#282a36, 1%)}; --headers: white; --primary: #{$blue}; --primary-rgb: #{hexToRGBString($blue)}; @@ -32,9 +33,13 @@ $yellow: #e4b676; @import 'styles/buttons'; body { - background-color: var(--background-dark); + background-color: var(--background-dark2); font-family: 'Montserrat', sans-serif; color: rgba(255, 255, 255, 0.8); + scroll-behavior: smooth; + height: 100%; + overscroll-behavior-y: none; + } h1,