File tree Expand file tree Collapse file tree 4 files changed +10
-33
lines changed
Expand file tree Collapse file tree 4 files changed +10
-33
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ const typeDocConfig: StarlightTypeDocOptions['typeDoc'] = {
3636 private : true ,
3737 external : false ,
3838 } ,
39- } ;
39+ }
4040
4141const sidebar = [
4242 { label : 'Overview' , link : '/' } ,
@@ -119,6 +119,13 @@ export default defineConfig({
119119 Sidebar : './src/components/Sidebar.astro' ,
120120 MobileMenuFooter : './src/components/MobileFooter.astro' ,
121121 } ,
122+ social : [
123+ {
124+ icon : 'github' ,
125+ label : 'ChatKit.js' ,
126+ href : 'https://github.com/openai/chatkit-js' ,
127+ } ,
128+ ] ,
122129 locales : {
123130 root : {
124131 label : 'English' ,
Original file line number Diff line number Diff line change 11---
2- import { Icon } from ' @astrojs/starlight/components' ;
32import LanguageSelect from ' @astrojs/starlight/components/LanguageSelect.astro' ;
4- import SocialIcons from ' @astrojs/ starlight/components/SocialIcons.astro ' ;
3+ import SocialIcons from ' virtual: starlight/components/SocialIcons' ;
54import ThemeSelect from ' @astrojs/starlight/components/ThemeSelect.astro' ;
6- import { ParseStatus } from ' astro:schema' ;
7-
8- const additionalLinks = [
9- {
10- label: ' Chatkit.js' ,
11- href: ' https://github.com/openai/chatkit-js' ,
12- icon: ' github' as const ,
13- },
14- ];
155---
166
177<div class =" mobile-preferences sl-flex" >
188 <div class =" social-icons" >
199 <SocialIcons />
20- {
21- additionalLinks .map (({ label , href , icon }) => (
22- <a { href } target = " _blank" rel = " noopener noreferrer" class = " sl-flex" >
23- <Icon name = { icon as any } />
24- <span >{ label } </span >
25- </a >
26- ))
27- }
2810 </div >
2911 <ThemeSelect />
3012 <LanguageSelect />
@@ -61,12 +43,6 @@ const additionalLinks = [
6143 font-size: var(--sl-text-sm);
6244 margin-inline-start: 0.3rem;
6345 }
64-
65- @media (max-width: 72rem) {
66- span {
67- @apply sr-only;
68- }
69- }
7046 }
7147 a:hover {
7248 opacity: 0.66;
Original file line number Diff line number Diff line change @@ -31,12 +31,6 @@ const links = config.social || [];
3131 font-size: var(--sl-text-sm);
3232 margin-inline-start: 0.3rem;
3333 }
34-
35- @media (max-width: 72rem) {
36- span {
37- @apply sr-only;
38- }
39- }
4034 }
4135 a:hover {
4236 opacity: 0.66;
Original file line number Diff line number Diff line change 11---
2- title : OpenAI Agent Embeds
2+ title : ChatKit.js
33description : Embed ChatKit in your app using React or the Web Component.
44tableOfContents : false
55---
You can’t perform that action at this time.
0 commit comments