-
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.
feat: add contributor page, new universal footer
- Loading branch information
1 parent
ffe518f
commit 4e2b5bf
Showing
11 changed files
with
358 additions
and
89 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,18 @@ | ||
import { baseHost, basePath } from 'BASE_PATH' | ||
import ContributorsPage from 'app/_pages/ContributorsPage' | ||
import { Metadata } from 'next' | ||
|
||
export const metadata: Metadata = { | ||
title: 'Contributors - ArtBot for Stable Diffusion', | ||
openGraph: { | ||
title: 'ArtBot - Awesome Contributors', | ||
images: [`${baseHost}${basePath}/robots_coding.jpg`] | ||
}, | ||
twitter: { | ||
images: `${baseHost}${basePath}/robots_coding.jpg` | ||
} | ||
} | ||
|
||
export default function Page() { | ||
return <ContributorsPage /> | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,62 @@ | ||
.Footer { | ||
background-color: grey; | ||
color: white; | ||
display: flex; | ||
flex-direction: column; | ||
padding: 16px; | ||
padding-bottom: 66px; | ||
width: 100%; | ||
} | ||
|
||
.SectionsWrapper { | ||
column-gap: 32px; | ||
display: flex; | ||
flex-direction: row; | ||
flex-wrap: wrap; | ||
row-gap: 32px; | ||
} | ||
|
||
.Section { | ||
display: flex; | ||
flex-direction: column; | ||
font-size: 14px; | ||
gap: 4px; | ||
margin-right: 8px; | ||
overflow-wrap: break-word; | ||
width: 160px; | ||
} | ||
|
||
.SectionTitle { | ||
font-weight: 700; | ||
} | ||
|
||
.AboutWrapper { | ||
margin-top: 32px; | ||
padding-bottom: 16px; | ||
text-align: center; | ||
} | ||
|
||
@media (min-width: 640px) { | ||
.AboutWrapper { | ||
padding-bottom: 0; | ||
} | ||
|
||
.Footer { | ||
justify-content: center; | ||
padding-bottom: 16px; | ||
} | ||
|
||
.SectionsWrapper { | ||
flex-direction: row; | ||
} | ||
} | ||
|
||
@media (min-width: 800px) { | ||
.Footer { | ||
padding-left: 236px; | ||
} | ||
|
||
.NoPadding { | ||
padding-left: 16px; | ||
} | ||
} |
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,146 @@ | ||
'use client' | ||
import Link from 'next/link' | ||
import styles from './footer.module.css' | ||
import Linker from '../Linker' | ||
import { usePathname } from 'next/navigation' | ||
import clsx from 'clsx' | ||
|
||
export default function FooterV2() { | ||
const pathname = usePathname() | ||
|
||
const isHomePage = pathname === '/' | ||
|
||
return ( | ||
<div className={clsx(styles.Footer, isHomePage && styles.NoPadding)}> | ||
<div className={styles.SectionsWrapper}> | ||
<div className={styles.Section}> | ||
<div className={styles.SectionTitle}>Creation Tools</div> | ||
<div> | ||
<Link href="/create">Create new image</Link> | ||
</div> | ||
<div> | ||
<Link href="/controlnet">ControlNet</Link> | ||
</div> | ||
<div> | ||
<Link href="/draw">Draw</Link> | ||
</div> | ||
<div> | ||
<Link href="/create?panel=img2img">Image-to-image</Link> | ||
</div> | ||
<div> | ||
<Link href="/create?panel=inpainting">Inpainting</Link> | ||
</div> | ||
<div> | ||
<Link href="/live-paint">Live paint</Link> | ||
</div> | ||
</div> | ||
<div className={styles.Section}> | ||
<div className={styles.SectionTitle}>Image gallery</div> | ||
<div> | ||
<Link href="/pending">Pending image requests</Link> | ||
</div> | ||
<div> | ||
<Link href="/images">View image gallery</Link> | ||
</div> | ||
</div> | ||
<div className={styles.Section}> | ||
<div className={styles.SectionTitle}>General info</div> | ||
<div> | ||
<Link href="/info/models">Model details</Link> | ||
</div> | ||
<div> | ||
<Link href="/info/models/updates">Model updates</Link> | ||
</div> | ||
<div> | ||
<Link href="/info/workers">Worker details</Link> | ||
</div> | ||
</div> | ||
<div className={styles.Section}> | ||
<div className={styles.SectionTitle}>Utilities</div> | ||
<div> | ||
<Link href="/settings?panel=import-export">Export images</Link> | ||
</div> | ||
<div> | ||
<Link href="/interrogate">Interrogate image</Link> | ||
</div> | ||
<div> | ||
<Link href="/settings?panel=worker">Manage workers</Link> | ||
</div> | ||
<div> | ||
<Link href="/rate">Rate images</Link> | ||
</div> | ||
<div> | ||
<Link href="/profile">User profile</Link> | ||
</div> | ||
</div> | ||
<div className={styles.Section}> | ||
<div className={styles.SectionTitle}>Community</div> | ||
<div> | ||
<Link href="/showcase">Image showcase</Link> | ||
</div> | ||
</div> | ||
<div className={styles.Section}> | ||
<div className={styles.SectionTitle}>Contact</div> | ||
<div> | ||
<Link href="https://discord.com/channels/781145214752129095/1107628882783391744"> | ||
Discord | ||
</Link> | ||
</div> | ||
<div> | ||
<Link href="https://github.com/daveschumaker/artbot-for-stable-diffusion/issues"> | ||
Github issues | ||
</Link> | ||
</div> | ||
<div> | ||
<Link href="https://mastodon.world/@davely">Mastodon</Link> | ||
</div> | ||
<div> | ||
<Link href="/contact">Send message</Link> | ||
</div> | ||
</div> | ||
<div className={styles.Section}> | ||
<div className={styles.SectionTitle}>ArtBot</div> | ||
<div> | ||
<Link href="/about">About</Link> | ||
</div> | ||
<div> | ||
<Link href="/changelog">Changelog</Link> | ||
</div> | ||
<div> | ||
<Link href="/contributors">Contributors</Link> | ||
</div> | ||
<div> | ||
<Link href="/faq">FAQ</Link> | ||
</div> | ||
<div> | ||
<Link href="https://github.com/daveschumaker/artbot-for-stable-diffusion"> | ||
Github | ||
</Link> | ||
</div> | ||
<div> | ||
<Link href="'/settings?panel=prefs">Preferences</Link> | ||
</div> | ||
<div> | ||
<Link href="/privacy">Privacy policy</Link> | ||
</div> | ||
<div> | ||
<Link href="'/settings">Settings</Link> | ||
</div> | ||
</div> | ||
</div> | ||
<div className={styles.AboutWrapper}> | ||
<div> | ||
ArtBot is created with ❤️ , ☕️ and ☀️ by{' '} | ||
<Linker | ||
href="https://mastodon.world/@davely" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
@davely | ||
</Linker>{' '} | ||
in California. | ||
</div> | ||
</div> | ||
</div> | ||
) | ||
} |
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,69 @@ | ||
'use client' | ||
|
||
/* eslint-disable @next/next/no-img-element */ | ||
import Head from 'next/head' | ||
import PageTitle from 'app/_components/PageTitle' | ||
import { baseHost, basePath } from 'BASE_PATH' | ||
import Linker from 'app/_components/Linker' | ||
|
||
const ContributorsPage = () => { | ||
return ( | ||
<> | ||
<Head> | ||
<title>Awesome Contributors - ArtBot for Stable Diffusion</title> | ||
<meta name="twitter:title" content="ArtBot - Awesome Contributors" /> | ||
<meta | ||
name="twitter:image" | ||
content={`${baseHost}${basePath}/robots_coding.jpg`} | ||
/> | ||
</Head> | ||
<PageTitle>Awesome Contributors</PageTitle> | ||
<div className="pb-2"> | ||
<img | ||
src={`${basePath}/robots_coding.jpg`} | ||
alt="painting of a robot painting robots" | ||
/> | ||
</div> | ||
<div className="pb-2"> | ||
ArtBot is a passion project originally created by{' '} | ||
<Linker | ||
href="https://daveschumaker.net/" | ||
target="_blank" | ||
rel="noreferrer" | ||
> | ||
Dave Schumaker | ||
</Linker>{' '} | ||
and first launched in October 2022. | ||
</div> | ||
<div className="pb-2"> | ||
Since then, a number of people have contributed their knowledge and | ||
coding abilities to help improve ArtBot. I am immensely grateful. | ||
Special thanks and shout outs to: | ||
</div> | ||
<div className="pb-2"> | ||
<ul> | ||
<li>- aurror</li> | ||
<li>- brimstone</li> | ||
<li>- Cubox</li> | ||
<li>- Efreak</li> | ||
<li>- FredHappyface</li> | ||
<li>- Litnine</li> | ||
<li>- tijszwinkels</li> | ||
<li>- voodoocode</li> | ||
<li>- WuKaiYi</li> | ||
</ul> | ||
</div> | ||
<div className="pb-2"> | ||
Are you interested in helping improve ArtBot? Feel free to open a | ||
feature request or start slinging some code. Contributions are always | ||
welcome. Check out{' '} | ||
<Linker href="https://aihorde.net/" target="_blank" rel="noreferrer"> | ||
ArtBot on Github | ||
</Linker> | ||
. | ||
</div> | ||
</> | ||
) | ||
} | ||
|
||
export default ContributorsPage |
Oops, something went wrong.