diff --git a/src/app/about/about.module.css b/src/app/about/about.module.css new file mode 100644 index 0000000..17ccfdf --- /dev/null +++ b/src/app/about/about.module.css @@ -0,0 +1,5 @@ +.content { + margin-top: 40px; + padding: 35px; + border-radius: 15px; +} diff --git a/src/app/about/page.tsx b/src/app/about/page.tsx new file mode 100644 index 0000000..bf1cf14 --- /dev/null +++ b/src/app/about/page.tsx @@ -0,0 +1,21 @@ +import Link from "next/link"; +import styles from "./about.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 + rival arXiv as the single largest open-source and open-access research + paper repository. eeXiv is{" "} + open-source and{" "} + + licensed + {" "} + under the GNU General Public License. +

+
+ ); +} diff --git a/src/app/globals.css b/src/app/globals.css index f5b9a38..22909d9 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -11,18 +11,3 @@ * { box-sizing: border-box; } - -h1, -h2, -h3, -h4, -h5, -h6 { - font-family: "Zilla Slab", serif; - font-weight: 500; -} - -p, -div { - font-family: "Inter", sans-serif; -} diff --git a/src/app/page.module.css b/src/app/home.module.css similarity index 86% rename from src/app/page.module.css rename to src/app/home.module.css index f7ee01f..47dff30 100644 --- a/src/app/page.module.css +++ b/src/app/home.module.css @@ -1,6 +1,4 @@ -/* main stylesheet for eeXiv */ - -@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Roboto:wght@700&family=Zilla+Slab:wght@400;500;700&display=swap"); +/* stylesheet for the eexiv UI and the base layout (search, logo, header, footer) */ .header { width: 100%; @@ -30,7 +28,7 @@ .search { position: absolute; - top: 200px; + top: 175px; left: 50%; width: 40vw; } @@ -44,6 +42,7 @@ height: 45px; border: 3px solid #0c5198; border-radius: 10px; + padding: 22px; } .searchButton { @@ -52,6 +51,7 @@ border: 3px solid white; padding: 10px; border-radius: 10px; + margin-left: 10px; } .searchButton:hover { @@ -84,7 +84,6 @@ height: fit-content; padding-top: 20px; padding-bottom: 20px; - font-family: "Inter", sans-serif; } .footerContent a { diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 3314e47..85ae86e 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,8 +1,11 @@ import type { Metadata } from "next"; -import { Inter } from "next/font/google"; +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"] }); export const metadata: Metadata = { title: "Create Next App", @@ -16,7 +19,74 @@ export default function RootLayout({ }>) { return ( - {children} + +
+ +

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

+
+
+

+ eeXiv2 +

+
+ + +
+
+ {children} + + ); } diff --git a/src/app/page.tsx b/src/app/page.tsx index 1f14ca7..efa44e6 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,81 +1,16 @@ -import styles from "./page.module.css"; +import styles from "./home.module.css"; export default function Home() { return ( - <> -
- -

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

-
-
-

- eeXiv2 -

-
- - -
-
-
-

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

-
- - +
+

+ eeXiv2 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. +

+
); }