Skip to content

Commit 85afe6d

Browse files
authored
DOCS-1240 - Add Google Translate widget to the home page (#6016)
* Add Google Translate to home page * Change announcement bar back
1 parent bf002c9 commit 85afe6d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docusaurus.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,7 @@ module.exports = {
259259
],
260260
announcementBar: {
261261
id: 'domain',
262-
content: 'Google Translate is down for maintenance.',
263-
// content: '🚀 <a href="https://www.sumologic.com/events/aws-reinvent">Join us at AWS re:Invent 2025 in Las Vegas, Dec 1-5</a>! Stop by Booth #1329 to see Sumo Logic Dojo AI in action and connect with our experts.',
262+
content: '🚀 <a href="https://www.sumologic.com/events/aws-reinvent">Join us at AWS re:Invent 2025 in Las Vegas, Dec 1-5</a>! Stop by Booth #1329 to see Sumo Logic Dojo AI in action and connect with our experts.',
264263
backgroundColor: '#e4b0d1',
265264
textColor: '#000',
266265
},

src/pages/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import SumoLogicDocsLogo from '../../static/img/reuse/sumo-logic-docs.svg';
99
import { Feature } from '../components/Feature';
1010
import { features } from '../helper/features';
1111
import ErrorBoundary from '../components/ErrorBoundary';
12+
import GoogleTranslateNavbarItem from '../theme/NavbarItem/GoogleTranslateNavbarItem';
1213

1314
export const Home = () => {
1415
const [tab, setTab] = useState('0');
@@ -61,6 +62,7 @@ export const Home = () => {
6162
}}
6263
width='100%'
6364
/>
65+
<GoogleTranslateNavbarItem/>
6466
</Typography>
6567

6668
{/* Hero */}

0 commit comments

Comments
 (0)