change some formatting

This commit is contained in:
Youwen Wu 2024-02-11 02:06:29 -08:00
parent 6705159e51
commit 81a5f3c0a9
16 changed files with 145 additions and 41 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

View file

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 62 KiB

BIN
public/img/logos/eecs.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

BIN
public/img/logos/srvhs.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

View file

@ -2,19 +2,61 @@ import Link from 'next/link'
export default function Page() {
return (
<div className='content text-slate-800'>
<div className='content text-slate-600'>
<h1 className='text-3xl text-slate-800 mt-4 mb-1 font-serif'>About Us</h1>
<p>
{`eeXiv is a project hosted by Team 1280 EECS ("Electrical Engineering and
eeXiv<sup>2</sup>{' '}
{`is a project hosted by Team 1280 EECS ("Electrical Engineering and
Computer Science"), independent of the department of the same name at`}{' '}
<Link href='https://eecs.berkeley.edu'>UC Berkeley</Link>. We aim to
rival arXiv as the single largest open-source and open-access research
paper repository. eeXiv is{' '}
paper repository. eeXiv<sup>2</sup> is{' '}
<Link href='https://github.com/Team-1280/eeXiv'>open-source</Link> and{' '}
<Link href='https://github.com/Team-1280/eeXiv/blob/main/LICENSE'>
licensed
</Link>{' '}
under the GNU General Public License.
under the GNU General Public License (GPL).
</p>
<h1 className='text-2xl text-slate-800 mt-6 mb-1 font-serif'>
Frequently Asked Questions
</h1>
<ul className='list-disc'>
<li key='1'>
Why are you called eeXiv<sup>2</sup> with the superscript `{'2'}`?
<ul>
<li key='1' className='mx-2 my-1 text-slate-500'>
The original project called {`"eeXiv"`} was completed within 2
days of its conception as a competitor to arXiv focused around
FRC, but it quickly accumulated an exponential amount of technical
debt due to poor design choices made from day one as well as vast
amounts of AI generated code. eeXiv<sup>2</sup> was quickly
created within 24 hours of the release of the original eeXiv to
reimplement its features and vision under a more maintainable and
appropriate design. While eeXiv<sup>2</sup> technically refers
specifically to this redesigned version, eeXiv and eeXiv
<sup>2</sup> are de facto the same project and may be referred to
as either name.
</li>
</ul>
</li>
<li key='2'>
How can I contribute to research or development on eeXiv (or even just
add my profile to the site)?
<ul key='1' className='mx-2 my-1 text-slate-500'>
<li>
You can contribute to our website development or add your
documents and user account to eeXiv on our{' '}
<Link
href='https://github.com/couscousdude/eexiv-2'
target='_blank'
>
GitHub repository
</Link>
.
</li>
</ul>
</li>
</ul>
</div>
)
}

View file

@ -1,7 +1,6 @@
import { affiliations } from '@/app/db/data'
import { notFound } from 'next/navigation'
import { Zilla_Slab } from 'next/font/google'
import { Fragment } from 'react'
const zillaSlab = Zilla_Slab({ subsets: ['latin'], weight: ['500'] })

View file

@ -30,15 +30,29 @@ export default function Page({
<Link href={`/affiliation/${mainAffiliationShort}`}>
{mainAffiliation.name}
</Link>
{authorData.website ? (
<div className='mt-2'>
Visit at:{' '}
Visit{' '}
{authorData.name.nickname
? authorData.name.nickname
: authorData.name.first}{' '}
at:{' '}
<a href={authorData.website} target='_blank'>
{authorData.website}
</a>
</div>
) : null}
<div className='my-4 max-h-12 flex flex-wrap'>
{affiliation.map((a: string) => (
<Link key={a} href={`/affiliation/${a.split('@')[1]}`}>
<img
src={affiliations[a.split('@')[1]].image}
alt={affiliations[a.split('@')[1]].name}
className='h-12 mr-2'
/>
</Link>
))}
</div>
</>
)
}
@ -47,7 +61,9 @@ export default function Page({
if (affiliation.length === 1) return
return (
<>
<h1 className='text-3xl md:my-6 my-4 font-serif'>Other Positions:</h1>
<h1 className='text-3xl md:mt-6 mt-4 mb-2 font-serif'>
Other Positions:
</h1>
{affiliation.slice(1).map((a: string, i: number) => {
const position = a.split('@')[0]
const affiliation = affiliations[a.split('@')[1]].name
@ -70,7 +86,9 @@ export default function Page({
if (!formerAffiliations) return null
return (
<>
<h1 className='text-3xl md:my-6 my-4 font-serif'>Former Positions:</h1>
<h1 className='text-3xl md:mt-6 mt-4 mb-2 font-serif'>
Former Positions:
</h1>
{formerAffiliations?.map((a: string, i: number) => {
const position = a.split('@')[0]
const affiliation = affiliations[a.split('@')[1]].name
@ -109,7 +127,7 @@ export default function Page({
return (
<>
<h1 className='text-3xl md:my-6 my-4 font-serif'>Bio:</h1>
<h1 className='text-3xl md:mt-6 mt-4 mb-2 font-serif'>Bio:</h1>
<p>{authorData.bio}</p>
</>
)

View file

@ -225,6 +225,30 @@ export const topics: Topics = {
},
}
/*
Authors data format:
authorName (as a slug): {
name: {
first: first name
last: last name
optional nickname: nickname
}
affiliation: an array of affiliation "slugs". this should correspond to affiliations in the affiliations data.
The first affiliation will be considered the primary affiliation
image: image url, can store in public/img/profiles or link to a web resource
nationality: an array of ISO 3 letter country codes corresponding to your nationalities or ethniciities
formerAffiliations: an array of former affiliation "slugs." they should also correspond to affiliations
in the affiliations data
bio: biography string
website: website url
}
*/
export interface Authors {
[key: string]: {
name: {
@ -240,7 +264,6 @@ export interface Authors {
website?: string
}
}
export const authors: Authors = {
shasan: {
name: {
@ -248,8 +271,8 @@ export const authors: Authors = {
last: 'Hasan',
},
affiliation: ['Undergraduate@usc-viterbi'],
formerAffiliations: ['Lead Mechanical Engineer@1280-mech'],
image: 'https://team-1280.vercel.app/assets/img/gallery6.jpg',
formerAffiliations: ['Lead Mechanical Engineer@1280-mech', 'Student@srvhs'],
image: '/img/profiles/shasan.jpg',
nationality: ['pak', 'usa'],
},
mbohsali: {
@ -257,8 +280,8 @@ export const authors: Authors = {
first: 'Majd',
last: 'Bohsali',
},
affiliation: ['Lead Programming Engineer@1280-eecs'],
image: 'https://cdn-icons-png.freepik.com/512/3177/3177440.png',
affiliation: ['Lead Programming Engineer@1280-eecs', 'Student@srvhs'],
image: '/img/profiles/default.png',
nationality: ['lbn', 'usa'],
},
avenkatesh: {
@ -268,7 +291,7 @@ export const authors: Authors = {
},
affiliation: ['Lead Controls Engineer@1280-eecs'],
formerAffiliations: ['Programming Lead@1280-programming'],
image: 'https://cdn-icons-png.freepik.com/512/3177/3177440.png',
image: '/img/profiles/avenkatesh.png',
nationality: ['ind', 'eth', 'usa'],
bio: 'The king of jank.',
website: 'https://github.com/quantum9Innovation',
@ -281,6 +304,8 @@ export const authors: Authors = {
affiliation: ['Artificial Intelligence Lead@1280-eecs'],
image: '/img/profiles/ywu.webp',
nationality: ['chn'],
bio: 'The kingpin of jank. Never before has so much jank been so distilled in one place.',
website: 'https://github.com/couscousdude',
},
wlin: {
name: {
@ -291,6 +316,7 @@ export const authors: Authors = {
affiliation: [
'Electrical Engineer@1280-eecs',
'General Affairs@1280-business',
'Student@srvhs',
],
image: '/img/profiles/wlin.jpg',
nationality: ['twn', 'chn', 'usa'],
@ -298,6 +324,17 @@ export const authors: Authors = {
bio: 'Hi, I am Kaito or Warren. I am a Self-taught programmer and engineer. I go around doing dumb things such as my projects. I have a dream of building a community. I am currently part of many projects.',
website: 'https://kaitotlex.carrd.co/',
},
gostler: {
name: {
first: 'Gavin',
last: 'Ostler',
},
affiliation: ['Vision Researcher@1280-eecs', 'Student@srvhs'],
image: '/img/profiles/gostler.jpg',
nationality: ['usa'],
website: 'https://github.com/gavinostler',
bio: `I'm Gavin, a high school student from the Bay Area. I am a fullstack developer and love making random things to fill my day. I'm interested in creating useful tools and software in the future.`,
},
}
export interface Affiliations {
@ -313,8 +350,7 @@ export const affiliations: Affiliations = {
'1280-mech': {
name: "Team 1280, the Ragin' C Biscuits, Mechanical Subteam",
short: '1280 Mech',
image:
'https://raw.githubusercontent.com/Team-1280/identity/main/assets/img/figurehead/figurehead-primary.png',
image: '/img/logos/1280-main.png',
description: `The mechanical subteam is the backbone of Team 1280, focusing on the physical design, construction, and mechanical integrity of their robots. This subteam is where concepts and designs become tangible, transforming ideas into the moving parts and structural components that give the robots their form and function. The Mechanical subteam's work encompasses a broad range of activities, from drafting initial sketches and CAD modeling to machining parts and assembling complex mechanical systems.
[linebreak]
Members of the Mechanical subteam are adept in applying principles of mechanical engineering to solve practical problems, ensuring that the robot is not only capable of performing the tasks required by the competition but is also robust, efficient, and adaptable to the dynamic environment of a FIRST Robotics match. They work closely with materials, tools, and manufacturing processes, gaining hands-on experience in fabrication techniques such as welding, 3D printing, and CNC machining.
@ -326,8 +362,7 @@ The Mechanical subteam fosters a culture of creativity, innovation, and excellen
'1280-eecs': {
name: "Team 1280, the Ragin' C Biscuits, Electrical Engineering and Computer Science Subteam",
short: '1280 EECS',
image:
'https://raw.githubusercontent.com/Team-1280/identity/main/assets/img/eecs/eecs.png',
image: '/img/logos/eecs-wordmark.png',
description: `The Team 1280 EECS (Electrical Engineering and Computer Science) subteam is an autonomous organization within Team 1280, specializing in the design, programming, and electrical systems that bring their robots to life. As the nerve center of Team 1280, the EECS subteam combines the disciplines of electrical engineering and computer science to develop sophisticated control systems, autonomous functionalities, and robust electrical infrastructures that enable their robots to perform complex tasks and maneuvers in the competitive arena.
[linebreak]
Team 1280 EECS is composed of highly skilled and passionate students who are keen on applying theoretical knowledge to practical challenges. They are responsible for everything from circuit design and sensor integration to software development and debugging, ensuring that the robot can effectively communicate, navigate, and interact with its environment.
@ -337,15 +372,13 @@ Team 1280 EECS benefits from mentorship by experienced professionals and alumni,
'1280-programming': {
name: "Team 1280, the Ragin' C Biscuits, Programming Subteam (now defunct)",
short: '1280 Programming',
image:
'https://raw.githubusercontent.com/Team-1280/identity/main/assets/img/eecs/eecs.png',
description: 'placeholder',
image: '/img/logos/1280-main.png',
description: `The former programming subteam of Team 1280, it combined with the Team 1280 electrical subteam in a historic merger to form Team 1280 EECS.`,
},
'usc-viterbi': {
name: 'University of Southern California, Viterbi School of Engineering',
short: 'USC Viterbi',
image:
'https://pbs.twimg.com/profile_images/1006996145212551169/HaqpwHNY_400x400.jpg',
image: '/img/logos/usc-viterbi.jpg',
description: `The University of Southern California (USC) Viterbi School of
Engineering is a cornerstone of innovation and excellence in the
engineering field. Established in 1905, it has grown into a leading
@ -373,8 +406,7 @@ Team 1280 EECS benefits from mentorship by experienced professionals and alumni,
'1280-business': {
name: "Team 1280, the Ragin' C Biscuits, Business Subteam",
short: '1280 Business',
image:
'https://raw.githubusercontent.com/Team-1280/identity/main/assets/img/figurehead/figurehead-primary.png',
image: '/img/logos/1280-main.png',
description: `The Business subteam of Team 1280 plays a crucial role in ensuring the team's operational success and sustainability. Unlike the engineering-focused subteams, the Business subteam focuses on the financial, organizational, and community aspects of the team's operations. They are responsible for fundraising, sponsorship outreach, budget management, and public relations, ensuring that the team has the necessary resources and support to thrive in their endeavors.
[linebreak]
Members of the Business subteam develop and execute strategies to engage with corporate sponsors, local businesses, and individual donors, crafting compelling sponsorship proposals and maintaining ongoing relationships with stakeholders. They also manage the team's finances, meticulously planning and tracking expenditures to ensure that resources are allocated efficiently and effectively.
@ -388,8 +420,7 @@ By bridging the gap between engineering innovation and business acumen, the Busi
'raid-zero': {
name: 'Team 4253 - Raid Zero',
short: 'Raid 0',
image:
'https://scontent-sjc3-1.xx.fbcdn.net/v/t39.30808-6/299113446_475020107964742_4855015622304877578_n.png?_nc_cat=101&ccb=1-7&_nc_sid=efb6e6&_nc_ohc=f-tZdWsVEzQAX_9HeIZ&_nc_ht=scontent-sjc3-1.xx&oh=00_AfDRrS-nRH8uMBH9tpG7g8RNEO1AEtNso5EQMgJ5NaneaQ&oe=65CD858E',
image: '/img/logos/raid-zero.png',
description: `Team 4253, Raid Zero, hailing from Taipei American School in Taipei, Taipei Special Municipality, Chinese Taipei, has been a formidable presence in the world of robotics since its rookie year in 2012. As a participant in the international FIRST Robotics Competition, Raid Zero exemplifies innovation, teamwork, and the pursuit of excellence in science, technology, engineering, and mathematics (STEM).
[linebreak]
Since its inception, Raid Zero has dedicated itself to designing, building, and programming competitive robots that can perform complex tasks and compete at high levels. The team's journey through the FIRST Robotics Competition has been marked by continuous learning, adaptation, and growth, reflecting their commitment to not only compete but also to embody the ideals of gracious professionalism and cooperation.
@ -400,6 +431,12 @@ Operating within the vibrant educational environment of Taipei American School,
[linebreak]
Raid Zero's influence extends beyond the technical achievements in robotics competitions. The team's efforts to promote STEM education, engage with the community, and develop sustainable practices demonstrate a holistic approach to their mission. As Team 4253 continues to evolve and impact the world of robotics and STEM education, Raid Zero remains a beacon of innovation and inspiration for students and enthusiasts around the globe.`,
},
srvhs: {
name: 'San Ramon Valley High School',
short: 'SRVHS',
image: '/img/logos/srvhs.jpg',
description: `A relatively average high school located in Danville, California. It has no standout features besides being the base of operations for Team 1280 and Team 1280 EECS.`,
},
}
export interface Nationalities {

View file

@ -17,7 +17,7 @@ const zillaSlab = Zilla_Slab({ subsets: ['latin'], weight: ['500', '700'] })
export const metadata: Metadata = {
title: 'eeXiv^2',
description: 'eeXiv just got better',
description: 'arXiv just got better',
}
export default function RootLayout({
@ -37,7 +37,7 @@ export default function RootLayout({
We gratefully acknowledge support from our volunteer peer
reviewers, member institutions, and all{' '}
<a
href='https://github.com/Team-1280/eeXiv/graphs/contributors'
href='https://github.com/couscousdude/eeXiv-2/graphs/contributors'
target='_blank'
>
open-source contributors

View file

@ -6,7 +6,6 @@ import {
affiliations,
} from './db/data'
import { epoch2datestring } from './utils/epoch2datestring'
import { Fragment } from 'react'
export default function Home() {
const RandomDocs = (): React.ReactNode[] => {
@ -90,19 +89,28 @@ export default function Home() {
return (
<div className='content text-slate-800 flex flex-wrap'>
<p className='font-serif text-lg max-w-lg'>
eeXiv<sup>2</sup> is a free distribution service and an open-access
archive for nearly 2.4 million scholarly articles in the fields of
physics, mathematics, computer science, quantitative biology,
<p className='font-serif text-lg max-w-lg mr-1'>
eeXiv<sup>2</sup>, like arXiv, is a free distribution service and an
open-access archive for nearly 2.4 million scholarly articles in the
fields of physics, mathematics, computer science, quantitative biology,
quantitative finance, statistics, electrical engineering and systems
science, and economics. Materials on this site may be published
independently through other channels.
science, and economics, but mainly related to the{' '}
<Link
href='https://en.wikipedia.org/wiki/FIRST_Robotics_Competition'
target='_blank'
>
FIRST Robotics Competition (FRC)
</Link>
. Materials on this site may be published independently through other
channels. Read more about us <Link href='/about'>here</Link>.
</p>
<div className='bg-slate-800 rounded-lg p-6 w-full lg:max-w-lg md:max-w-md my-4 lg:my-0'>
<span className='text-3xl md:text-4xl text-slate-200'>eeXiv News</span>
<span className='text-3xl md:text-4xl text-slate-200'>
eeXiv<sup>2</sup> News
</span>
<br className='my-2' />
<span className='text-xl text-slate-400'>
Stay up to date with what is happening at eeXiv.
Stay up to date with what is happening at eeXiv<sup>2</sup>.
</span>
<br className='my-2' />
<span className='text-lg text-slate-200'>Latest news</span>