From a1fb9329c025af7987f9e0c5760d80067168fbb4 Mon Sep 17 00:00:00 2001 From: Ananth Venkatesh <46249765+quantum9Innovation@users.noreply.github.com> Date: Wed, 14 Feb 2024 22:07:51 +0000 Subject: [PATCH 1/4] 'Whitepaper' is a single word --- src/app/components/Badges.tsx | 4 ++-- src/app/components/RandomDocs.tsx | 4 ++-- src/app/components/RecentDocuments.tsx | 4 ++-- src/app/db/data.ts | 14 +++++++------- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/app/components/Badges.tsx b/src/app/components/Badges.tsx index a347a87..b722625 100644 --- a/src/app/components/Badges.tsx +++ b/src/app/components/Badges.tsx @@ -40,8 +40,8 @@ export const ItemBadge = ({ text = 'Presentation' itemStyle = 'badge-presentation' break - case 'white paper': - text = 'White Paper' + case 'whitepaper': + text = 'Whitepaper' itemStyle = 'badge-white-paper' break case 'datasheet': diff --git a/src/app/components/RandomDocs.tsx b/src/app/components/RandomDocs.tsx index 0f492d9..251a14e 100644 --- a/src/app/components/RandomDocs.tsx +++ b/src/app/components/RandomDocs.tsx @@ -32,8 +32,8 @@ const RandomDocs = (): React.ReactNode[] => { case 'presentation': typeString = 'presentation' break - case 'white paper': - typeString = 'white paper' + case 'whitepaper': + typeString = 'whitepaper' break case 'datasheet': typeString = 'datasheet' diff --git a/src/app/components/RecentDocuments.tsx b/src/app/components/RecentDocuments.tsx index d12dabd..af06d91 100644 --- a/src/app/components/RecentDocuments.tsx +++ b/src/app/components/RecentDocuments.tsx @@ -39,8 +39,8 @@ const RecentDocuments = (): React.ReactNode[] => { case 'presentation': typeString = 'presentation' break - case 'white paper': - typeString = 'white paper' + case 'whitepaper': + typeString = 'whitepaper' break case 'datasheet': typeString = 'datasheet' diff --git a/src/app/db/data.ts b/src/app/db/data.ts index 482db35..8232673 100644 --- a/src/app/db/data.ts +++ b/src/app/db/data.ts @@ -6,7 +6,7 @@ documents { title: string authors: string[] date: unix epoch integer[] -> if multiple revisions, put the earlier dates first - type: presentation | report | white paper | other + type: presentation | report | whitepaper | other latest: integer >= 1 -> the latest revision of the document (earliest = 1) keywords: string[] topics: string[] @@ -30,7 +30,7 @@ export type FileType = 'pdf' | 'docx' | 'pptx' | 'tar.gz' | 'other' export type DocumentType = | 'presentation' | 'report' - | 'white paper' + | 'whitepaper' | 'dwm' | 'datasheet' | 'guide' @@ -223,7 +223,7 @@ export const documents: Readonly<{ [key: string]: Document }> = { 'programming team', 'eecs', 'whitepaper', - 'white paper', + 'whitepaper', 'engineering', 'design', 'electrical', @@ -238,7 +238,7 @@ export const documents: Readonly<{ [key: string]: Document }> = { 'sensing', 'collision', ], - type: 'white paper', + type: 'whitepaper', topics: ['ai', 'frc', 'eecs'], latest: 2, status: 'under review', @@ -282,16 +282,16 @@ On Day 1 we will discuss the ins and outs of the robot. The Electrical Sub team }, 'eexiv-white-paper': { manifest: { - title: 'eeXiv White Paper', + title: 'eeXiv Whitepaper', authors: ['ywu', 'avenkatesh'], topics: ['eecs', 'frc'], dates: [1707811359, 1707891311], - type: 'white paper', + type: 'whitepaper', latest: 2, status: 'under review', keywords: [ 'eexiv', - 'white paper', + 'whitepaper', 'paper repository', 'arxiv', 'proposal', From 717b676ab41590e184ccef386e0e64b19f979154 Mon Sep 17 00:00:00 2001 From: Ananth Venkatesh <46249765+quantum9Innovation@users.noreply.github.com> Date: Wed, 14 Feb 2024 22:09:50 +0000 Subject: [PATCH 2/4] Fix about page layout --- src/app/about/page.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/about/page.tsx b/src/app/about/page.tsx index 4c0de36..0b89482 100644 --- a/src/app/about/page.tsx +++ b/src/app/about/page.tsx @@ -17,10 +17,10 @@ export default function Page() { {' '} under the GNU General Public License (GPL).
-eeXiv{' '} {`is a project hosted by Team 1280 EECS ("Electrical Engineering and diff --git a/src/app/contact/page.tsx b/src/app/contact/page.tsx index a6ae8fd..96ebe65 100644 --- a/src/app/contact/page.tsx +++ b/src/app/contact/page.tsx @@ -1,6 +1,7 @@ export default function Page() { return (
You can contact a team representative directly at{' '}
diff --git a/src/app/help/accessibility/accessibility.module.css b/src/app/help/accessibility/accessibility.module.css
deleted file mode 100644
index e69de29..0000000
diff --git a/src/app/help/accessibility/page.tsx b/src/app/help/accessibility/page.tsx
index fd72b36..ab26783 100644
--- a/src/app/help/accessibility/page.tsx
+++ b/src/app/help/accessibility/page.tsx
@@ -1,6 +1,7 @@
export default function Page() {
return (
If you encounter any accessibility-related issues related to your use of
our site, it is likely because of our jank code architecture.
@@ -11,7 +12,9 @@ export default function Page() {
pull request{' '}
on GitHub.
It has also come to our attention that we may not be able to support
low-spec devices such as old phones, computers, or other devices with
diff --git a/src/app/help/page.tsx b/src/app/help/page.tsx
index a57cfcb..d573656 100644
--- a/src/app/help/page.tsx
+++ b/src/app/help/page.tsx
@@ -1,6 +1,7 @@
export default function Page() {
return (
We are always looking for contributors to help us improve eeXiv. If you
are interested in helping, whether as a peer reviewer, external
diff --git a/src/app/legal/copyright/copyright.module.css b/src/app/legal/copyright/copyright.module.css
deleted file mode 100644
index e69de29..0000000
diff --git a/src/app/legal/copyright/page.tsx b/src/app/legal/copyright/page.tsx
index 5cb0508..8c75ebd 100644
--- a/src/app/legal/copyright/page.tsx
+++ b/src/app/legal/copyright/page.tsx
@@ -2,6 +2,7 @@ import Link from 'next/link'
export default function Page() {
return (
All content on this site is licensed under the{' '}
diff --git a/src/app/legal/privacy/page.tsx b/src/app/legal/privacy/page.tsx
index 06febb9..2aa189f 100644
--- a/src/app/legal/privacy/page.tsx
+++ b/src/app/legal/privacy/page.tsx
@@ -1,6 +1,7 @@
export default function Page() {
return (
{`User privacy is important to us. Just kidding. We don't collect any
personal information. We only use it to help us improve eeXiv. Your
diff --git a/src/app/legal/privacy/privacy.module.css b/src/app/legal/privacy/privacy.module.css
deleted file mode 100644
index e69de29..0000000
diff --git a/src/app/status/notifications/page.tsx b/src/app/status/notifications/page.tsx
index 59bf9ee..537d862 100644
--- a/src/app/status/notifications/page.tsx
+++ b/src/app/status/notifications/page.tsx
@@ -1,9 +1,12 @@
+import Link from 'next/link'
+
export default function Page() {
return (
We currently do not have the technical support to implement mailing
- lists in eeXiv. Check status frequently for updates.
+ lists in eeXiv. Check status frequently for updates.
The best way to stay connected with the status of the eeXiv project is
to watch it on GitHub.
+
eeXiv is online. All systems{' '}
operational.
We currently do not have the technical support to implement mailing
lists in eeXiv. Check back later for updates. The best way to stay
diff --git a/src/app/subscribe/subscribe.module.css b/src/app/subscribe/subscribe.module.css
deleted file mode 100644
index e69de29..0000000
From 2ecb4d3b86c260da0d40d4039fc910d15574a1ca Mon Sep 17 00:00:00 2001
From: Ananth Venkatesh <46249765+quantum9Innovation@users.noreply.github.com>
Date: Wed, 14 Feb 2024 22:40:24 +0000
Subject: [PATCH 4/4] Fix link color in news
---
src/app/components/News.tsx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/app/components/News.tsx b/src/app/components/News.tsx
index fab92f0..de807b3 100644
--- a/src/app/components/News.tsx
+++ b/src/app/components/News.tsx
@@ -33,13 +33,13 @@ export default function News() {
eeXiv is currently under active development! There may be major
updates, breaking changes, or weird bugs. Report bugs, suggest new
features, or give us feedback at{' '}
-
+
our issue tracker.
Accessibility
+
+ Supported Hardware
+
Help
Copyright
Privacy Policy
Get status notifications
Status
+ Subscribe