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).

-

+

Frequently Asked Questions -

-