-
-
Notifications
You must be signed in to change notification settings - Fork 4
feat(Blog) #222
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
Merged
feat(Blog) #222
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
725d234
feat(Blog):fix for clickable link in post details, fix for author det…
KomrakovaAnna 6e8561d
feat(Blog):refactoring after removing author modal
KomrakovaAnna 0334ea5
feat(Blog):mergin develop
KomrakovaAnna 7bf3768
feat(Blog): fix unified date format
KomrakovaAnna d60fbe8
feat(Blog): Fix for click-outside-to-close search, recommended posts…
KomrakovaAnna c836b11
merging develop
KomrakovaAnna 705f075
feat(Blog): selectedAuthorData fixed
KomrakovaAnna 69a8190
feat(Blog): Added description for /blog/[slug] metadata, Added Schema…
KomrakovaAnna f628c8c
feat(Blog): fix hover social links, fixed duplication not found search
KomrakovaAnna a2fa0b6
Merge branch 'develop' into sanity
KomrakovaAnna 42d1a62
feat(Blog): Added: breadcrumbs to the post details page and updated t…
KomrakovaAnna faab3bd
feat(Blog): Added: breadcrumbs to the post details page and updated t…
KomrakovaAnna 102f427
merging develop
KomrakovaAnna 91f05d8
feat(Blog): Added scroll on the main blog page on filtering by author…
KomrakovaAnna d73087a
Merge branch 'develop' into sanity
KomrakovaAnna 9347874
feat(Blog): Changed image size on the post details page
KomrakovaAnna 2591e67
Merge branch 'develop' into sanity
KomrakovaAnna a04e8bb
feat(Blog): added tests
KomrakovaAnna 83d54a6
added package-lock
KomrakovaAnna f0a1419
feat(Blog): fix for big post on the post page, added tests
KomrakovaAnna fd582c2
feat(Blog): resolving comments
KomrakovaAnna f0144a3
Merge branch 'develop' into sanity
KomrakovaAnna 556e400
feat(Blog): fixed hover for social links icins - dark theme
KomrakovaAnna 7e54349
Merge branch 'develop' into sanity
KomrakovaAnna 177a77e
feat(Blog): bringing the style on the blog page to a single site style
KomrakovaAnna ded4abf
Merge branch 'develop' into sanity
KomrakovaAnna 9faffa5
feat(blog): aligning syles
KomrakovaAnna 7299946
feat(blog): resolving comment from CodeRabbit
KomrakovaAnna 1f293ac
feat(blog):fix comment for deployment
KomrakovaAnna 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 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
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,25 @@ | ||
| 'use client'; | ||
|
|
||
| import { useSearchParams } from 'next/navigation'; | ||
|
|
||
| type BlogPageHeaderProps = { | ||
| title: string; | ||
| subtitle: string; | ||
| }; | ||
|
|
||
| export function BlogPageHeader({ title, subtitle }: BlogPageHeaderProps) { | ||
| const searchParams = useSearchParams(); | ||
| const authorParam = (searchParams?.get('author') || '').trim(); | ||
| if (authorParam) return null; | ||
|
|
||
| return ( | ||
| <> | ||
| <h1 className="text-5xl font-extrabold mb-3 text-center leading-[1.1] bg-gradient-to-b from-[color-mix(in_srgb,var(--accent-primary)_70%,white)] to-[var(--accent-hover)] bg-clip-text text-transparent"> | ||
| {title} | ||
| </h1> | ||
| <p className="mx-auto mb-10 max-w-2xl text-center text-base text-gray-500 dark:text-gray-400"> | ||
| {subtitle} | ||
| </p> | ||
| </> | ||
| ); | ||
| } |
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,26 @@ | ||
| 'use client'; | ||
|
|
||
| import { ArrowUpRight } from 'lucide-react'; | ||
| import { HeaderButton } from '@/components/shared/HeaderButton'; | ||
|
|
||
| type FeaturedPostCtaButtonProps = { | ||
| href: string; | ||
| label: string; | ||
| className?: string; | ||
| }; | ||
|
|
||
| export function FeaturedPostCtaButton({ | ||
| href, | ||
| label, | ||
| className, | ||
| }: FeaturedPostCtaButtonProps) { | ||
| return ( | ||
| <HeaderButton | ||
| href={href} | ||
| variant="icon" | ||
| icon={ArrowUpRight} | ||
| label={label} | ||
| className={className} | ||
| /> | ||
| ); | ||
| } |
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.
Uh oh!
There was an error while loading. Please reload this page.