-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
84 additions
and
9 deletions.
There are no files selected for viewing
This file contains 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 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,14 @@ | ||
import { FunctionComponent } from "react"; | ||
|
||
const GalleryImage: FunctionComponent<WithSearchParams<GalleryImageProps>> = ({ | ||
params: { locale, gallery, image }, | ||
searchParams = {}, | ||
}) => { | ||
return ( | ||
<div> | ||
<h1>Image {image}</h1> | ||
</div> | ||
); | ||
}; | ||
|
||
export default GalleryImage; |
This file contains 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,20 @@ | ||
import { FunctionComponent } from "react"; | ||
|
||
// should retrieve all galleries by entry, and | ||
// return an array of their slugs to statically | ||
// generate their content | ||
// export async function generateStaticParams() { | ||
// } | ||
|
||
const Gallery: FunctionComponent<WithSearchParams<GalleryProps>> = ({ | ||
params: { locale, gallery }, | ||
searchParams = {}, | ||
}) => { | ||
return ( | ||
<div> | ||
<h1>Gallery {gallery}</h1> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Gallery; |
This file contains 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,14 @@ | ||
import { FunctionComponent } from "react"; | ||
|
||
const GalleryLanding: FunctionComponent<WithSearchParams<LocaleProps>> = ({ | ||
params: { locale }, | ||
searchParams = {}, | ||
}) => { | ||
return ( | ||
<div> | ||
<h1>Gallery Landing</h1> | ||
</div> | ||
); | ||
}; | ||
|
||
export default GalleryLanding; |
This file contains 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 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