History

fix build

Rhys Sullivan committed 8 months ago

Commit bcdff4d1 parent 7b9d40e4 files · +51 −6Browse files

Showing the changes to apps/web/src (1 of 4 files). Show all

Unified · Split

apps/web/src/components/shell.tsx+19−3
@@ -15,8 +15,16 @@ const statusColor: Record<string, string> = { · 14 unmodified lines
15 error: "bg-destructive",15 error: "bg-destructive",
16};16};
17 17
18// ── AppShell ─────────────────────────────────────────────────────────────18type AppMetaEnv = {
19 readonly VITE_APP_VERSION: string;
20 readonly VITE_GITHUB_URL: string;
21};
19 22
23const { VITE_APP_VERSION, VITE_GITHUB_URL } = (import.meta as ImportMeta & {
24 readonly env: AppMetaEnv;
25}).env;
26
27// ── AppShell ─────────────────────────────────────────────────────────────
20export function AppShell() {28export function AppShell() {
21 const sources = useSources();29 const sources = useSources();
22 const matchRoute = useMatchRoute();30 const matchRoute = useMatchRoute();
@@ -75,8 +83,16 @@ export function AppShell() { · 52 unmodified lines
75 83
76 {/* Footer */}84 {/* Footer */}
77 <div className="shrink-0 border-t border-sidebar-border px-4 py-2.5">85 <div className="shrink-0 border-t border-sidebar-border px-4 py-2.5">
78 <div className="text-[10px] text-muted-foreground/30">86 <div className="flex flex-col items-start gap-1 text-[10px] leading-none">
79 executor v387 <span className="text-muted-foreground/35">v{VITE_APP_VERSION}</span>
88 <a
89 href={VITE_GITHUB_URL}
90 target="_blank"
91 rel="noreferrer"
92 className="text-muted-foreground/50 transition-colors hover:text-foreground"
93 >
94 Star on GitHub
95 </a>
80 </div>96 </div>
81 </div>97 </div>
82 </aside>98 </aside>

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t