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() {
return (
<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>
eeXiv{' '}
{`is a project hosted by Team 1280 EECS ("Electrical Engineering and
@ -17,10 +17,10 @@ export default function Page() {
</Link>{' '}
under the GNU General Public License (GPL).
</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
</h1>
<ul className='list-disc'>
</h2>
<ul className='list-disc ml-4 mt-2'>
<li key='1'>
How can I contribute to research or development on eeXiv (or even just
add my profile to the site)?

View file

@ -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':

View file

@ -31,13 +31,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{' '}
<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.
</a>
</li>
<li key={4}>
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!
</li>
</ul>

View file

@ -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'

View file

@ -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'

View file

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

View file

@ -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',

View file

@ -1,6 +1,7 @@
export default function Page() {
return (
<div className='content text-slate-800'>
<h1 className='text-3xl text-slate-800 mt-4 mb-2 font-serif'>Accessibility</h1>
<p>
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() {
<a href='https://github.com/Team-1280/eeXiv/pull/new'>pull request</a>{' '}
on GitHub.
</p>
<br />
<h2 className='text-2xl text-slate-800 mt-6 mb-1 font-serif'>
Supported Hardware
</h2>
<p>
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

View file

@ -1,6 +1,7 @@
export default function Page() {
return (
<div className='content text-slate-800'>
<h1 className='text-3xl text-slate-800 mt-4 mb-2 font-serif'>Help</h1>
<p>
We are always looking for contributors to help us improve eeXiv. If you
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() {
return (
<div className='content text-slate-800'>
<h1 className='text-3xl text-slate-800 mt-4 mb-2 font-serif'>Copyright</h1>
<p>
All content on this site is licensed under the{' '}
<a href='https://creativecommons.org/licenses/by-sa/4.0/'>

View file

@ -1,6 +1,7 @@
export default function Page() {
return (
<div className='content text-slate-800'>
<h1 className='text-3xl text-slate-800 mt-4 mb-2 font-serif'>Privacy Policy</h1>
<p>
{`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

View file

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