diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..c5b38cc --- /dev/null +++ b/.prettierrc @@ -0,0 +1,12 @@ +{ + "semi": false, + "printWidth": 80, + "tabWidth": 2, + "useTabs": false, + "singleQuote": true, + "trailingComma": "es5", + "jsxSingleQuote": true, + "bracketSpacing": true, + "jsxBracketSameLine": false, + "arrowParens": "always" +} diff --git a/src/app/about/about.module.css b/src/app/about/about.module.css index 17ccfdf..be43136 100644 --- a/src/app/about/about.module.css +++ b/src/app/about/about.module.css @@ -1,5 +1,5 @@ .content { - margin-top: 40px; - padding: 35px; - border-radius: 15px; + margin-top: 40px; + padding: 35px; + border-radius: 15px; } diff --git a/src/app/about/page.tsx b/src/app/about/page.tsx index bf1cf14..fec2bf3 100644 --- a/src/app/about/page.tsx +++ b/src/app/about/page.tsx @@ -1,21 +1,21 @@ -import Link from "next/link"; -import styles from "./about.module.css"; +import Link from 'next/link' +import standardStyles from '../styles/standard.module.css' export default function Page() { return ( -
-

+

+

{`eeXiv is a project hosted by Team 1280 EECS ("Electrical Engineering and - Computer Science"), independent of the department of the same name at`}{" "} - UC Berkeley. We aim to + Computer Science"), independent of the department of the same name at`}{' '} + UC Berkeley. We aim to rival arXiv as the single largest open-source and open-access research - paper repository. eeXiv is{" "} - open-source and{" "} - + paper repository. eeXiv is{' '} + open-source and{' '} + licensed - {" "} + {' '} under the GNU General Public License.

- ); + ) } diff --git a/src/app/contact/page.tsx b/src/app/contact/page.tsx new file mode 100644 index 0000000..15b897d --- /dev/null +++ b/src/app/contact/page.tsx @@ -0,0 +1,18 @@ +import standardStyles from '../styles/standard.module.css' + +export default function Page() { + return ( +
+

+ You can contact a team representative directly at{' '} + + sanramonvalleyrobotics@gmail.com + + . If you encounter any problems with the site or eeXiv content,{' '} + open an issue{' '} + and provide a helpful description of the problem. For ways you can help, + see Help. +

+
+ ) +} diff --git a/src/app/help/accessibility/accessibility.module.css b/src/app/help/accessibility/accessibility.module.css new file mode 100644 index 0000000..be43136 --- /dev/null +++ b/src/app/help/accessibility/accessibility.module.css @@ -0,0 +1,5 @@ +.content { + margin-top: 40px; + padding: 35px; + border-radius: 15px; +} diff --git a/src/app/help/accessibility/page.tsx b/src/app/help/accessibility/page.tsx new file mode 100644 index 0000000..cbdf835 --- /dev/null +++ b/src/app/help/accessibility/page.tsx @@ -0,0 +1,20 @@ +import styles from './accessibility.module.css' +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. Unfortunately, our programming team is ill + equipped to fix these issues, even if some of them may be + pressing Diversity, Equity, and Inclusion (DEI) concerns. We + recommend you add any accessibility fixes yourself by submitting + a{' '} + + pull request + {' '} + on GitHub. +

+
+ ) +} diff --git a/src/app/help/help.module.css b/src/app/help/help.module.css new file mode 100644 index 0000000..be43136 --- /dev/null +++ b/src/app/help/help.module.css @@ -0,0 +1,5 @@ +.content { + margin-top: 40px; + padding: 35px; + border-radius: 15px; +} diff --git a/src/app/help/page.tsx b/src/app/help/page.tsx new file mode 100644 index 0000000..fb11bc8 --- /dev/null +++ b/src/app/help/page.tsx @@ -0,0 +1,14 @@ +import standardStyles from '../styles/standard.module.css' + +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 + contributor, or in any other capacity, please{' '} + contact us. +

