Skip to content

Commit f71d4e9

Browse files
committed
Updated the the footer styles
1 parent 99bbeef commit f71d4e9

File tree

2 files changed

+44
-21
lines changed

2 files changed

+44
-21
lines changed

next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
/// <reference types="next/image-types/global" />
33

44
// NOTE: This file should not be edited
5-
// see https://nextjs.org/docs/basic-features/typescript for more information.
5+
// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.

theme.config.tsx

Lines changed: 43 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -45,27 +45,50 @@ const config: DocsThemeConfig = {
4545
docsRepositoryBase: "https://github.com/ethereum-optimism/docs/blob/main/",
4646
footer: {
4747
text: (
48-
<div
49-
style={{
50-
display: "flex",
51-
justifyContent: "flex-end",
52-
alignItems: "center",
53-
padding: "0 1rem",
54-
fontSize: ".7rem",
55-
marginTop: "0",
56-
width: "100%",
57-
boxSizing: "border-box",
58-
lineHeight: "1",
59-
gap: "1rem",
60-
textDecoration: "none",
61-
}}
62-
>
63-
<a href="https://optimism.io/terms">Terms of Service</a>
64-
<a href="https://optimism.io/community-agreement">Community Agreement</a>
65-
<a href="https://optimism.io/data-privacy-policy">Privacy Policy</a>
48+
<div style={{
49+
display: "flex",
50+
justifyContent: "space-between",
51+
alignItems: "center",
52+
padding: "1rem 2rem",
53+
color: "#666",
54+
width: "100%",
55+
fontSize: "0.875rem"
56+
}}>
57+
<div>© 2025 Optimism Foundation. All rights reserved.</div>
58+
59+
<div style={{ display: "flex", gap: "2rem" }}>
60+
<a href="https://optimism.io/community-agreement" style={{ color: "#666", textDecoration: "none" }}>
61+
Optimism Community Agreement
62+
</a>
63+
<a href="https://optimism.io/terms" style={{ color: "#666", textDecoration: "none" }}>
64+
Terms of Service
65+
</a>
66+
<a href="https://optimism.io/data-privacy-policy" style={{ color: "#666", textDecoration: "none" }}>
67+
Privacy Policy
68+
</a>
69+
</div>
70+
71+
<div style={{ display: "flex", gap: "1rem" }}>
72+
<a href="https://discord.gg/optimism" style={{ color: "#666" }}>
73+
<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor">
74+
<path d="M19.27 5.33C17.94 4.71 16.5 4.26 15 4a.09.09 0 0 0-.07.03c-.18.33-.39.76-.53 1.09a16.09 16.09 0 0 0-4.8 0c-.14-.34-.35-.76-.54-1.09-.01-.02-.04-.03-.07-.03-1.5.26-2.93.71-4.27 1.33-.01 0-.02.01-.03.02-2.72 4.07-3.47 8.03-3.1 11.95 0 .02.01.04.03.05 1.8 1.32 3.53 2.12 5.24 2.65.03.01.06 0 .07-.02.4-.55.76-1.13 1.07-1.74.02-.04 0-.08-.04-.09-.57-.22-1.11-.48-1.64-.78-.04-.02-.04-.08-.01-.11.11-.08.22-.17.33-.25.02-.02.05-.02.07-.01 3.44 1.57 7.15 1.57 10.55 0 .02-.01.05-.01.07.01.11.09.22.17.33.26.04.03.04.09-.01.11-.52.31-1.07.56-1.64.78-.04.01-.05.06-.04.09.32.61.68 1.19 1.07 1.74.03.02.06.03.09.02 1.72-.53 3.45-1.33 5.25-2.65.02-.01.03-.03.03-.05.44-4.53-.73-8.46-3.1-11.95-.01-.01-.02-.02-.04-.02zM8.52 14.91c-1.03 0-1.89-.95-1.89-2.12s.84-2.12 1.89-2.12c1.06 0 1.9.96 1.89 2.12 0 1.17-.84 2.12-1.89 2.12zm6.97 0c-1.03 0-1.89-.95-1.89-2.12s.84-2.12 1.89-2.12c1.06 0 1.9.96 1.89 2.12 0 1.17-.83 2.12-1.89 2.12z"/>
75+
</svg>
76+
</a>
77+
<a href="https://twitter.com/optimism" style={{ color: "#666" }}>
78+
<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor">
79+
<path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/>
80+
</svg>
81+
</a>
82+
<a href="https://github.com/ethereum-optimism/docs/" style={{ color: "#666" }}>
83+
<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor">
84+
<path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/>
85+
</svg>
86+
</a>
87+
</div>
6688
</div>
67-
),
68-
},
89+
)
90+
},
91+
6992

7093

7194

0 commit comments

Comments
 (0)