-
-
Notifications
You must be signed in to change notification settings - Fork 270
Added Case Studies page in Overview Section #473
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
Merged
benjagm
merged 13 commits into
json-schema-org:web-release-3
from
TamannaVerma99:Issue-421
Mar 20, 2024
Merged
Changes from 12 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
22660a2
updated UI of blog-page
d6bf52c
Added Case Studies Page
94c309c
fixed linting errors
944c175
Added casestudies
TamannaVerma99 61b9c16
changing index.page.tsx
TamannaVerma99 aa9acca
Delete components/CustomComponent.tsx
TamannaVerma99 2870661
Delete pages/overview/casestudies.md
TamannaVerma99 0547435
removed unnecessary changes
TamannaVerma99 ab7bf30
removed unnecessary files
TamannaVerma99 f08b64c
fixed bug
TamannaVerma99 d8699b3
removed changes
TamannaVerma99 66b5ef3
removed unnecessary files
TamannaVerma99 e7378cd
Pushing last changes.
benjagm 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 was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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,59 @@ | ||
[ | ||
{ | ||
"logo": "/img/logos/logo-blue.svg", | ||
"summary": "Here we are going to give summary about the casestudy.", | ||
"links": | ||
{ | ||
"lang": "URL1", | ||
"url": "/" | ||
} | ||
|
||
}, | ||
{ | ||
"logo": "/img/logos/logo-blue.svg", | ||
"summary": "Here we are going to give summary about the casestudy.", | ||
"links": | ||
{ | ||
"lang": "URL1", | ||
"url": "/" | ||
} | ||
|
||
},{ | ||
"logo": "/img/logos/logo-blue.svg", | ||
"summary": "Here we are going to give summary about the casestudy.", | ||
"links": | ||
{ | ||
"lang": "URL1", | ||
"url": "/" | ||
} | ||
|
||
},{ | ||
"logo": "/img/logos/logo-blue.svg", | ||
"summary": "Here we are going to give summary about the casestudy.", | ||
"links": | ||
{ | ||
"lang": "URL1", | ||
"url": "/" | ||
} | ||
|
||
},{ | ||
"logo": "/img/logos/logo-blue.svg", | ||
"summary": "Here we are going to give summary about the casestudy.", | ||
"links": | ||
{ | ||
"lang": "URL1", | ||
"url": "/" | ||
} | ||
|
||
},{ | ||
"logo": "/img/logos/logo-blue.svg", | ||
"summary": "Here we are going to give summary about the casestudy.", | ||
"links": | ||
{ | ||
"lang": "URL1", | ||
"url": "/" | ||
} | ||
|
||
} | ||
] | ||
|
This file contains hidden or 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
Oops, something went wrong.
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.
Can you please build a real data set with our case studies? This is the list:
https://json-schema.org/blog?type=Case%20Study
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.
Hey @benjagm
where do we want to direct the link we are adding in each casestudy card? According to card's implementation the link I am adding is shown as read more.
e.g if I have added homepage url in link prop of card it is showing read more and on clicking read more i am directed to home page.
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.
The url will be the case study blog post.
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.
Okay! Got it
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.
Hey @benjagm I have some doubts regarding data set
What are we going to add at the place of logo and are we going to add complete title of blog post if yes then it will be too large because in the implementation of card title it is made by using h3 so how should I proceed with it.
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.
We need to find the company logos and add them to the folder: https://github.com/json-schema-org/website/tree/main/public/img/logos
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.
okay! and what about the size of card title do I need to change the card component?
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.
Why changing the size of the card? Try to use this one and if you need to make some adjustments do it but just for the card features that you need. Remember that the card is now going to be used in 3 different pages.
For example you can change the logo size or fix a bug but not the whole card component without reason. Right?
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.
Sorry for the confusion @benjagm
I am not asking to change the card size but the bug is related to title if I directly put title in this component it will look like this
It is because title is written with h3 size in card component.
I will definitely not change the card component directly but if there is no other way I will just make a copy of this component and make changes to that one .
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.
In this case feel free to modify it