From c03ea772f669f9b89eac5dd8a28aa49f08600e8e Mon Sep 17 00:00:00 2001
From: Ollie <69084614+olijeffers0n@users.noreply.github.com>
Date: Sat, 20 Jan 2024 18:56:18 +0000
Subject: [PATCH 1/2] Fix vercel attribution for hosting
---
config/footer.config.ts | 2 +-
src/css/custom.css | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/config/footer.config.ts b/config/footer.config.ts
index 8a5b1f92d..1e68d04aa 100644
--- a/config/footer.config.ts
+++ b/config/footer.config.ts
@@ -47,7 +47,7 @@ const footer: Footer = {
],
},
],
- copyright: `Copyright © ${new Date().getFullYear()} PaperMC and Contributors. Built with Docusaurus. Powered by ▲ Vercel`,
+ copyright: `Copyright © ${new Date().getFullYear()} PaperMC and Contributors. Built with Docusaurus.
`,
};
export default footer;
diff --git a/src/css/custom.css b/src/css/custom.css
index 31ceaf375..6ca0a1b53 100644
--- a/src/css/custom.css
+++ b/src/css/custom.css
@@ -95,6 +95,8 @@ html[data-theme="dark"] {
.footer__copyright {
color: var(--ifm-color-emphasis-900);
font-size: 95%;
+ display: flex;
+ flex-direction: column;
}
.footer__col {
From 3c91ce0f8662ca7eb6754ca6d645e443abf0f1b3 Mon Sep 17 00:00:00 2001
From: Ollie <69084614+olijeffers0n@users.noreply.github.com>
Date: Sat, 20 Jan 2024 20:04:33 +0000
Subject: [PATCH 2/2] Move image to repo and decrease padding
---
README.md | 2 +-
config/footer.config.ts | 2 +-
static/img/powered-by-vercel.svg | 6 ++++++
3 files changed, 8 insertions(+), 2 deletions(-)
create mode 100644 static/img/powered-by-vercel.svg
diff --git a/README.md b/README.md
index e37bebc5f..18bf12018 100644
--- a/README.md
+++ b/README.md
@@ -61,4 +61,4 @@ inherit a license from any of the projects it represents.
## Special Thanks
Preview and production hosting for this project has been provided for free by [Vercel]. Thank you!
-[][vercel]
+[][vercel]
diff --git a/config/footer.config.ts b/config/footer.config.ts
index 1e68d04aa..9c2ac3a4f 100644
--- a/config/footer.config.ts
+++ b/config/footer.config.ts
@@ -47,7 +47,7 @@ const footer: Footer = {
],
},
],
- copyright: `Copyright © ${new Date().getFullYear()} PaperMC and Contributors. Built with Docusaurus.
`,
+ copyright: `Copyright © ${new Date().getFullYear()} PaperMC and Contributors. Built with Docusaurus.
`,
};
export default footer;
diff --git a/static/img/powered-by-vercel.svg b/static/img/powered-by-vercel.svg
new file mode 100644
index 000000000..877828684
--- /dev/null
+++ b/static/img/powered-by-vercel.svg
@@ -0,0 +1,6 @@
+