Skip to content

Commit 7bceb47

Browse files
authored
feat(website): landing logo images. (#1795)
1 parent 89d2722 commit 7bceb47

3 files changed

Lines changed: 14 additions & 9 deletions

File tree

website/src/content/docs/llm/_meta.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { MetaRecord } from "nextra";
22

33
export default {
4-
application: "application() functions",
4+
application: "application() function",
55
structuredOutput: "structuredOutput() function",
66
parameters: "parameters() function",
77
schema: "schema() function",

website/src/content/docs/llm/http.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ registerMcpControllers({
217217

218218
## Validation Feedback
219219

220-
When used through [MCP](../mcp), [Vercel AI SDK](../vercel), or [Agentica](../chat), `HttpLlm.controller()` embeds [`typia.validate<T>()`](/docs/validators/validate) in every tool for automatic argument validation. When validation fails, the error is returned as text content with inline `// ❌` comments at each invalid property:
220+
When used through [MCP](/docs/llm/mcp), [Vercel AI SDK](/docs/llm/vercel), or [Agentica](/docs/llm/chat), `HttpLlm.controller()` embeds [`typia.validate<T>()`](/docs/validators/validate) in every tool for automatic argument validation. When validation fails, the error is returned as text content with inline `// ❌` comments at each invalid property:
221221

222222
```json
223223
{
@@ -325,6 +325,6 @@ LLMs frequently return wrong types — numbers as strings, booleans as strings,
325325

326326
Some LLM SDKs (Anthropic, Vercel AI, LangChain, MCP) parse JSON internally and return JavaScript objects directly. In these cases, use `IHttpLlmFunction.coerce()` instead of `IHttpLlmFunction.parse()` to fix types without re-parsing.
327327

328-
For more details, see [JSON Utilities](../json).
328+
For more details, see [JSON Utilities](/docs/llm/json).
329329
</Callout>
330330

website/src/movies/HomeStrengthMovie.tsx

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ interface FeatureCardProps {
1515

1616
const features: FeatureCardProps[] = [
1717
{
18-
icon: "",
18+
icon: "/favicon/android-chrome-512x512.png",
1919
title: "Super-fast Validation",
2020
code: { method: "validate", argument: true },
2121
metric: "20,000x faster",
@@ -25,7 +25,7 @@ const features: FeatureCardProps[] = [
2525
href: "/docs/validators/validate",
2626
},
2727
{
28-
icon: "🔄",
28+
icon: "/images/home/json.png",
2929
title: "JSON Serialization",
3030
code: { namespace: "json", method: "stringify", argument: true },
3131
metric: "200x faster",
@@ -35,7 +35,7 @@ const features: FeatureCardProps[] = [
3535
href: "/docs/json/stringify",
3636
},
3737
{
38-
icon: "🤖",
38+
icon: "/images/home/openai.svg",
3939
title: "LLM Function Calling",
4040
code: { namespace: "llm", method: "application", template: "App", argument: false },
4141
metric: "6.75% → 100%",
@@ -45,7 +45,7 @@ const features: FeatureCardProps[] = [
4545
href: "/docs/llm/application",
4646
},
4747
{
48-
icon: "📦",
48+
icon: "/images/home/protobuf.png",
4949
title: "Protocol Buffers",
5050
code: { namespace: "protobuf", method: "encode", argument: true },
5151
metric: "Full Spec",
@@ -55,7 +55,7 @@ const features: FeatureCardProps[] = [
5555
href: "/docs/protobuf/encode",
5656
},
5757
{
58-
icon: "🎲",
58+
icon: "/images/home/random.png",
5959
title: "Random Generator",
6060
code: { method: "random", argument: false },
6161
metric: "Universal",
@@ -86,7 +86,12 @@ const FeatureCard = (props: FeatureCardProps) => (
8686
sx={{ height: "100%", display: "flex", flexDirection: "column", alignItems: "flex-start", p: 0 }}
8787
>
8888
<CardContent sx={{ p: 3, width: "100%" }}>
89-
<Typography sx={{ fontSize: "2rem", mb: 1.5 }}>{props.icon}</Typography>
89+
<Box
90+
component="img"
91+
src={props.icon}
92+
alt={props.title}
93+
sx={{ height: 72, width: 72, objectFit: "contain", mb: 2 }}
94+
/>
9095
<Typography
9196
variant="h6"
9297
sx={{ fontWeight: 700, fontSize: "1.05rem", mb: 0.5, color: "rgba(255,255,255,0.95)" }}

0 commit comments

Comments
 (0)