mirror of
https://github.com/documenso/documenso.git
synced 2026-08-25 15:52:29 +10:00
feat: add custom brand colours to emails (#3005)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import { redirect } from 'react-router';
|
||||
|
||||
import { templates } from '../lib/templates';
|
||||
|
||||
/**
|
||||
* The index has no UI of its own — redirect to the first template so the
|
||||
* preview always opens on something.
|
||||
*/
|
||||
export const loader = () => {
|
||||
const firstSlug = Object.keys(templates)[0];
|
||||
|
||||
return redirect(`/${firstSlug}`);
|
||||
};
|
||||
Reference in New Issue
Block a user