-
Notifications
You must be signed in to change notification settings - Fork 67
feat(landing): expand marketing site, add SEO metadata, trust badges,… #408
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
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
bb5c046
feat(landing): expand marketing site, add SEO metadata, trust badges,…
yash-pouranik ea12d9a
test: align API tests with soft-delete filtering and upload size errors
coderabbitai[bot] c342601
fix: address review feedback on landing pages, a11y, dates, and web-c…
yash-pouranik 1e50bbf
chore(web-client): upgrade next to ^15.5.16 and sync package-lock.json
yash-pouranik 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
Binary file not shown.
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
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 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 |
|---|---|---|
| @@ -1,4 +1,5 @@ | ||
| User-agent: * | ||
| Allow: / | ||
|
|
||
| Sitemap: https://urbackend.bitbros.in/sitemap.xml | ||
| Sitemap: https://urbackend.in/sitemap-index.xml | ||
| Sitemap: https://urbackend.in/sitemap-0.xml |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,151 @@ | ||
| --- | ||
| import { ArrowRight, Calendar, User } from 'lucide-react'; | ||
|
|
||
| interface Props { | ||
| slug: string; | ||
| title: string; | ||
| description: string; | ||
| date: Date | string; | ||
| author: string; | ||
| category: string; | ||
| tags?: string[]; | ||
| } | ||
|
|
||
| const { slug, title, description, date, author, category, tags = [] } = Astro.props; | ||
|
|
||
| const formattedDate = new Date(date).toLocaleDateString('en-US', { | ||
| year: 'numeric', | ||
| month: 'short', | ||
| day: 'numeric', | ||
| timeZone: 'UTC', | ||
| }); | ||
| --- | ||
|
|
||
| <article class="blog-card"> | ||
| <a href={`/blog/${slug}`} class="blog-card-link" aria-label={title}> | ||
| <div class="blog-card-header"> | ||
| <span class="category-pill">{category}</span> | ||
| <span class="blog-date"> | ||
| <Calendar size={13} /> | ||
| {formattedDate} | ||
| </span> | ||
| </div> | ||
|
|
||
| <h2 class="blog-card-title">{title}</h2> | ||
| <p class="blog-card-desc">{description}</p> | ||
|
|
||
| <div class="blog-card-footer"> | ||
| <div class="blog-author"> | ||
| <User size={14} /> | ||
| <span>{author}</span> | ||
| </div> | ||
| <span class="read-more"> | ||
| Read article <ArrowRight size={14} /> | ||
| </span> | ||
| </div> | ||
| </a> | ||
| </article> | ||
|
|
||
| <style> | ||
| .blog-card { | ||
| background: #080808; | ||
| border: 1px solid rgba(255, 255, 255, 0.08); | ||
| transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); | ||
| display: flex; | ||
| flex-direction: column; | ||
| position: relative; | ||
| } | ||
|
|
||
| .blog-card:hover { | ||
| border-color: rgba(0, 245, 212, 0.3); | ||
| transform: translateY(-4px); | ||
| box-shadow: 0 12px 30px -10px rgba(0, 245, 212, 0.1); | ||
| } | ||
|
|
||
| .blog-card-link { | ||
| padding: 2rem; | ||
| display: flex; | ||
| flex-direction: column; | ||
| height: 100%; | ||
| text-decoration: none; | ||
| color: inherit; | ||
| } | ||
|
|
||
| .blog-card-header { | ||
| display: flex; | ||
| justify-content: space-between; | ||
| align-items: center; | ||
| margin-bottom: 1.25rem; | ||
| } | ||
|
|
||
| .category-pill { | ||
| font-size: 0.72rem; | ||
| font-weight: 600; | ||
| text-transform: uppercase; | ||
| letter-spacing: 0.08em; | ||
| padding: 0.2rem 0.6rem; | ||
| background: rgba(0, 245, 212, 0.08); | ||
| border: 1px solid rgba(0, 245, 212, 0.2); | ||
| color: #00f5d4; | ||
| } | ||
|
|
||
| .blog-date { | ||
| display: flex; | ||
| align-items: center; | ||
| gap: 0.35rem; | ||
| font-size: 0.8rem; | ||
| color: #71717a; | ||
| font-family: 'JetBrains Mono', monospace; | ||
| } | ||
|
|
||
| .blog-card-title { | ||
| font-size: 1.35rem; | ||
| font-weight: 700; | ||
| color: #fff; | ||
| line-height: 1.3; | ||
| margin: 0 0 0.85rem; | ||
| letter-spacing: -0.015em; | ||
| } | ||
|
|
||
| .blog-card:hover .blog-card-title { | ||
| color: #00f5d4; | ||
| } | ||
|
|
||
| .blog-card-desc { | ||
| font-size: 0.95rem; | ||
| color: #a1a1aa; | ||
| line-height: 1.6; | ||
| margin: 0 0 2rem; | ||
| flex-grow: 1; | ||
| } | ||
|
|
||
| .blog-card-footer { | ||
| display: flex; | ||
| justify-content: space-between; | ||
| align-items: center; | ||
| padding-top: 1.25rem; | ||
| border-top: 1px solid rgba(255, 255, 255, 0.06); | ||
| } | ||
|
|
||
| .blog-author { | ||
| display: flex; | ||
| align-items: center; | ||
| gap: 0.45rem; | ||
| font-size: 0.85rem; | ||
| color: #71717a; | ||
| } | ||
|
|
||
| .read-more { | ||
| display: flex; | ||
| align-items: center; | ||
| gap: 0.35rem; | ||
| font-size: 0.85rem; | ||
| font-weight: 600; | ||
| color: #00f5d4; | ||
| transition: gap 0.2s ease; | ||
| } | ||
|
|
||
| .blog-card:hover .read-more { | ||
| gap: 0.55rem; | ||
| } | ||
| </style> | ||
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.