diff --git a/.husky/pre-commit b/.husky/pre-commit old mode 100755 new mode 100644 diff --git a/src/components/Card.tsx b/src/components/Card.tsx index e2447bb..2d60c88 100644 --- a/src/components/Card.tsx +++ b/src/components/Card.tsx @@ -1,15 +1,16 @@ import classNames from 'classnames'; import React from 'react'; -type CardElement = React.ElementRef<'div'>; -type CardProps = React.ComponentPropsWithoutRef<'div'> & { +type CardElement = React.ElementRef<'a'>; +type CardProps = React.ComponentPropsWithoutRef<'a'> & { size?: 'small' | 'normal' | 'large'; radius?: 'small' | 'normal' | 'large'; shadow?: 'none' | 'normal'; + link?: string; }; const classes = { - base: 'bg-white border-gray-300 border dark:bg-neutral-900 dark:border-neutral-700', + base: 'bg-white border-gray-300 border dark:bg-neutral-900 dark:border-neutral-700 cursor-pointer hover:bg-gray-200 dark:hover:bg-neutral-800 transition-colors', // Add cursor-pointer for pointer cursor, hover:bg-gray-200 for hover effect, and transition-colors for smooth color transition size: { small: 'p-4 text-sm', normal: 'p-8', @@ -28,11 +29,21 @@ const classes = { const Card = React.forwardRef( ( - { children, className, size = 'normal', radius = 'normal', shadow = 'none', ...restProps }, + { + children, + className, + size = 'normal', + radius = 'normal', + shadow = 'none', + link, + ...restProps + }, forwardedRef, ) => { return ( -
( ref={forwardedRef} > {children} -
+ ); }, ); diff --git a/src/pages/projects.tsx b/src/pages/projects.tsx index 8db960b..d2d7e2b 100644 --- a/src/pages/projects.tsx +++ b/src/pages/projects.tsx @@ -1,91 +1,111 @@ -import * as React from 'react'; -import type { HeadFC, PageProps } from 'gatsby'; -import Button from '../components/Button'; -import Card from '../components/Card'; -import Layout from '../components/Layout'; -import { GitHub } from 'iconoir-react'; - -const ProjectsPage: React.FC = () => ( - -
-

Projects

-

- BUGS is meant to be a collaborative and inclusive environment for everyone. We're - always welcome to hear your ideas and work on new projects. Here are some past projects we - have worked on. -

-
- -
-

NYU Syllabi

-

Repository of Syllabi for NYU schools

-

- NYU Syllabi is a place to find and upload syllabi for different NYU classes across all - schools. -

- - - -
-
- -
-

NYU CS Wiki

-

Guide for all NYU CS Students

-

- The NYU CS Wiki provides guidance and resources for NYU CS students at Tandon and CAS. - It is a collaborative effort by students, for students, that gives detailed - information on different topics including competitive programming, internships, clubs, - and more. -

- - - -
-
- -
-

BUGS Website

-

Website For The Club

-

- The website is built from scratch, using React, to be a one-stop-shop for information - about the open source club. It provides information about what the club is for, the - projects we work on, and upcoming events. We hope to constantly update the website - with features. -

- - - -
-
- -
-

Schedge API

-

Course API for NYU

-

- Schedge is an open source API to NYU's course catalog, geared at eventually - helping NYU students plan their courses easier and faster. Our goal with this API is - to make it easier for students to plan out their schedules, and eventually to also do - some of that for them -

- - - -
-
-
-
-
-); - -export default ProjectsPage; - -export const Head: HeadFC = () => Projects; +import * as React from 'react'; +import type { HeadFC, PageProps } from 'gatsby'; +import Button from '../components/Button'; +import Card from '../components/Card'; +import Layout from '../components/Layout'; +import { GitHub } from 'iconoir-react'; + +const ProjectsPage: React.FC = () => ( + +
+

Projects

+

+ BUGS is meant to be a collaborative and inclusive environment for everyone. We're + always welcome to hear your ideas and work on new projects. Here are some past projects we + have worked on. +

+
+ +
+

NYU Syllabi

+

Repository of Syllabi for NYU schools

+

+ NYU Syllabi is a place to find and upload syllabi for different NYU classes across all + schools. +

+ + + +
+
+ +
+

NYU CS Wiki

+

Guide for all NYU CS Students

+

+ The NYU CS Wiki provides guidance and resources for NYU CS students at Tandon and CAS. + It is a collaborative effort by students, for students, that gives detailed + information on different topics including competitive programming, internships, clubs, + and more. +

+ + + +
+
+ +
+

BUGS Website

+

Website For The Club

+

+ The website is built from scratch, using React, to be a one-stop-shop for information + about the open source club. It provides information about what the club is for, the + projects we work on, and upcoming events. We hope to constantly update the website + with features. +

+ + + +
+
+ +
+

Schedge API

+

Course API for NYU

+

+ Schedge is an open source API to NYU's course catalog, geared at eventually + helping NYU students plan their courses easier and faster. Our goal with this API is + to make it easier for students to plan out their schedules, and eventually to also do + some of that for them +

+ + + +
+
+
+
+
+); + +export default ProjectsPage; + +export const Head: HeadFC = () => Projects;