Skip to content
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(examples): blog-starter <Link> href, remove redundant public folder #65025

Merged
merged 3 commits into from
Apr 25, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/blog-starter/src/app/_components/cover-image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const CoverImage = ({ title, src, slug }: Props) => {
return (
<div className="sm:mx-0">
{slug ? (
<Link as={`/posts/${slug}`} href="/posts/[slug]" aria-label={title}>
<Link href={`/posts/${slug}`} aria-label={title}>
{image}
</Link>
) : (
Expand Down
3 changes: 1 addition & 2 deletions examples/blog-starter/src/app/_components/hero-post.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ export function HeroPost({
<div>
<h3 className="mb-4 text-4xl lg:text-5xl leading-tight">
<Link
as={`/posts/${slug}`}
href="/posts/[slug]"
href={`/posts/${slug}`}
className="hover:underline"
>
{title}
Expand Down
3 changes: 1 addition & 2 deletions examples/blog-starter/src/app/_components/post-preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ export function PostPreview({
</div>
<h3 className="text-3xl mb-3 leading-snug">
<Link
as={`/posts/${slug}`}
href="/posts/[slug]"
href={`/posts/${slug}`}
className="hover:underline"
>
{title}
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
9 changes: 0 additions & 9 deletions examples/blog-starter/src/public/favicon/browserconfig.xml

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file removed examples/blog-starter/src/public/favicon/favicon.ico
Binary file not shown.
Binary file not shown.
33 changes: 0 additions & 33 deletions examples/blog-starter/src/public/favicon/safari-pinned-tab.svg

This file was deleted.

19 changes: 0 additions & 19 deletions examples/blog-starter/src/public/favicon/site.webmanifest

This file was deleted.

Loading