-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🍄⚙️ ↣ Add more styling and static components for [#6] [HDASH-5]
- Loading branch information
1 parent
c7f4ad4
commit c32cf42
Showing
17 changed files
with
531 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node | ||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs | ||
|
||
name: Node.js CI | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [14.x, 16.x, 18.x] | ||
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: 'npm' | ||
- run: npm ci | ||
- run: npm run build --if-present | ||
- run: npm test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,76 @@ | ||
/*# sourceMappingURL=activity.css.map */ | ||
/* Colours & Styles - Default config */ | ||
:root { | ||
--PrimaryColor: hsl(94, 59%, 35%); | ||
--HoverColor: #bdf094; | ||
--paleGreen: hsl(96, 75%, 89%); | ||
--whiteColor: hsl(0, 0%, 100%); | ||
--blackColor: hsl(0, 0%, 18%); | ||
--textColor: hsl(240, 1%, 48%); | ||
--bgColor: hsl(220, 10%, 94%); | ||
--greyText: rgb(190, 190, 190); | ||
--inputColor: hsl(330, 12%, 97%); | ||
--itemCardColor: hsl(120, 5%, 88%); | ||
--itemCardHover: hsl(120, 27%, 87%); | ||
/* Font & typography */ | ||
--biggestFontSize: 2.5rem; | ||
--h1FontSize: 1.5rem; | ||
--h2FontSize: 1.25rem; | ||
--h3FontSize: 1rem; | ||
--normalFontSize: .938rem; | ||
--smallFontSize: .813rem; | ||
--smallestFontSize: .75rem; | ||
} | ||
|
||
.activitySection { | ||
flex-basis: 50%; | ||
} | ||
.activitySection .heading { | ||
width: 100%; | ||
justify-content: space-between; | ||
} | ||
.activitySection .heading h1 { | ||
font-size: var(--h2FontSize); | ||
color: var(--blackColor); | ||
fonr-weight: 700; | ||
} | ||
.activitySection .heading .btn { | ||
border: 1px solid transparent; | ||
} | ||
.activitySection .heading .btn:hover { | ||
border: 1px solid var(--PrimaryColor); | ||
} | ||
.activitySection .secContainer { | ||
margin-top: 1rem; | ||
} | ||
.activitySection .secContainer .singleCustomer { | ||
align-items: flex-start; | ||
justify-content: space-between; | ||
} | ||
.activitySection .secContainer .singleCustomer img { | ||
width: 40px; | ||
height: 40px; | ||
-o-object-fit: cover; | ||
object-fit: cover; | ||
border-radius: 50%; | ||
box-shadow: 0 2px 4px var(--itemCardColor); | ||
margin-right: 1rem; | ||
} | ||
.activitySection .secContainer .singleCustomer .customerDetails { | ||
flex: 1; | ||
} | ||
.activitySection .secContainer .singleCustomer .customerDetails .name { | ||
font-size: var(--h3FontSize); | ||
font-weight: 600; | ||
color: var(--blackColor); | ||
display: block; | ||
} | ||
.activitySection .secContainer .singleCustomer .customerDetails small { | ||
font-weight: 500; | ||
color: var(--textColor); | ||
font-size: var(--smallFontSize); | ||
} | ||
.activitySection .secContainer .singleCustomer .duration { | ||
color: var(--textColor); | ||
font-weight: 500; | ||
font-size: var(--smallestFontSize); | ||
}/*# sourceMappingURL=activity.css.map */ |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
/* Colours & Styles - Default config */ | ||
:root{ | ||
--PrimaryColor: hsl(94, 59%, 35%); | ||
--HoverColor: #bdf094; | ||
--paleGreen: hsl(96, 75%, 89%); | ||
--whiteColor: hsl(0, 0%, 100%); | ||
--blackColor: hsl(0, 0%, 18%); | ||
--textColor: hsl(240, 1%, 48%); | ||
--bgColor: hsl(220, 10%, 94%); | ||
--greyText: rgb(190, 190, 190); | ||
--inputColor: hsl(330, 12%, 97%); | ||
--itemCardColor: hsl(120, 5%, 88%); | ||
--itemCardHover: hsl(120, 27%, 87%); | ||
|
||
/* Font & typography */ | ||
--biggestFontSize: 2.5rem; | ||
--h1FontSize: 1.5rem; | ||
--h2FontSize: 1.25rem; | ||
--h3FontSize: 1rem; | ||
--normalFontSize: .938rem; | ||
--smallFontSize: .813rem; | ||
--smallestFontSize: .75rem; | ||
} | ||
|
||
.activitySection{ | ||
flex-basis: 50%; | ||
|
||
.heading{ | ||
width: 100%; | ||
justify-content: space-between; | ||
|
||
h1{ | ||
font-size: var(--h2FontSize); | ||
color: var(--blackColor); | ||
fonr-weight: 700; | ||
} | ||
|
||
.btn{ | ||
border: 1px solid transparent | ||
} | ||
|
||
.btn:hover{ | ||
border: 1px solid var(--PrimaryColor); | ||
} | ||
} | ||
|
||
.secContainer{ | ||
margin-top: 1rem; | ||
|
||
.singleCustomer{ | ||
align-items: flex-start; | ||
justify-content: space-between; | ||
|
||
img{ | ||
width: 40px; | ||
height: 40px; | ||
object-fit: cover; | ||
border-radius: 50%; | ||
box-shadow: 0 2px 4px var(--itemCardColor); | ||
margin-right: 1rem; | ||
} | ||
|
||
.customerDetails{ | ||
flex: 1; | ||
|
||
.name{ | ||
font-size: var(--h3FontSize); | ||
font-weight: 600; | ||
color: var(--blackColor); | ||
display: block; | ||
} | ||
|
||
small{ | ||
font-weight: 500; | ||
color: var(--textColor); | ||
font-size: var(--smallFontSize); | ||
} | ||
} | ||
|
||
.duration{ | ||
color: var(--textColor); | ||
font-weight: 500; | ||
font-size: var(--smallestFontSize); | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ const Body = () => { | |
|
||
<div className='bottom flex'> | ||
<Listing /> | ||
<Activity /> | ||
</div> | ||
</div> | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.