-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
fix-#392: added related blogs section in detailed blog page #398
Merged
krishnaacharyaa
merged 5 commits into
krishnaacharyaa:main
from
vamsidhar-914:bugfix/392-add-related-blogs-section
Jun 7, 2024
Merged
Changes from 1 commit
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
9e344f0
fix-#392: added related blogs section in detailed blog page
vamsidhar-914 f0b2237
fix-#339: added all related categoris posts
vamsidhar-914 5c8427b
fix-#392: changed styling of posts for mobileView
vamsidhar-914 4c40ce0
fix-#392: added shimmer loading skeletons,fixed alignment
vamsidhar-914 2cc631c
fix-#392: fixed alignment
vamsidhar-914 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
2 changes: 1 addition & 1 deletion
2
frontend/src/assets/svg/arrow-right.svg → ...tend/src/assets/svg/arrow-right-black.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { Skeleton } from './ui/skeleton'; | ||
|
||
export function PostMobileViewCardSkeleton() { | ||
return ( | ||
<div | ||
className="flex h-fit rounded-lg border bg-slate-50 dark:border-none dark:bg-dark-card" | ||
data-testid={'postMobileViewCardSkeleton'} | ||
> | ||
<div className="flex h-fit w-full gap-2 p-3"> | ||
<Skeleton className="w-1/3 overflow-hidden rounded-lg bg-slate-200 dark:bg-slate-700" /> | ||
<div className="flex h-full w-2/3 flex-col gap-2 "> | ||
<Skeleton className="mb-2 h-3 w-full bg-slate-200 pr-2 dark:bg-slate-700" /> | ||
<div className="mt-1 flex flex-wrap gap-1 sm:mt-2 sm:gap-1.5"> | ||
<Skeleton className={`h-6 w-16 rounded-full bg-slate-200 dark:bg-slate-700`} /> | ||
<Skeleton className={`h-6 w-16 rounded-full bg-slate-200 dark:bg-slate-700`} /> | ||
</div> | ||
<Skeleton className="mb-2 h-6 w-full bg-slate-200 pr-2 dark:bg-slate-700 sm:mb-4" /> | ||
<Skeleton className="mb-2 h-3 w-full bg-slate-200 pr-2 dark:bg-slate-700" /> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
} |
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.
I guess this should go under skeletons folder, not sure, whereever all the skeletons are placed, kindly place it there,
And naming sir, please follow guidelines
related-post-card-skeleton
as other skeletons namings.