-
Notifications
You must be signed in to change notification settings - Fork 4
Feature/RZA-250097: Refactor the Blog Page UI and Added Stories Section #117
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
Conversation
recursivezero
left a comment
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.
- remove inline css
- extract svg into icons file
- fix font size and alignment for large and mobile screen
| <BackArrow/> | ||
| <div class="container__blog"> | ||
| <header class="mb-12 text-center"> | ||
| <h1 |
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.
remove inline style from all and use in blog.css or separate blog-article.css file using class names and no duplicate/unused css
src/pages/blog/[slug].astro
Outdated
| <header class="blog-post-header"> | ||
| <h1 | ||
| style="background: linear-gradient(90deg, var(--text), var(--primary-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent;" | ||
| style="font-size:45px; background: linear-gradient(90deg, var(--text), var(--primary-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent;" |
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.
remove inline style , use something written on blog,css
src/pages/blog/[slug].astro
Outdated
| { | ||
| validatedData.description && ( | ||
| <p class="mx-auto mt-4 max-w-2xl text-lg" style="color: var(--secondary)"> | ||
| <p class="mx-auto mt-4 max-w-2xl text-lg" style="font-size:20px; color: var(--secondary)"> |
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.
this mt-4 max-w? these tailwind willnot work here as we are not having tailwind
…nhance layout for better readability
…tency and readability
f0e7382 to
d301887
Compare
|
https://web.dev/patterns/components/settings?hl=en#css try this kind of slider |










Description:
/public/images/blogdirectory.Fixes #97
Here are some screenshots: