-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31 from roniy68/staging
🔥 Staging : Deployment: Test #1
- Loading branch information
Showing
70 changed files
with
3,935 additions
and
77 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
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
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,3 +1,3 @@ | ||
web: unset PORT && bin/rails server | ||
web: unset PORT && bin/rails server -p 3000 | ||
js: yarn build --watch | ||
css: yarn build:css --watch |
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,3 +1,22 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
/* | ||
* Your custom CSS goes here but before adding a lot of CSS check this out: | ||
* https://tailwindcss.com/docs/extracting-components | ||
*/ | ||
|
||
/* stylelint-disable */ | ||
/* Tailwind Base */ | ||
@import "tailwindcss/base"; | ||
@import "tailwindcss/components"; | ||
@import "tailwindcss/utilities"; | ||
|
||
/* Fonts */ | ||
|
||
@import url('https://fonts.googleapis.com/css2?family=Rubik+Dirt&display=swap'); | ||
|
||
|
||
/* Custom CSS */ | ||
@import "./custom.css"; | ||
@import "./navigationStyle/detail.css"; | ||
@import "./navigationStyle/MyReservations.css"; | ||
@import "./navigationStyle/OurCars.css"; | ||
@import "./navigationStyle/ReservationAddForm.css" |
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,17 @@ | ||
*, | ||
*::before, | ||
*::after { | ||
box-sizing: border-box; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
body { | ||
font-size: 1.5rem; | ||
font-family: 'Robot', sans-serif; | ||
background-color: white; | ||
} | ||
|
||
li:hover { | ||
@apply bg-green-700; | ||
} |
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,50 @@ | ||
/*********************** My reservation ***************************/ | ||
|
||
.my-reservations-container { | ||
margin-top: 20px; | ||
padding: 20px; | ||
} | ||
|
||
.my-reservations-container h2{ | ||
text-align: center; | ||
padding: 20px; | ||
font-size: 2.3rem; | ||
} | ||
|
||
.reservation-list { | ||
display: grid; | ||
grid-template-columns: repeat(auto-fit, minmax(30%, 1fr)); | ||
grid-gap: 20px; | ||
list-style: none; | ||
padding: 0; | ||
} | ||
|
||
.reservation-card { | ||
width: fit-content; | ||
box-shadow: rgb(0 0 0 / 24%) 0 3px 8px; | ||
border-radius: 5px; | ||
padding: 2rem; | ||
margin-bottom: 10px; | ||
} | ||
|
||
.card-content { | ||
margin-bottom: 10px; | ||
font-size: 1.4rem; | ||
} | ||
|
||
.delete-button { | ||
background-color: #f00; | ||
color: #fff; | ||
border: none; | ||
font-size: 1.2rem; | ||
font-weight: bold; | ||
padding: 5px 10px; | ||
border-radius: 5px; | ||
cursor: pointer; | ||
transition: transform .3s ease-in-out; | ||
} | ||
|
||
.delete-button:hover { | ||
transform: scale(1.05); | ||
background: #f74545; | ||
} |
Empty file.
82 changes: 82 additions & 0 deletions
82
app/assets/stylesheets/navigationStyle/ReservationAddForm.css
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,82 @@ | ||
/************************** Reservation Form ***************************/ | ||
|
||
/* CSS */ | ||
|
||
.reservation-form-container { | ||
max-width: 800px; | ||
margin: 50px auto; | ||
padding: 20px; | ||
background: #4DA0B0; | ||
background: linear-gradient(to right, #D39D38, #4DA0B0); | ||
background: linear-gradient(to right, #D39D38, #4DA0B0); | ||
border-radius: 10px; | ||
box-shadow: rgb(0 0 0 / 30%) 0 19px 38px, rgb(0 0 0 / 22%) 0 15px 12px; | ||
} | ||
|
||
.reservation-form-container h2 { | ||
text-align: center; | ||
color: white; | ||
text-shadow: -1px 1px 0 #3b3737, | ||
1px 1px 0 #000, | ||
1px -1px 0 #000, | ||
-1px -1px 0 #000; | ||
font-size: 2.4rem; | ||
font-weight: bolder; | ||
margin-bottom: 25px; | ||
} | ||
|
||
.reservation-form-container form { | ||
display: flex; | ||
flex-direction: column; | ||
gap: 2rem; | ||
width: 95%; | ||
|
||
} | ||
|
||
.reservation-form-container label { | ||
margin-top: 10px; | ||
font-weight: bold; | ||
font-size: 1.2rem; | ||
color: #333; | ||
} | ||
|
||
.reservation-form-container input, | ||
.reservation-form-container textarea { | ||
width: 100%; | ||
padding: 10px; | ||
margin-top: 5px; | ||
border: 1px solid #ccc; | ||
font-size: 1.3rem; | ||
color: #3d4947; | ||
border-radius: 4px; | ||
box-shadow: rgb(204 219 232) 3px 3px 6px 0 inset, rgb(255 255 255 / 50%) -3px -3px 6px 1px inset; | ||
box-sizing: border-box; | ||
} | ||
|
||
.reservation-form-container button { | ||
width: 50%; | ||
padding: 20px; | ||
margin-top: 10px; | ||
background-color: #52caee; | ||
color: #fff; | ||
font-size: 1.3rem; | ||
font-weight: bolder; | ||
border-radius: 4px; | ||
cursor: pointer; | ||
box-shadow: rgb(0 0 0 / 35%) 0 5px 15px; | ||
align-self: center; | ||
transition: transform 0.3s ease-in-out; | ||
border: 2px solid gray; | ||
} | ||
|
||
.reservation-form-container button:hover { | ||
background-color: #24dae7; | ||
color: #333; | ||
transform: translateY(-5px); | ||
} | ||
|
||
.alert-msg { | ||
font-size: 1.8rem; | ||
color: #2ed357; | ||
text-align: center; | ||
} |
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,37 @@ | ||
/***************************** Detail *****************************/ | ||
|
||
.detail-container { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
height: 100vh; | ||
text-align: center; | ||
} | ||
|
||
.card { | ||
width: 30%; | ||
padding: 20px; | ||
box-shadow: rgb(50 50 93 / 25%) 0 6px 12px -2px, rgb(0 0 0 / 30%) 0 3px 7px -3px; | ||
border-radius: 4px; | ||
background-color: #f9f9f9; | ||
} | ||
|
||
.card img { | ||
width: 100%; | ||
max-height: 200px; | ||
object-fit: cover; | ||
margin-bottom: 20px; | ||
} | ||
|
||
.card h2 { | ||
font-size: 2.2rem; | ||
margin-bottom: 10px; | ||
color: rgb(56 59 59); | ||
} | ||
|
||
.desc p{ | ||
margin-bottom: 10px; | ||
text-align: start; | ||
font-size: 1.2rem; | ||
} |
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,33 @@ | ||
.header { | ||
padding: 20px; | ||
text-align: center; | ||
margin: 0; | ||
background: linear-gradient(135deg, #da3636, #4a1094); | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
font-family: Arial, sans-serif; | ||
color: #ffff; | ||
transition: background 0.5s ease; | ||
} | ||
|
||
.header-title { | ||
font-size: 24px; | ||
font-weight: bold; | ||
margin-bottom: 20px; | ||
} | ||
|
||
.header-book-btn-login { | ||
display: flex; | ||
justify-content: center; | ||
} | ||
|
||
.header-book-btn-login .link-login button { | ||
padding: 8px 16px; | ||
background-color: #333; | ||
color: #fff; | ||
border: none; | ||
border-radius: 4px; | ||
cursor: pointer; | ||
} |
Oops, something went wrong.