-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
index page ui improvementation #121
Open
akaashvaa
wants to merge
3
commits into
nishantwrp:master
Choose a base branch
from
akaashvaa:ui/improvement
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 2 commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
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
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,92 +1,112 @@ | ||
.org-card-container { | ||
z-index: 100; | ||
width: 100%; | ||
border: 1px solid rgb(230, 236, 241); | ||
padding: 0 1rem; | ||
height: 100%; | ||
cursor: pointer; | ||
border-radius: 10px; | ||
background-color: var(--background); | ||
transition: all 1ms ease-in; | ||
border: 1px solid var(--background); | ||
filter: drop-shadow(0 1px 2px rgb(0 0 0 / 0.1)) | ||
drop-shadow(0 1px 1px rgb(0 0 0 / 0.06)); | ||
color: rgba(37, 37, 37, 0.794); | ||
} | ||
|
||
.org-card-container:hover { | ||
box-shadow: 0 4.5px 5.5px -2.5px rgba(0, 0, 0, 0.2), | ||
0 9px 14px 1px rgba(0, 0, 0, 0.14), 0 3.5px 17px 3px rgba(0, 0, 0, 0.12); | ||
border: 1px solid var(--secondary-foreground); | ||
} | ||
|
||
.org-card-logo-container { | ||
height: 128px; | ||
padding: 5% 10%; | ||
border-radius: 10px; | ||
margin: 20px 0; | ||
} | ||
|
||
.org-card-logo { | ||
margin: auto; | ||
background-size: contain; | ||
background-position: center center; | ||
background-repeat: no-repeat; | ||
height: 100%; | ||
width: 100%; | ||
height: 80%; | ||
width: 80%; | ||
} | ||
|
||
.org-card-name-container { | ||
justify-content: center; | ||
text-align: center; | ||
padding-top: 2%; | ||
padding-left: 10%; | ||
padding-right: 10%; | ||
font-size: 16px; | ||
padding: 2% 5%; | ||
letter-spacing: 1px; | ||
font-size: 1.2em; | ||
font-family: "Galano Grotesque Alt Medium"; | ||
} | ||
|
||
.org-card-description-container { | ||
padding: 2% 3%; | ||
padding: 3%; | ||
text-align: center; | ||
font-family: "Galano Grotesque Alt Light"; | ||
} | ||
|
||
.org-card-category-container { | ||
border-radius: 10px; | ||
text-align: center; | ||
padding: 2% 2%; | ||
background-color: var(--primary); | ||
color: #29531b; | ||
padding: 2%; | ||
margin: 10px 0; | ||
|
||
filter: drop-shadow(0 0 1px rgb(0 0 0 / 0.3)); | ||
} | ||
|
||
.org-card-category-container span { | ||
display: inline-block; | ||
width: inherit; | ||
padding: 3px; | ||
background-color: #db6400; | ||
color: #ffffff; | ||
border-radius: 5px; | ||
font-family: "Galano Grotesque Alt Medium"; | ||
} | ||
|
||
.org-card-years-container { | ||
padding: 2% 2%; | ||
padding: 5px 2px; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
flex-wrap: wrap; | ||
flex: 0 0 1; | ||
gap: 7px; | ||
} | ||
|
||
.org-card-year { | ||
border-radius: 5px; | ||
display: inline-block; | ||
margin: 3px; | ||
padding: 3px; | ||
background-color: #16697a; | ||
color: white; | ||
border-radius: 2px; | ||
padding: 5px 10px; | ||
color: rgba(37, 37, 37, 0.6); | ||
border: 1px solid var(--secondary-foreground); | ||
font-weight: 200; | ||
font-family: "Galano Grotesque Alt Medium"; | ||
} | ||
|
||
.org-card-technologies-container { | ||
padding: 2% 2%; | ||
padding: 10px 0; | ||
display: flex; | ||
flex-wrap: wrap; | ||
justify-content: center; | ||
font-family: "Galano Grotesque Alt Medium"; | ||
color: #29531bda; | ||
align-items: center; | ||
} | ||
|
||
.org-card-technology { | ||
display: inline-block; | ||
margin: 3px; | ||
padding: 3px; | ||
border: 1px solid #db6400; | ||
color: #db6400; | ||
text-align: center; | ||
border-radius: 2px; | ||
font-family: "Galano Grotesque Alt Medium"; | ||
} | ||
|
||
.org-card-technology-extra { | ||
text-decoration: underline; | ||
display: inline-block; | ||
text-decoration: underline; | ||
margin: 3px; | ||
padding: 3px; | ||
color: #db6400; | ||
border-radius: 2px; | ||
font-family: "Galano Grotesque Alt Medium"; | ||
} |
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,5 @@ | ||
.search-search * { | ||
width: 90%; | ||
width: 70%; | ||
filter: drop-shadow(0 0 0.5px rgb(0 0 0 / 0.04)) | ||
drop-shadow(0 0 0.5px rgb(0 0 0 / 0.06)); | ||
} |
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,15 @@ | ||
.index-org-cards-grid { | ||
margin: 0px !important; | ||
margin: 10px !important; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
.results { | ||
background-color: #fcfff5; | ||
border: 1px solid #a3c293; | ||
color: #29531b; | ||
font-weight: 600; | ||
padding: 10px 80px; | ||
border-radius: 5px; | ||
} |
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 |
---|---|---|
|
@@ -219,10 +219,13 @@ const IndexPage = ({ data }) => { | |
<Grid className="index-org-cards-grid"> | ||
<Notification /> | ||
</Grid> | ||
<div style={{ marginTop: "1rem", textAlign: "center" }}> | ||
<a className="ui orange label"> | ||
{filteredOrganizations.length} results | ||
</a> | ||
<div | ||
style={{ | ||
margin: "2rem 0", | ||
textAlign: "center", | ||
}} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This can be defined in |
||
> | ||
<a className="results">{filteredOrganizations.length} results</a> | ||
</div> | ||
<Grid className="index-org-cards-grid" stackable columns={cardColumns}> | ||
{filteredOrganizations.map(org => ( | ||
|
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.
Thanks for this. Looks neat.
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.
Screencast.from.07-07-24.07.25.58.PM.IST.webm
Checkpoint
changes
let me know if anything else i missed after then i will commit the changes.
i also want to add some feature :
if u agree then i happy to create an issue on this