Spaces:
Running
Running
Commit ·
e314355
1
Parent(s): 8364663
Remove PNG icon dependency
Browse files
apps/ehr/app/layout.tsx
CHANGED
|
@@ -2,7 +2,6 @@ import type { ReactNode } from "react";
|
|
| 2 |
|
| 3 |
import type { Metadata } from "next";
|
| 4 |
import { IBM_Plex_Sans, Source_Serif_4 } from "next/font/google";
|
| 5 |
-
import ehrgymIcon from "../../../ehrgym_icon.png";
|
| 6 |
|
| 7 |
import "./globals.css";
|
| 8 |
|
|
@@ -20,12 +19,7 @@ const bodyFont = Source_Serif_4({
|
|
| 20 |
|
| 21 |
export const metadata: Metadata = {
|
| 22 |
title: "EHRGym",
|
| 23 |
-
description: "Clinical charting workspace for computer-use agents"
|
| 24 |
-
icons: {
|
| 25 |
-
icon: ehrgymIcon.src,
|
| 26 |
-
shortcut: ehrgymIcon.src,
|
| 27 |
-
apple: ehrgymIcon.src
|
| 28 |
-
}
|
| 29 |
};
|
| 30 |
|
| 31 |
export default function RootLayout({ children }: Readonly<{ children: ReactNode }>) {
|
|
|
|
| 2 |
|
| 3 |
import type { Metadata } from "next";
|
| 4 |
import { IBM_Plex_Sans, Source_Serif_4 } from "next/font/google";
|
|
|
|
| 5 |
|
| 6 |
import "./globals.css";
|
| 7 |
|
|
|
|
| 19 |
|
| 20 |
export const metadata: Metadata = {
|
| 21 |
title: "EHRGym",
|
| 22 |
+
description: "Clinical charting workspace for computer-use agents"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
};
|
| 24 |
|
| 25 |
export default function RootLayout({ children }: Readonly<{ children: ReactNode }>) {
|
apps/ehr/components/app-brand.tsx
CHANGED
|
@@ -1,7 +1,5 @@
|
|
| 1 |
-
import Image from "next/image";
|
| 2 |
import Link from "next/link";
|
| 3 |
import type { Route } from "next";
|
| 4 |
-
import ehrgymIcon from "../../../ehrgym_icon.png";
|
| 5 |
|
| 6 |
type AppBrandProps = {
|
| 7 |
title: string;
|
|
@@ -14,7 +12,14 @@ export function AppBrand({ title, subtitle, href = "/", compact = false }: AppBr
|
|
| 14 |
const content = (
|
| 15 |
<>
|
| 16 |
<span className={compact ? "app-brand__logo app-brand__logo--compact" : "app-brand__logo"} aria-hidden="true">
|
| 17 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
</span>
|
| 19 |
<span className={compact ? "app-brand__copy app-brand__copy--compact" : "app-brand__copy"}>
|
| 20 |
<strong>{title}</strong>
|
|
|
|
|
|
|
| 1 |
import Link from "next/link";
|
| 2 |
import type { Route } from "next";
|
|
|
|
| 3 |
|
| 4 |
type AppBrandProps = {
|
| 5 |
title: string;
|
|
|
|
| 12 |
const content = (
|
| 13 |
<>
|
| 14 |
<span className={compact ? "app-brand__logo app-brand__logo--compact" : "app-brand__logo"} aria-hidden="true">
|
| 15 |
+
<svg viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" focusable="false">
|
| 16 |
+
<rect x="3" y="3" width="42" height="42" rx="12" fill="#eef2ff" stroke="#c7d2fe" strokeWidth="2" />
|
| 17 |
+
<path d="M17 16.5H31" stroke="#4338ca" strokeWidth="3" strokeLinecap="round" />
|
| 18 |
+
<path d="M17 24H28" stroke="#4338ca" strokeWidth="3" strokeLinecap="round" />
|
| 19 |
+
<path d="M17 31.5H25" stroke="#4338ca" strokeWidth="3" strokeLinecap="round" />
|
| 20 |
+
<path d="M31.5 18.5V29.5" stroke="#1d4ed8" strokeWidth="3" strokeLinecap="round" />
|
| 21 |
+
<path d="M26 24H37" stroke="#1d4ed8" strokeWidth="3" strokeLinecap="round" />
|
| 22 |
+
</svg>
|
| 23 |
</span>
|
| 24 |
<span className={compact ? "app-brand__copy app-brand__copy--compact" : "app-brand__copy"}>
|
| 25 |
<strong>{title}</strong>
|