Skip to content

Commit

Permalink
docs: add demo (#106)
Browse files Browse the repository at this point in the history
* docs: add example demo

* feat: update middleware

* feat: add demo images

* feat: add demo

* Update README.md
  • Loading branch information
altaywtf authored Dec 17, 2023
1 parent fa4405c commit 5d76af4
Show file tree
Hide file tree
Showing 13 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div align="center">
<p>
<img src="./public/logo.png" width="72">
<img src="./public/images/logo.png" width="72">
</p>

<h1>beecast</h1>
Expand All @@ -10,14 +10,14 @@
</p>

<p>
<a href="https://conventionalcommits.org" target="_blank"><img src="https://img.shields.io/badge/Conventional%20Commits-1.0.0-%23FE5196" ></a>
<a href="https://conventionalcommits.org" target="_blank"><img src="https://img.shields.io/badge/Conventional%20Commits-1.0.0-%23FE5196"></a>
<img src="https://img.shields.io/github/license/experiment-station/beecast">
</p>
</div>

<br />

---
https://github.com/experiment-station/beecast/assets/9790196/5ef99e74-6ec5-40cc-b495-f39c170945bd

<br />

Expand Down
2 changes: 1 addition & 1 deletion app/shows/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default async function Page(props: { params: { id: ShowId } }) {
<AspectRatio ratio={1}>
<Avatar
alt={data.title}
fallback="/images/placeholder.png"
fallback="/images/logo.png"
radius="small"
src={data.images?.[0]}
style={{
Expand Down
2 changes: 1 addition & 1 deletion components/episode-detail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function EpisodeDetailContent(
}}
>
<Avatar
fallback="/images/placeholder.png"
fallback="/images/logo.png"
radius="small"
size={{
initial: '6',
Expand Down
2 changes: 1 addition & 1 deletion components/show-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function ShowCardImage(props: Pick<ShowCardProps, 'images' | 'title'>) {
<Avatar
alt={`Cover for ${props.title}`}
className={styles.Image}
fallback="/images/placeholder.png"
fallback="/images/logo.png"
src={props.images?.[0]}
/>
</AspectRatio>
Expand Down
2 changes: 1 addition & 1 deletion middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ export async function middleware(request: NextRequest) {

export const config = {
matcher: [
'/((?!_next/static|_next/image|favicon.ico|logo.png|logo.svg|twitter-image.png|opengraph-image.png).*)',
'/((?!_next/static|_next/image|images|videos|favicon.ico|logo.png|logo.svg|twitter-image.png|opengraph-image.png).*)',
],
};
Binary file added public/images/beecast-1-home.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/beecast-2-shows.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/beecast-3-show.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/beecast-4-episode.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/beecast-5-credits.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file removed public/images/placeholder.png
Binary file not shown.
Binary file added public/videos/demo-1080p.mp4
Binary file not shown.

0 comments on commit 5d76af4

Please sign in to comment.