forked from bloom-housing/bloom
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1337/homepage coming soon #1370
Merged
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
9174e6d
feat: unstyled functionality of coming soon cards
ColinBuyck 647f354
fix: listing card and button styling
ColinBuyck 0906058
Merge branch 'dev' into 1337/homepage-comining-soon
ColinBuyck 8631e6c
fix: further updates to styling
ColinBuyck cf07707
fix: title and button spacing
ColinBuyck 2f8526b
fix: clean up mobile styling
ColinBuyck 5337f3f
fix: removed unused css rules
ColinBuyck e78b58d
fix: added listing ordering
ColinBuyck bde2a0d
fix: resizing more consistently
ColinBuyck adec152
fix: consistent image resizing
ColinBuyck 80d5cc5
fix: added translations
ColinBuyck 818a099
fix: capitalization fix
ColinBuyck 586c520
Merge branch 'dev' into 1337/homepage-coming-soon
ColinBuyck f197e4b
fix: homepage centering redesign
ColinBuyck 423159a
fix: progress on region styling
ColinBuyck 41b71ff
fix: regions are now dynamically sizing
ColinBuyck b8bf991
fix: in-progress dynamic resizing
ColinBuyck 8511fa7
refactor: bloop blorp
emilyjablonski 3dbbc34
fix: standardizing homepage styling
ColinBuyck 13047b2
fix: mantaining consistency with figma
ColinBuyck 48b4eb9
fix: prevent text cutoff
ColinBuyck 80f2936
fix: prevent text cutoff
ColinBuyck ce1d224
fix: mantain img ratio and fix mobile padding issue
ColinBuyck a7dc044
fix: fixed text overflow bug
ColinBuyck 2cc0ee9
fix: unused code and improved padding
ColinBuyck e3883a8
fix: removed google translations
ColinBuyck 05b3041
fix: added translations
ColinBuyck File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
@@ -1,39 +1,95 @@ | ||
.latest-listings { | ||
padding: 24px 0 0 0; | ||
.section-container { | ||
max-width: 1600px; | ||
padding-top: 1rem; | ||
padding-bottom: 2rem; | ||
@apply mx-auto; | ||
} | ||
|
||
.regions { | ||
padding: 24px 0; | ||
.title { | ||
align-items: center; | ||
justify-content: center; | ||
display: flex; | ||
h2 { | ||
font-size: 1.5rem; | ||
font-weight: 700; | ||
line-height: 2rem; | ||
@screen sm { | ||
font-size: 2rem; | ||
line-height: 2.25rem; | ||
} | ||
} | ||
svg { | ||
padding: 0 0.5rem 0 0; | ||
fill: $tailwind-primary; | ||
height: 2rem; | ||
width: 2rem; | ||
@screen sm { | ||
height: 2.5rem; | ||
width: 2.5rem; | ||
} | ||
} | ||
} | ||
|
||
.region { | ||
@apply bg-primary; | ||
background-size: cover; | ||
background-position: 50% 50%; | ||
border-radius: 14px 14px 2px 2px; | ||
height: 130px; | ||
margin: 0 33px 2.2rem 0; | ||
position: relative; | ||
width: 209px; | ||
.cards-container { | ||
padding-top: 1.5rem; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
@screen lg { | ||
flex-direction: row; | ||
align-items: unset; | ||
} | ||
:last-child { | ||
@apply pb-0; | ||
} | ||
} | ||
|
||
@screen sm { | ||
height: 170px; | ||
width: 278px; | ||
.region-background { | ||
padding-top: 1rem; | ||
width: 100%; | ||
background-color: #f7f7f7; | ||
} | ||
|
||
.region { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
max-width: 48rem; | ||
min-height: 100%; | ||
overflow: hidden; | ||
@apply px-4; | ||
@apply pb-6; | ||
@screen lg { | ||
width: 25%; | ||
@apply pb-0; | ||
} | ||
img { | ||
object-fit: cover; | ||
border-radius: 24px 24px 0 0; | ||
height: 100%; | ||
width: 100%; | ||
aspect-ratio: 3/2; | ||
@apply pb-2; | ||
} | ||
} | ||
.region:hover { | ||
opacity: 0.9; | ||
} | ||
|
||
.region__text { | ||
bottom: -2rem; | ||
display: flex; | ||
justify-content: center; | ||
font-size: 1.3rem; | ||
font-weight: 700; | ||
line-height: 1rem; | ||
max-width: 236px; | ||
line-height: 1.3rem; | ||
max-width: 278px; | ||
overflow: hidden; | ||
position: absolute; | ||
text-overflow: ellipsis; | ||
white-space: nowrap; | ||
@apply text-primary-dark; | ||
} | ||
|
||
.latest-listings { | ||
padding: 24px 0 0 0; | ||
} |
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
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
love the shared class!