Skip to content

Commit cb36b3b

Browse files
docs: add favicon and mobile styling (#3650)
# What does this PR do? * Adds favicon * Replaces old llama-stack theme image * Adds some mobile styling ## Test Plan * Manual testing
1 parent 267f658 commit cb36b3b

File tree

10 files changed

+80
-0
lines changed

10 files changed

+80
-0
lines changed

docs/docusaurus.config.ts

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,50 @@ const config: Config = {
1515
onBrokenMarkdownLinks: "warn",
1616
favicon: "img/favicon.ico",
1717

18+
// Enhanced favicon and meta configuration
19+
headTags: [
20+
{
21+
tagName: 'link',
22+
attributes: {
23+
rel: 'icon',
24+
type: 'image/png',
25+
sizes: '32x32',
26+
href: '/img/favicon-32x32.png',
27+
},
28+
},
29+
{
30+
tagName: 'link',
31+
attributes: {
32+
rel: 'icon',
33+
type: 'image/png',
34+
sizes: '16x16',
35+
href: '/img/favicon-16x16.png',
36+
},
37+
},
38+
{
39+
tagName: 'link',
40+
attributes: {
41+
rel: 'apple-touch-icon',
42+
sizes: '180x180',
43+
href: '/img/llama-stack-logo.png',
44+
},
45+
},
46+
{
47+
tagName: 'meta',
48+
attributes: {
49+
name: 'theme-color',
50+
content: '#7C3AED', // Purple color from your logo
51+
},
52+
},
53+
{
54+
tagName: 'link',
55+
attributes: {
56+
rel: 'manifest',
57+
href: '/site.webmanifest',
58+
},
59+
},
60+
],
61+
1862
// GitHub pages deployment config.
1963
organizationName: 'reluctantfuturist',
2064
projectName: 'llama-stack',

docs/static/img/favicon-16x16.png

657 Bytes
Loading

docs/static/img/favicon-32x32.png

1.86 KB
Loading

docs/static/img/favicon-48x48.png

3.29 KB
Loading

docs/static/img/favicon-64x64.png

4.94 KB
Loading

docs/static/img/favicon.ico

679 Bytes
Binary file not shown.

docs/static/img/favicon.png

1.86 KB
Loading

docs/static/img/llama-stack.png

125 KB
Loading

docs/static/llama-stack.png

-196 KB
Binary file not shown.

docs/static/site.webmanifest

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"name": "Llama Stack",
3+
"short_name": "Llama Stack",
4+
"description": "The open-source framework for building generative AI applications",
5+
"start_url": "/",
6+
"display": "standalone",
7+
"theme_color": "#7C3AED",
8+
"background_color": "#ffffff",
9+
"icons": [
10+
{
11+
"src": "/img/favicon-16x16.png",
12+
"sizes": "16x16",
13+
"type": "image/png"
14+
},
15+
{
16+
"src": "/img/favicon-32x32.png",
17+
"sizes": "32x32",
18+
"type": "image/png"
19+
},
20+
{
21+
"src": "/img/favicon-48x48.png",
22+
"sizes": "48x48",
23+
"type": "image/png"
24+
},
25+
{
26+
"src": "/img/favicon-64x64.png",
27+
"sizes": "64x64",
28+
"type": "image/png"
29+
},
30+
{
31+
"src": "/img/llama-stack-logo.png",
32+
"sizes": "200x200",
33+
"type": "image/png"
34+
}
35+
]
36+
}

0 commit comments

Comments
 (0)