Skip to content

Commit f71f4c1

Browse files
authored
Redesign 2024 updated (#344)
* Applying styling updates from moderne-docs * Restore customizations for navbar * Incorporate updates from Moderne based on feedback * Updates from Moderne Font change and updates to DocCard display.
1 parent cc7e396 commit f71f4c1

File tree

7 files changed

+567
-69
lines changed

7 files changed

+567
-69
lines changed

docusaurus.config.ts

Lines changed: 26 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,31 @@ const config: Config = {
4141
},
4242
innerHTML: JSON.stringify(structuredData),
4343
},
44+
// <link rel="preconnect" href="https://fonts.googleapis.com">
45+
{
46+
tagName: 'link',
47+
attributes: {
48+
rel: 'preconnect',
49+
href: 'https://fonts.googleapis.com',
50+
},
51+
},
52+
// <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
53+
{
54+
tagName: 'link',
55+
attributes: {
56+
rel: 'preconnect',
57+
href: 'https://fonts.gstatic.com',
58+
crossorigin: 'anonymous',
59+
},
60+
},
61+
{
62+
tagName: 'link',
63+
attributes: {
64+
rel: 'stylesheet',
65+
href: 'https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap',
66+
},
67+
},
68+
4469
],
4570
tagline: description,
4671
favicon: "img/favicon.svg",
@@ -103,7 +128,6 @@ const config: Config = {
103128
id: "code_remix",
104129
content:
105130
'Now announcing the inaugural <a href="https://coderemix.ai/"><strong>Code Remix Summit</strong></a> – in Miami May 12th-14th. Use the code <strong>MODERNE3VIP</strong> for an additional $300 off.',
106-
textColor: "#E3F2FD",
107131
},
108132
image: "img/moderne-poster-logo.svg",
109133
colorMode: {
@@ -145,61 +169,7 @@ const config: Config = {
145169
],
146170
},
147171
footer: {
148-
style: "dark",
149-
links: [
150-
{
151-
title: "Docs",
152-
items: [
153-
{
154-
label: "Moderne",
155-
href: "https://docs.moderne.io/",
156-
},
157-
],
158-
},
159-
{
160-
title: "OpenRewrite Community",
161-
items: [
162-
{
163-
label: "Stack Overflow",
164-
href: "https://stackoverflow.com/questions/tagged/openrewrite",
165-
},
166-
{
167-
label: "Slack",
168-
href: "https://join.slack.com/t/rewriteoss/shared_invite/zt-nj42n3ea-b~62rIHzb3Vo0E1APKCXEA",
169-
},
170-
{
171-
label: "Discord",
172-
href: "https://discord.gg/xk3ZKrhWAb",
173-
},
174-
{
175-
label: "Bluesky",
176-
href: "https://bsky.app/profile/openrewrite.github.io",
177-
},
178-
{
179-
label: "X",
180-
href: "https://x.com/OpenRewrite",
181-
}
182-
],
183-
},
184-
{
185-
title: "Moderne",
186-
items: [
187-
{
188-
label: "Moderne.ai",
189-
href: "https://moderne.ai",
190-
},
191-
{
192-
label: "Marketplace",
193-
href: "https://app.moderne.io/marketplace",
194-
},
195-
{
196-
label: "X",
197-
href: "https://twitter.com/ModerneInc",
198-
},
199-
],
200-
},
201-
],
202-
copyright: `Copyright © ${new Date().getFullYear()} Moderne, Inc.`,
172+
copyright: `© Moderne, ${new Date().getFullYear()}`,
203173
},
204174
prism: {
205175
theme: prismThemes.github,

0 commit comments

Comments
 (0)