site title at the top of the layout; more verbose "welcome" page
This commit is contained in:
@@ -7,6 +7,7 @@ import {
|
|||||||
Image,
|
Image,
|
||||||
MantineProvider,
|
MantineProvider,
|
||||||
NavLink,
|
NavLink,
|
||||||
|
Title,
|
||||||
} from "@mantine/core";
|
} from "@mantine/core";
|
||||||
import {
|
import {
|
||||||
IconHome2,
|
IconHome2,
|
||||||
@@ -21,7 +22,6 @@ import {
|
|||||||
import { useDisclosure } from "@mantine/hooks";
|
import { useDisclosure } from "@mantine/hooks";
|
||||||
import theme from "./theme.js";
|
import theme from "./theme.js";
|
||||||
import logoUrl from "../assets/logo.png";
|
import logoUrl from "../assets/logo.png";
|
||||||
import { useStore } from "../state.js";
|
|
||||||
import { useState } from "react";
|
import { useState } from "react";
|
||||||
import { TRPCProvider, useTRPC } from "../trpc/client.js";
|
import { TRPCProvider, useTRPC } from "../trpc/client.js";
|
||||||
import { usePageContext } from "vike-react/usePageContext";
|
import { usePageContext } from "vike-react/usePageContext";
|
||||||
@@ -120,6 +120,7 @@ export default function LayoutDefault({
|
|||||||
{" "}
|
{" "}
|
||||||
<Image h={50} fit="contain" src={logoUrl} />{" "}
|
<Image h={50} fit="contain" src={logoUrl} />{" "}
|
||||||
</a>
|
</a>
|
||||||
|
<Title>Token-Efficient Context Engineering</Title>
|
||||||
</Group>
|
</Group>
|
||||||
</AppShell.Header>
|
</AppShell.Header>
|
||||||
<AppShell.Navbar p="md">
|
<AppShell.Navbar p="md">
|
||||||
|
|||||||
+11
-7
@@ -1,11 +1,15 @@
|
|||||||
|
import { Container, Stack, Title } from "@mantine/core";
|
||||||
|
|
||||||
export default function Page() {
|
export default function Page() {
|
||||||
return (
|
return (
|
||||||
<>
|
<Stack align="center">
|
||||||
<h1
|
<Title>Welcome</Title>
|
||||||
css={{ fontWeight: "700", fontSize: "1.875rem", paddingBottom: "1rem" }}
|
<Container>
|
||||||
>
|
This web app is a proof-of-concept for token-efficient context
|
||||||
Token-Efficient Context Engineering
|
engineering. The premise is that upon every turn of a chat, the backend
|
||||||
</h1>
|
generates a running summary of the conversation based on the previous
|
||||||
</>
|
running summary and the new messages.
|
||||||
|
</Container>
|
||||||
|
</Stack>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user