forked from immich-app/immich
-
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.
docs: community guides (immich-app#8812)
* Community Guides * typo * chore: view guide --------- Co-authored-by: Jason Rasmussen <[email protected]>
- Loading branch information
Showing
2 changed files
with
78 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Community Guides | ||
|
||
This page lists community guides that are written around Immich, but not officially supported by the development team. | ||
|
||
:::warning | ||
This list comes with no guarantees about security, performance, reliability, or accuracy. Use at your own risk. | ||
::: | ||
|
||
import CommunityGuides from '../src/components/community-guides.tsx'; | ||
import React from 'react'; | ||
|
||
<CommunityGuides /> |
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,66 @@ | ||
import Link from '@docusaurus/Link'; | ||
import React from 'react'; | ||
|
||
interface CommunityGuidesProps { | ||
title: string; | ||
description: string; | ||
url: string; | ||
} | ||
|
||
const guides: CommunityGuidesProps[] = [ | ||
{ | ||
title: 'Cloudflare Tunnels with SSO/OAuth', | ||
description: `Setting up Cloudflare Tunnels and a SaaS App for immich.`, | ||
url: 'https://github.com/immich-app/immich/discussions/8299', | ||
}, | ||
{ | ||
title: 'Database backup in Truenas', | ||
description: `Create a database backup with pgAdmin in Truenas.`, | ||
url: 'https://github.com/immich-app/immich/discussions/8809', | ||
}, | ||
{ | ||
title: 'Unraid backup scripts', | ||
description: `Back up your assets in Unarid with a pre-prepared script.`, | ||
url: 'https://github.com/immich-app/immich/discussions/8416', | ||
}, | ||
{ | ||
title: 'Sync folders with albums', | ||
description: `synchronize folders in imported library with albums having the folders name.`, | ||
url: 'https://github.com/immich-app/immich/discussions/3382', | ||
}, | ||
]; | ||
|
||
function CommunityGuide({ title, description, url }: CommunityGuidesProps): JSX.Element { | ||
return ( | ||
<section className="flex flex-col gap-4 justify-between dark:bg-immich-dark-gray bg-immich-gray dark:border-0 border-gray-200 border border-solid rounded-2xl p-4"> | ||
<div className="flex flex-col gap-2"> | ||
<p className="m-0 items-start flex gap-2"> | ||
<span>{title}</span> | ||
</p> | ||
|
||
<p className="m-0 text-sm text-gray-600 dark:text-gray-300">{description}</p> | ||
<p className="m-0 text-sm text-gray-600 dark:text-gray-300"> | ||
<a href={url}>{url}</a> | ||
</p> | ||
</div> | ||
<div className="flex"> | ||
<Link | ||
className="px-4 py-2 bg-immich-primary/10 dark:bg-gray-300 rounded-full hover:no-underline text-immich-primary dark:text-immich-dark-bg font-bold uppercase" | ||
to={url} | ||
> | ||
View Guide | ||
</Link> | ||
</div> | ||
</section> | ||
); | ||
} | ||
|
||
export default function CommunityGuides(): JSX.Element { | ||
return ( | ||
<div className="grid grid-cols-1 xl:grid-cols-2 gap-4"> | ||
{guides.map((guides) => ( | ||
<CommunityGuide {...guides} /> | ||
))} | ||
</div> | ||
); | ||
} |