-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Add background gradient and deploy script
- Loading branch information
1 parent
f520448
commit dddc347
Showing
10 changed files
with
365 additions
and
41 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,43 @@ | ||
# Simple workflow for deploying static content to GitHub Pages | ||
name: Deploy static content to Pages | ||
|
||
on: | ||
# Runs on pushes targeting the default branch | ||
push: | ||
branches: ["main"] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. | ||
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. | ||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
# Single deploy job since we're just deploying | ||
deploy: | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Setup Pages | ||
uses: actions/configure-pages@v5 | ||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v3 | ||
with: | ||
# Upload entire repository | ||
path: ./build | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v4 |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,38 +1,110 @@ | ||
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap'); | ||
@import url('https://fonts.googleapis.com/css2?family=Bona+Nova+SC:ital,wght@0,400;0,700;1,400&display=swap'); | ||
@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&display=swap'); | ||
|
||
.App { | ||
text-align: center; | ||
overflow: hidden; | ||
} | ||
|
||
.App-logo { | ||
height: 40vmin; | ||
pointer-events: none; | ||
} | ||
|
||
@media (prefers-reduced-motion: no-preference) { | ||
.App-logo { | ||
animation: App-logo-spin infinite 20s linear; | ||
} | ||
.header { | ||
background: rgb(118, 153, 157); | ||
background: linear-gradient(180deg, #416B91 0%, rgba(243, 248, 242, 1) 100%); | ||
|
||
height: 200%; | ||
width: 100%; | ||
|
||
padding-bottom: 5%; | ||
|
||
} | ||
|
||
.App-header { | ||
background-color: #282c34; | ||
min-height: 100vh; | ||
.header__items { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: space-between; | ||
align-items: center; | ||
justify-content: center; | ||
font-size: calc(10px + 2vmin); | ||
color: white; | ||
padding: 4%; | ||
} | ||
|
||
.brand-name { | ||
font-family: "Poppins", sans-serif; | ||
font-weight: 600; | ||
font-style: normal; | ||
font-size: 2.5rem; | ||
|
||
margin: 0; | ||
width: 50%; | ||
|
||
text-align: left; | ||
/* padding: 4%; */ | ||
} | ||
|
||
.logo{ | ||
width: 150px; | ||
} | ||
|
||
.header__tagline{ | ||
|
||
|
||
margin: 0; | ||
width: 100%; | ||
|
||
|
||
text-align: right; | ||
/* padding: 4%; */ | ||
|
||
|
||
} | ||
|
||
.App-link { | ||
color: #61dafb; | ||
.tagline{ | ||
font-family: "Poppins", sans-serif; | ||
font-weight: 500; | ||
font-style: normal; | ||
font-size: 2rem; | ||
text-align: center; | ||
|
||
margin-top: 5%; | ||
margin-bottom: 10%; | ||
} | ||
|
||
@keyframes App-logo-spin { | ||
from { | ||
transform: rotate(0deg); | ||
} | ||
to { | ||
transform: rotate(360deg); | ||
} | ||
.header__content { | ||
position: relative; | ||
} | ||
.car__name{ | ||
font-family: "Space Mono", monospace; | ||
font-weight: 600; | ||
font-style: normal; | ||
|
||
|
||
letter-spacing: -25px; | ||
font-size: 20rem; | ||
text-align: center; | ||
margin: 0; | ||
transform: scale(0.7, 1); | ||
|
||
margin-bottom: 5%; | ||
|
||
|
||
/* Add gradient fade from top to bottom to text */ | ||
background: linear-gradient(180deg, #000 60%, rgba(243, 248, 242, 1) 80%); | ||
-webkit-background-clip: text; | ||
-webkit-text-fill-color: transparent; | ||
|
||
position: relative; | ||
z-index: 5; | ||
} | ||
|
||
|
||
.car__image{ | ||
width: 90%; | ||
|
||
position: absolute; | ||
top: 85%; | ||
left: 52%; | ||
transform: translate(-50%, -50%); | ||
|
||
z-index: 10; | ||
|
||
/* Blend the image with the background */ | ||
/* mix-blend-mode: multiply; */ | ||
} |
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 |
---|---|---|
@@ -0,0 +1,70 @@ | ||
.details { | ||
font-family: "Poppins", sans-serif; | ||
font-weight: 200; | ||
font-style: normal; | ||
} | ||
|
||
.details p{ | ||
margin: 5px; | ||
} | ||
|
||
.details__grid { | ||
padding: 5%; | ||
margin-top: 5%; | ||
/* Add styling for the grid container */ | ||
display: grid; | ||
grid-template-columns: repeat(2, 1fr); | ||
grid-gap: 1rem; | ||
|
||
justify-content: space-around; | ||
} | ||
|
||
.details__column { | ||
/* Add styling for the grid columns */ | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
text-align: left; | ||
} | ||
|
||
.details__row { | ||
width: 60%; | ||
} | ||
|
||
.row__tag{ | ||
/* Add styling for the tag rows */ | ||
font-weight: 300; | ||
font-size: 1.5rem; | ||
|
||
} | ||
|
||
.row__car__name{ | ||
/* Add styling for the car name row */ | ||
font-weight: 500; | ||
font-size: 2rem; | ||
} | ||
|
||
.row__car__type{ | ||
/* Add styling for the car type row */ | ||
letter-spacing: 10px; | ||
font-weight: 600; | ||
font-size: 2.5rem; | ||
} | ||
|
||
.row__data{ | ||
/* Add styling for the data rows */ | ||
display: flex; | ||
justify-content: space-between; | ||
margin-bottom: 1rem; | ||
font-weight: 400; | ||
font-size: 1.2rem; | ||
} | ||
|
||
.more__text{ | ||
/* Add styling for the car details */ | ||
text-align: left; | ||
font-weight: 300; | ||
padding-left: 5%; | ||
padding-right: 5%; | ||
} |
Oops, something went wrong.