+
+ ) +} diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 52de1ac..554f5c2 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,92 +1,102 @@ -import type { Metadata } from "next"; -import { Inter, Zilla_Slab } from "next/font/google"; -import "./globals.css"; -import styles from "./home.module.css"; -import Link from "next/link"; +import type { Metadata } from 'next' +import { Inter, Zilla_Slab } from 'next/font/google' +import './globals.css' +import styles from './home.module.css' +import Link from 'next/link' -const inter = Inter({ subsets: ["latin"] }); -const zillaSlab = Zilla_Slab({ subsets: ["latin"], weight: ["500", "700"] }); +const inter = Inter({ subsets: ['latin'] }) +const zillaSlab = Zilla_Slab({ subsets: ['latin'], weight: ['500', '700'] }) export const metadata: Metadata = { - title: "eeXiv^2", - description: "eeXiv just got better", -}; + title: 'eeXiv^2', + description: 'eeXiv just got better', +} export default function RootLayout({ - children, + children, }: Readonly<{ - children: React.ReactNode; + children: React.ReactNode }>) { - return ( - - -
- -

- We gratefully acknowledge support from our volunteer peer reviewers, - member institutions, and all{" "} - - open-source contributors - - . -

-
-
-

- eeXiv2 -

-
- - -
-
- {children} - - - - ); + return ( + + +
+ +

+ We gratefully acknowledge support from our volunteer + peer reviewers, member institutions, and all{' '} + + open-source contributors + + . +

+
+
+

+ + eeXiv2 + +

+
+ + +
+
+ {children} + + + + ) } diff --git a/src/app/legal/copyright/copyright.module.css b/src/app/legal/copyright/copyright.module.css new file mode 100644 index 0000000..e69de29 diff --git a/src/app/legal/copyright/page.tsx b/src/app/legal/copyright/page.tsx new file mode 100644 index 0000000..3286199 --- /dev/null +++ b/src/app/legal/copyright/page.tsx @@ -0,0 +1,19 @@ +import Link from 'next/link' +import standardStyles from '../../styles/standard.module.css' + +export default function Page() { + return ( +
+

+ All content on this site is licensed under the{' '} + + Creative Commons Attribution-ShareAlike 4.0 International License + + . United States and international copyright laws apply. Failure to cite + or credit the authors of any content taken from this site is copyright + infringement and in violation of the eeXiv terms of use. For more + information, see our privacy policy. +

+
+ ) +} diff --git a/src/app/legal/privacy/page.tsx b/src/app/legal/privacy/page.tsx new file mode 100644 index 0000000..9caa251 --- /dev/null +++ b/src/app/legal/privacy/page.tsx @@ -0,0 +1,15 @@ +import standardStyles from '../../styles/standard.module.css' + +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 + information may also be periodically sent to the Mossad to enhance + profiling and cybersecurity operations. We take absolutely no + responsibility for misuse of your data. +

+
+ ) +} diff --git a/src/app/legal/privacy/privacy.module.css b/src/app/legal/privacy/privacy.module.css new file mode 100644 index 0000000..e69de29 diff --git a/src/app/page.tsx b/src/app/page.tsx index efa44e6..8110c7d 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,8 +1,9 @@ -import styles from "./home.module.css"; +import styles from './home.module.css' +import standardStyles from './styles/standard.module.css' export default function Home() { return ( -
+

eeXiv2 is a free distribution service and an open-access archive for nearly 2.4 million scholarly articles in the fields of @@ -12,5 +13,5 @@ export default function Home() { independently through other channels.

- ); + ) } diff --git a/src/app/status/notifications/page.tsx b/src/app/status/notifications/page.tsx new file mode 100644 index 0000000..ceed1c9 --- /dev/null +++ b/src/app/status/notifications/page.tsx @@ -0,0 +1,14 @@ +import standardStyles from '../../styles/standard.module.css' + +export default function Page() { + return ( +
+

+ We currently do not have the technical support to implement mailing + 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. +

+
+ ) +} diff --git a/src/app/status/page.tsx b/src/app/status/page.tsx new file mode 100644 index 0000000..2cd912e --- /dev/null +++ b/src/app/status/page.tsx @@ -0,0 +1,12 @@ +import standardStyles from '../styles/standard.module.css' + +export default function Page() { + return ( +
+

+ eeXiv is online. All systems{' '} + operational. +

+
+ ) +} diff --git a/src/app/status/status.module.css b/src/app/status/status.module.css new file mode 100644 index 0000000..17ccfdf --- /dev/null +++ b/src/app/status/status.module.css @@ -0,0 +1,5 @@ +.content { + margin-top: 40px; + padding: 35px; + border-radius: 15px; +} diff --git a/src/app/styles/standard.module.css b/src/app/styles/standard.module.css new file mode 100644 index 0000000..0504f44 --- /dev/null +++ b/src/app/styles/standard.module.css @@ -0,0 +1,8 @@ +/* In this file, add standard styles that will be widely imported throughout +the site */ + +.content { + margin-top: 40px; + padding: 35px; + border-radius: 15px; +} diff --git a/src/app/subscribe/page.tsx b/src/app/subscribe/page.tsx new file mode 100644 index 0000000..bd2b506 --- /dev/null +++ b/src/app/subscribe/page.tsx @@ -0,0 +1,14 @@ +import standardStyles from '../styles/standard.module.css' + +export default function Page() { + return ( +
+

+ We currently do not have the technical support to implement mailing + lists in eeXiv. Check back later for updates. The best way to stay + connected with the status of the eeXiv project is to watch it on{' '} + GitHub. +

+
+ ) +} diff --git a/src/app/subscribe/subscribe.module.css b/src/app/subscribe/subscribe.module.css new file mode 100644 index 0000000..e69de29