feat(web): workflow automation ui

This commit is contained in:
Alex
2024-04-07 19:18:49 -05:00
parent 4b622e6cfa
commit e0d15c96f1
7 changed files with 130 additions and 1 deletions
@@ -0,0 +1,15 @@
<script lang="ts">
import UserPageLayout from '$lib/components/layouts/user-page-layout.svelte';
import WorkflowEditor from '$lib/components/workflow-page/workflow-editor.svelte';
import WorkflowList from '$lib/components/workflow-page/workflow-list.svelte';
import type { PageData } from './$types';
export let data: PageData;
</script>
<UserPageLayout title={data.meta.title}>
<section class="grid grid-cols-[400px_1fr] h-full">
<WorkflowList />
<WorkflowEditor />
</section>
</UserPageLayout>
+12
View File
@@ -0,0 +1,12 @@
import { authenticate } from '$lib/utils/auth';
import type { PageLoad } from './$types';
export const load = (async () => {
await authenticate();
return {
meta: {
title: 'Workflows',
},
};
}) satisfies PageLoad;