Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

styling

Vasek Mlejnskyaeb24fbf8f2a
diff --git a/components/DashboardHome.tsx b/components/DashboardHome.tsx
index 5ab8c27d4..44a4a9f70 100644
--- a/components/DashboardHome.tsx
+++ b/components/DashboardHome.tsx
@@ -5,7 +5,7 @@ import { useSupabaseClient } from '@supabase/auth-helpers-react'
import { deployments, projects } from 'db/prisma'
import AgentList from 'components/AgentList'
import AgentRunsList from 'components/AgentRunsList'
-import AgentLogFilesList from 'components/AgentLogsList'
+import AgentLogFilesList from 'components/AgentLogFilesList'
import { LogFile } from 'utils/agentLogs'
diff --git a/pages/log/[logFileID].tsx b/pages/log/[logFileID].tsx
index bbec39b36..e8cc393da 100644
--- a/pages/log/[logFileID].tsx
+++ b/pages/log/[logFileID].tsx
@@ -3,6 +3,9 @@ import type { GetServerSideProps } from 'next'
import { createServerSupabaseClient } from '@supabase/auth-helpers-nextjs'
import type { ParsedUrlQuery } from 'querystring'
+
+import Link from 'next/link'
+
import { prisma } from 'db/prisma'
import { serverCreds } from 'db/credentials'
@@ -113,8 +116,14 @@ export interface Props {
function LogFile({ logFile }: Props) {
return (
<main className="overflow-hidden flex flex-col max-h-full">
- <header className="flex items-center justify-between p-4 sm:p-6 lg:px-8">
- <h1 className="text-2xl font-semibold leading-7 text-white">Logs</h1>
+ <header className="flex items-center space-x-2 p-4 sm:p-6 lg:px-8">
+ <Link
+ href="/?view=logs"
+ >
+ <h1 className="text-2xl font-semibold leading-7 text-[#6366F1]">Log Files</h1>
+ </Link>
+ <h1 className="text-2xl font-semibold leading-7 text-[#6366F1]">/</h1>
+ <h1 className="text-2xl font-semibold leading-7 text-white font-mono">{logFile.name}</h1>
</header>
<div className="flex flex-col space-y-4">