-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: add new artist tags * feat: show unavailable models in model info panel * feat: add swap dimensions button, closes #137 * chore: add more artist tags * refactor: cleanup toast notification code * refactor: fix server update modal and refactor pending page virtual list * stash work * feat: enable community showcase * chore: update changelog * chore: misc fixes
- Loading branch information
1 parent
1cb32e4
commit fd3e00e
Showing
31 changed files
with
583 additions
and
368 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
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,37 @@ | ||
import { baseHost, basePath } from 'BASE_PATH' | ||
import ShowcasePage from 'app/_pages/ShowcasePage' | ||
import { Metadata } from 'next' | ||
|
||
export const metadata: Metadata = { | ||
title: 'Community Showcase - ArtBot for Stable Diffusion', | ||
openGraph: { | ||
title: 'ArtBot - Community Showcase', | ||
images: [`${baseHost}${basePath}/robot_showcase.jpg`], | ||
description: | ||
'Get inspiration and discover what other ArtBot fans have created and publicly shared with the ArtBot Showcase.' | ||
}, | ||
twitter: { | ||
images: `${baseHost}${basePath}/robot_showcase.jpg` | ||
} | ||
} | ||
|
||
async function getPageData() { | ||
try { | ||
const resp = await fetch( | ||
`${process.env.NEXT_SHORTLINK_SERVICE}/api/v1/images/public/list/0`, | ||
{ | ||
method: 'GET' | ||
} | ||
) | ||
const imageList = (await resp.json()) || [] | ||
return imageList | ||
} catch (err) { | ||
console.log(`getPageData error?`, err) | ||
return [] | ||
} | ||
} | ||
|
||
export default async function Page() { | ||
const imageList = await getPageData() | ||
return <ShowcasePage images={imageList} /> | ||
} |
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
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
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
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
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
Oops, something went wrong.