Skip to content

Commit 8b7ba79

Browse files
committed
redirecting to learn
1 parent 1a5b1ff commit 8b7ba79

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

Diff for: docusaurus.config.js

+12-11
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
const path = require('path');
22

33
module.exports = {
4+
clientModules: ['./redirect.js'],
45
title: 'The Home of Redis Developers',
56
tagline:
67
'Learn all the best practices to get up and running with Redis in no time. Get started and discover the power of Redis, whether on your local machines or in the cloud.',
@@ -181,7 +182,7 @@ module.exports = {
181182
name: 'Tugdual Grall',
182183
title: 'Former Technical Marketing Manager at Redis',
183184
image: 'profile_pic_tugdual_grall.png',
184-
}
185+
},
185186
},
186187
},
187188
themeConfig:
@@ -202,7 +203,7 @@ module.exports = {
202203
'elixir',
203204
'groovy',
204205
'sql',
205-
'typescript'
206+
'typescript',
206207
],
207208
},
208209

@@ -298,14 +299,14 @@ module.exports = {
298299
// Useful if you want to support a single color mode
299300
disableSwitch: false,
300301
},
301-
announcementBar: {
302-
id: 'redis-7-2-release', // Any value that will identify this message.
303-
content:
304-
'<div class="announcement-bar"><a href="https://redis.com/blog/introducing-redis-7-2/" target="_blank" rel="noopener"><span>Announcing Redis 7.2 and Enhanced Vector DB</span> <span style="margin-left:1rem">Learn more</span> <span style="margin-left:0.25rem">→</span></a></div>',
305-
backgroundColor: 'rgb(210, 215, 254)', // Defaults to `#fff`.
306-
textColor: 'rgb(22 31 49)', // Defaults to `#000`.
307-
isCloseable: true, // Defaults to `true`.
308-
},
302+
announcementBar: {
303+
id: 'redis-7-2-release', // Any value that will identify this message.
304+
content:
305+
'<div class="announcement-bar"><a href="https://redis.com/blog/introducing-redis-7-2/" target="_blank" rel="noopener"><span>Announcing Redis 7.2 and Enhanced Vector DB</span> <span style="margin-left:1rem">Learn more</span> <span style="margin-left:0.25rem">→</span></a></div>',
306+
backgroundColor: 'rgb(210, 215, 254)', // Defaults to `#fff`.
307+
textColor: 'rgb(22 31 49)', // Defaults to `#000`.
308+
isCloseable: true, // Defaults to `true`.
309+
},
309310
}),
310311
presets: [
311312
[
@@ -354,5 +355,5 @@ module.exports = {
354355
plugins: [
355356
'docusaurus-plugin-sass',
356357
path.resolve(__dirname, 'plugins', 'gtm'),
357-
]
358+
],
358359
};

0 commit comments

Comments
 (0)