Skip to content

Commit

Permalink
updated setup (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
Neniflight authored Sep 4, 2023
1 parent 096f9da commit d119d1c
Show file tree
Hide file tree
Showing 31 changed files with 1,092 additions and 332 deletions.
Binary file modified app/favicon.ico
Binary file not shown.
27 changes: 4 additions & 23 deletions app/globals.css
Original file line number Diff line number Diff line change
@@ -1,23 +1,4 @@
:root {
--foreground-rgb: 0, 0, 0;
--background-start-rgb: 214, 219, 220;
--background-end-rgb: 255, 255, 255;
}

@media (prefers-color-scheme: dark) {
:root {
--foreground-rgb: 255, 255, 255;
--background-start-rgb: 0, 0, 0;
--background-end-rgb: 0, 0, 0;
}
}

body {
color: rgb(var(--foreground-rgb));
background: linear-gradient(
to bottom,
transparent,
rgb(var(--background-end-rgb))
)
rgb(var(--background-start-rgb));
}
* {
scroll-behavior: smooth !important;
overscroll-behavior: none;
}
12 changes: 6 additions & 6 deletions app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import './globals.css'
import type { Metadata } from 'next'
import { Inter } from 'next/font/google'
import { DM_Sans } from 'next/font/google'

const inter = Inter({ subsets: ['latin'] })
const dm_sans = DM_Sans({ subsets: ['latin'], weight: '400' })

export const metadata: Metadata = {
title: 'Create Next App',
description: 'Generated by create next app',
title: 'ACM UCSD Projects Website',
description: 'ACM UCSD Quarterly Project Website for AI, Design, and Hack',
}

export default function RootLayout({
Expand All @@ -16,7 +16,7 @@ export default function RootLayout({
}) {
return (
<html lang="en">
<body className={inter.className}>{children}</body>
<body className={dm_sans.className}>{children}</body>
</html>
)
}
}
16 changes: 13 additions & 3 deletions app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
export default function Home() {
import type { NextPage } from 'next';
import '../src/styles/reset.scss';

import About from '../src/sections/About-Projects';
// here we will compile all the sections of the website together
const Home: NextPage = () => {
return (
<main>
Welcome to the ACM Projects Website!

<About />
</main>
)
}
);
};

export default Home;

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@types/react-dom": "18.2.7",
"eslint": "8.47.0",
"eslint-config-next": "13.4.19",
"next": "13.4.19",
"next": "^13.4.19",
"react": "18.2.0",
"react-dom": "18.2.0",
"typescript": "5.1.6"
Expand Down
143 changes: 143 additions & 0 deletions public/assets/acm_logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions public/assets/ai.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions public/assets/design.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions public/assets/hack.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added src/components/SEO/index.tsx
Empty file.
1 change: 1 addition & 0 deletions src/components/SEO/style.module.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@use "..\styles\vars.scss" as v; // allows you to use pre-defined colors
Empty file added src/components/navbar/index.tsx
Empty file.
1 change: 1 addition & 0 deletions src/components/navbar/style.module.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@use "..\styles\vars.scss" as v; // allows you to use pre-defined colors
Empty file.
1 change: 1 addition & 0 deletions src/components/project-card/style.module.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@use "..\styles\vars.scss" as v; // allows you to use pre-defined colors
Empty file.
Empty file.
Empty file added src/components/timer/index.tsx
Empty file.
1 change: 1 addition & 0 deletions src/components/timer/style.module.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@use "..\styles\vars.scss" as v; // allows you to use pre-defined colors
11 changes: 11 additions & 0 deletions src/sections/About-Projects/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import s from '.style.module.scss';

const About: React.FC = () => {
return (
<h3>
ACM Projects is our quarterly projects program where students work in a tight knit team. The program gives students the opportunity to be hands-on outside of courses in fields such as AI, design, and software engineering. The program culminates in a projects showcase and the finished product looks great on resumes. We welcome all skill levels to apply!
</h3>
);
};

export default About;
1 change: 1 addition & 0 deletions src/sections/About-Projects/style.module.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@use "..\styles\vars.scss" as v; // allows you to use pre-defined colors
Empty file added src/sections/Archive/index.tsx
Empty file.
1 change: 1 addition & 0 deletions src/sections/Archive/style.module.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@use "..\styles\vars.scss" as v; // allows you to use pre-defined colors
Empty file.
1 change: 1 addition & 0 deletions src/sections/Photo-Gallery/style.module.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@use "..\styles\vars.scss" as v; // allows you to use pre-defined colors
Empty file added src/sections/Timer/index.tsx
Empty file.
1 change: 1 addition & 0 deletions src/sections/Timer/style.module.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@use "..\styles\vars.scss" as v; // allows you to use pre-defined colors
2 changes: 2 additions & 0 deletions src/styles/Home.module.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@use 'src/styles/vars.scss' as vars;
@import url('https://fonts.googleapis.com/css2?family=DM+Sans&display=swap');
Loading

0 comments on commit d119d1c

Please sign in to comment.