Merge branch 'main' of github.com:Team-1280/eeXiv

This commit is contained in:
Youwen Wu 2024-02-14 14:44:13 -08:00
commit 37899116dd
18 changed files with 38 additions and 27 deletions

View file

@ -3,7 +3,7 @@ import Link from 'next/link'
export default function Page() { export default function Page() {
return ( return (
<div className='text-slate-600'> <div className='text-slate-600'>
<h1 className='text-3xl text-slate-800 mt-4 mb-1 font-serif'>About Us</h1> <h1 className='text-3xl text-slate-800 mt-4 mb-2 font-serif'>About Us</h1>
<p> <p>
eeXiv{' '} eeXiv{' '}
{`is a project hosted by Team 1280 EECS ("Electrical Engineering and {`is a project hosted by Team 1280 EECS ("Electrical Engineering and
@ -17,10 +17,10 @@ export default function Page() {
</Link>{' '} </Link>{' '}
under the GNU General Public License (GPL). under the GNU General Public License (GPL).
</p> </p>
<h1 className='text-3xl text-slate-800 mt-6 mb-1 font-serif'> <h2 className='text-2xl text-slate-800 mt-6 mb-1 font-serif'>
Frequently Asked Questions Frequently Asked Questions
</h1> </h2>
<ul className='list-disc'> <ul className='list-disc ml-4 mt-2'>
<li key='1'> <li key='1'>
How can I contribute to research or development on eeXiv (or even just How can I contribute to research or development on eeXiv (or even just
add my profile to the site)? add my profile to the site)?

View file

@ -40,8 +40,8 @@ export const ItemBadge = ({
text = 'Presentation' text = 'Presentation'
itemStyle = 'badge-presentation' itemStyle = 'badge-presentation'
break break
case 'white paper': case 'whitepaper':
text = 'White Paper' text = 'Whitepaper'
itemStyle = 'badge-white-paper' itemStyle = 'badge-white-paper'
break break
case 'datasheet': case 'datasheet':

View file

@ -31,13 +31,13 @@ export default function News() {
eeXiv is currently under active development! There may be major eeXiv is currently under active development! There may be major
updates, breaking changes, or weird bugs. Report bugs, suggest new updates, breaking changes, or weird bugs. Report bugs, suggest new
features, or give us feedback at{' '} features, or give us feedback at{' '}
<a href='https://github.com/team-1280/eexiv-2/issues' target='_blank'> <a href='https://github.com/team-1280/eexiv-2/issues' target='_blank' className='text-blue-300'>
our issue tracker. our issue tracker.
</a> </a>
</li> </li>
<li key={4}> <li key={4}>
Want to upload your documents or just make yourself a profile on Want to upload your documents or just make yourself a profile on
eeXiv? Check our <Link href='/about'>about page</Link> for more eeXiv? Check our <Link href='/about' className='text-blue-300'>about page</Link> for more
information! information!
</li> </li>
</ul> </ul>

View file

@ -32,8 +32,8 @@ const RandomDocs = (): React.ReactNode[] => {
case 'presentation': case 'presentation':
typeString = 'presentation' typeString = 'presentation'
break break
case 'white paper': case 'whitepaper':
typeString = 'white paper' typeString = 'whitepaper'
break break
case 'datasheet': case 'datasheet':
typeString = 'datasheet' typeString = 'datasheet'

View file

@ -39,8 +39,8 @@ const RecentDocuments = (): React.ReactNode[] => {
case 'presentation': case 'presentation':
typeString = 'presentation' typeString = 'presentation'
break break
case 'white paper': case 'whitepaper':
typeString = 'white paper' typeString = 'whitepaper'
break break
case 'datasheet': case 'datasheet':
typeString = 'datasheet' typeString = 'datasheet'

View file

@ -1,6 +1,7 @@
export default function Page() { export default function Page() {
return ( return (
<div className='content text-slate-800'> <div className='content text-slate-800'>
<h1 className='text-3xl text-slate-800 mt-4 mb-2 font-serif'>Contact</h1>
<p> <p>
You can contact a team representative directly at{' '} You can contact a team representative directly at{' '}
<a href='mailto:sanramonvalleyrobotics@gmail.com'> <a href='mailto:sanramonvalleyrobotics@gmail.com'>

View file

@ -6,7 +6,7 @@ documents {
title: string title: string
authors: string[] authors: string[]
date: unix epoch integer[] -> if multiple revisions, put the earlier dates first 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) latest: integer >= 1 -> the latest revision of the document (earliest = 1)
keywords: string[] keywords: string[]
topics: string[] topics: string[]
@ -30,7 +30,7 @@ export type FileType = 'pdf' | 'docx' | 'pptx' | 'tar.gz' | 'other'
export type DocumentType = export type DocumentType =
| 'presentation' | 'presentation'
| 'report' | 'report'
| 'white paper' | 'whitepaper'
| 'dwm' | 'dwm'
| 'datasheet' | 'datasheet'
| 'guide' | 'guide'
@ -223,7 +223,7 @@ export const documents: Readonly<{ [key: string]: Document }> = {
'programming team', 'programming team',
'eecs', 'eecs',
'whitepaper', 'whitepaper',
'white paper', 'whitepaper',
'engineering', 'engineering',
'design', 'design',
'electrical', 'electrical',
@ -238,7 +238,7 @@ export const documents: Readonly<{ [key: string]: Document }> = {
'sensing', 'sensing',
'collision', 'collision',
], ],
type: 'white paper', type: 'whitepaper',
topics: ['ai', 'frc', 'eecs'], topics: ['ai', 'frc', 'eecs'],
latest: 2, latest: 2,
status: 'under review', 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': { 'eexiv-white-paper': {
manifest: { manifest: {
title: 'eeXiv White Paper', title: 'eeXiv Whitepaper',
authors: ['ywu', 'avenkatesh'], authors: ['ywu', 'avenkatesh'],
topics: ['eecs', 'frc'], topics: ['eecs', 'frc'],
dates: [1707811359, 1707891311], dates: [1707811359, 1707891311],
type: 'white paper', type: 'whitepaper',
latest: 2, latest: 2,
status: 'under review', status: 'under review',
keywords: [ keywords: [
'eexiv', 'eexiv',
'white paper', 'whitepaper',
'paper repository', 'paper repository',
'arxiv', 'arxiv',
'proposal', 'proposal',

View file

@ -1,6 +1,7 @@
export default function Page() { export default function Page() {
return ( return (
<div className='content text-slate-800'> <div className='content text-slate-800'>
<h1 className='text-3xl text-slate-800 mt-4 mb-2 font-serif'>Accessibility</h1>
<p> <p>
If you encounter any accessibility-related issues related to your use of If you encounter any accessibility-related issues related to your use of
our site, it is likely because of our jank code architecture. our site, it is likely because of our jank code architecture.
@ -11,7 +12,9 @@ export default function Page() {
<a href='https://github.com/Team-1280/eeXiv/pull/new'>pull request</a>{' '} <a href='https://github.com/Team-1280/eeXiv/pull/new'>pull request</a>{' '}
on GitHub. on GitHub.
</p> </p>
<br /> <h2 className='text-2xl text-slate-800 mt-6 mb-1 font-serif'>
Supported Hardware
</h2>
<p> <p>
It has also come to our attention that we may not be able to support 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 low-spec devices such as old phones, computers, or other devices with

View file

@ -1,6 +1,7 @@
export default function Page() { export default function Page() {
return ( return (
<div className='content text-slate-800'> <div className='content text-slate-800'>
<h1 className='text-3xl text-slate-800 mt-4 mb-2 font-serif'>Help</h1>
<p> <p>
We are always looking for contributors to help us improve eeXiv. If you We are always looking for contributors to help us improve eeXiv. If you
are interested in helping, whether as a peer reviewer, external are interested in helping, whether as a peer reviewer, external

View file

@ -2,6 +2,7 @@ import Link from 'next/link'
export default function Page() { export default function Page() {
return ( return (
<div className='content text-slate-800'> <div className='content text-slate-800'>
<h1 className='text-3xl text-slate-800 mt-4 mb-2 font-serif'>Copyright</h1>
<p> <p>
All content on this site is licensed under the{' '} All content on this site is licensed under the{' '}
<a href='https://creativecommons.org/licenses/by-sa/4.0/'> <a href='https://creativecommons.org/licenses/by-sa/4.0/'>

View file

@ -1,6 +1,7 @@
export default function Page() { export default function Page() {
return ( return (
<div className='content text-slate-800'> <div className='content text-slate-800'>
<h1 className='text-3xl text-slate-800 mt-4 mb-2 font-serif'>Privacy Policy</h1>
<p> <p>
{`User privacy is important to us. Just kidding. We don't collect any {`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 personal information. We only use it to help us improve eeXiv. Your

View file

@ -1,9 +1,12 @@
import Link from 'next/link'
export default function Page() { export default function Page() {
return ( return (
<div className='content text-slate-800'> <div className='content text-slate-800'>
<h1 className='text-3xl text-slate-800 mt-4 mb-2 font-serif'>Get status notifications</h1>
<p> <p>
We currently do not have the technical support to implement mailing We currently do not have the technical support to implement mailing
lists in eeXiv. Check <a href='../'>status</a> frequently for updates. lists in eeXiv. Check <Link href='/status'>status</Link> frequently for updates.
The best way to stay connected with the status of the eeXiv project is The best way to stay connected with the status of the eeXiv project is
to watch it on <a href='https://github.com/Team-1280/eeXiv'>GitHub</a>. to watch it on <a href='https://github.com/Team-1280/eeXiv'>GitHub</a>.
</p> </p>

View file

@ -1,7 +1,12 @@
import { Zilla_Slab } from 'next/font/google'
const zillaSlab = Zilla_Slab({ subsets: ['latin'], weight: ['500', '700'] })
export default function Page() { export default function Page() {
return ( return (
<div className='content text-slate-800'> <div className='content text-slate-800'>
<p> <h1 className='text-3xl text-slate-800 mt-4 mb-4 font-serif'>Status</h1>
<p className={`${zillaSlab.className} p-6 rounded-lg bg-green-600 text-xl text-white text-center`}>
eeXiv is <strong>online</strong>. All systems{' '} eeXiv is <strong>online</strong>. All systems{' '}
<strong>operational</strong>. <strong>operational</strong>.
</p> </p>

View file

@ -1,5 +0,0 @@
.content {
margin-top: 40px;
padding: 35px;
border-radius: 15px;
}

View file

@ -1,6 +1,7 @@
export default function Page() { export default function Page() {
return ( return (
<div className='content text-slate-800'> <div className='content text-slate-800'>
<h1 className='text-3xl text-slate-800 mt-4 mb-2 font-serif'>Subscribe</h1>
<p> <p>
We currently do not have the technical support to implement mailing We currently do not have the technical support to implement mailing
lists in eeXiv. Check back later for updates. The best way to stay lists in eeXiv. Check back later for updates. The best way to stay