Skip to content

Commit e8b3026

Browse files
authored
Merge pull request #4942 from Sukhpreet-s/4395-rework-landing-page-with-bootstrap
Update landing page to use bootstrap instead of tailwind
2 parents b818390 + 185d65a commit e8b3026

File tree

3 files changed

+147
-270
lines changed

3 files changed

+147
-270
lines changed
Lines changed: 35 additions & 118 deletions
Original file line numberDiff line numberDiff line change
@@ -1,139 +1,56 @@
1-
html, body {
2-
background-color: white;
3-
height: calc(100vw - 3em);
4-
position: relative;
5-
}
1+
@import 'bootstrap';
62

73
.hero {
8-
&-background {
9-
background: linear-gradient(135deg, #3023AE , #C86DD7);
10-
width: 100%;
11-
color: white;
12-
height: 660px;
13-
@media (max-width: 1200px) {
14-
height: 590px;
15-
}
16-
@media (max-width: 992px) {
17-
height: auto;
18-
}
19-
@media (max-width: 768px) {
20-
height: auto;
21-
}
22-
@media (max-width: 576px) {
23-
height: auto;
24-
}
25-
}
26-
&-image {
27-
flex-basis: 1400px;
28-
@media (max-width: 576px) {
29-
margin-bottom: 20px;
30-
}
31-
@media (max-width: 768px) {
32-
margin-bottom: 20px;
33-
}
34-
}
35-
&-copy {
36-
z-index: 1;
37-
@media (max-width: 768px) {
38-
text-align: center;
39-
}
40-
@media (max-width: 576px) {
41-
text-align: center;
42-
}
43-
}
44-
}
45-
46-
.navbar-brand {
47-
margin-right: none !important;
4+
background: linear-gradient(135deg, #3023AE, #C86DD7);
485

49-
@media (max-width: 568px) {
6+
nav {
507
h2 {
51-
font-size: 0.8em;
8+
@media (max-width: 567px) {
9+
font-size: 1.125rem;
10+
}
5211
}
53-
}
54-
}
55-
56-
.navbar-light .navbar-toggler {
57-
border: none;
58-
margin-top: 13px;
59-
}
60-
61-
button:focus {
62-
outline: none !important;
63-
outline: none !important;
64-
}
65-
66-
button:hover, button:focus, .button:hover, .button:focus {
67-
background-color: rgba(255, 255, 255, 0) !important;
68-
}
69-
70-
.btn-primary {
71-
background-color: #55af59 !important;
72-
border-color: #55af59 !important;
73-
}
74-
75-
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active {
76-
background-color: #55af59 !important;
77-
border-color: #55af59 !important;
78-
}
7912

80-
.text {
13+
button span {
14+
font-size: 1.25rem;
8115

82-
&-header {
83-
color: #454F5B;
84-
}
85-
&-body-color {
86-
color: #919EAB !important;
87-
line-height: 2em;
16+
@media (max-width: 567px) {
17+
font-size: 1rem;
18+
}
8819
}
89-
&-testimonials {
90-
color: white;
91-
line-height: 1.5em;
92-
font-size: 14px;
20+
}
9321

94-
}
22+
.hero-subcontainer {
23+
height:60vh;
24+
min-height: 500px
25+
}
9526
}
9627

97-
.description-container {
98-
margin-top: 120px;
99-
@media (max-width: 576px) {
100-
margin-top: 80px;
101-
}
28+
.container-fluid {
29+
max-width: 1280px;
10230
}
10331

104-
.bottom-cta {
105-
margin-top: 80px;
106-
margin-bottom: 80px;
107-
@media (max-width: 576px) {
108-
margin-top: 50px;
109-
margin-bottom: 50px;
110-
}
32+
.btn-success {
33+
background-color: #55af59 !important;
34+
border-color: #55af59 !important;
11135
}
11236

113-
.app-images {
114-
width: 400px;
115-
height: 400px;
116-
&-block {
117-
flex-basis: 340px;
118-
}
37+
.btn-success:hover,
38+
.btn-success:focus,
39+
.btn-success:active,
40+
.btn-success.active {
41+
background-color: #408e44 !important;
42+
border-color: #408e44 !important;
11943
}
12044

121-
.green-bkg {
122-
background: linear-gradient(45deg, #1AD1BD , #02A98C);
123-
height: auto;
45+
.app-images {
46+
height: 400px;
47+
width: 100%;
12448
}
12549

126-
.quote {
127-
&-block {
128-
flex-basis: 400px;
129-
}
130-
&-image {
131-
flex-basis: 600px;
132-
}
133-
}
50+
#testimonials {
51+
background-color: rgb(22, 163, 74);
13452

135-
.footer-content {
136-
background-color: #C4CDD5;
137-
padding-top: 150px;
138-
padding-bottom: 150px;
53+
.quote-image {
54+
width: 300px;
55+
}
13956
}

app/views/shared/_flash_tailwind.html.erb

Lines changed: 0 additions & 45 deletions
This file was deleted.

0 commit comments

Comments
 (0)