Skip to content

Commit

Permalink
add langsmith course banner
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanushree Sharma authored and Tanushree Sharma committed Dec 13, 2024
1 parent 79c9d07 commit f73053d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const prism = require("prism-react-renderer");
const baseLightCodeBlockTheme = prism.themes.vsLight;
const baseDarkCodeBlockTheme = prism.themes.vsDark;


/** @type {import('@docusaurus/types').Config} */
const config = {
title: "🦜️🛠️ LangSmith",
Expand Down Expand Up @@ -105,6 +106,10 @@ const config = {
disableSwitch: false,
respectPrefersColorScheme: true,
},
announcementBar: {
content:
'Learn the essentials of LangSmith in the new Introduction to LangSmith course! <a href="https://academy.langchain.com/courses/intro-to-langsmith" target="_blank" rel="noopener noreferrer"> Enroll for free. </a>',
},
prism: {
theme: {
...baseLightCodeBlockTheme,
Expand Down
5 changes: 5 additions & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -351,3 +351,8 @@ hr {
background-color: var(--joy-palette-background-level2) !important;
}

div[class^='announcementBar_'] {
font-size: 20px;
background-color: #d0c9feff;
font-weight: bold;
}

0 comments on commit f73053d

Please sign in to comment.