diff --git a/src/components/Project.tsx b/src/components/Project.tsx new file mode 100644 index 0000000..781f790 --- /dev/null +++ b/src/components/Project.tsx @@ -0,0 +1,39 @@ +import { FC } from 'react'; + +interface Button { + link: string; + text: string; +} + +const Project: FC<{ + name: string; + description: string; + buttons: Button[]; + cover?: string; + right?: boolean; +}> = ({ name, description, buttons, cover, right }) => { + return ( +
+
+
+
{name}
+ {description} +
+
+ {buttons.map((button) => ( + + {button.text} + + ))} +
+ {cover ? ( +
+ +
+ ) : null} +
+
+ ); +}; + +export default Project; diff --git a/src/components/Projects.tsx b/src/components/Projects.tsx index 23cfe08..941b298 100644 --- a/src/components/Projects.tsx +++ b/src/components/Projects.tsx @@ -1,94 +1,72 @@ -const Projects = () => ( +import { NextPage } from 'next'; + +import Project from '@components/Project'; + +const Projects: NextPage = () => (
Projects
+ -
-
-
-
Argo
- Argo is a new app for Magister 6, made with Dart and Flutter. It will soon be - available on the Google Play store and (maybe) even the App store! For more information, - click either of the buttons below. -
-
- - Website - - - Github - -
-
- -
-
-
+ -
-
-
- -
-
-
Tempo
- Tempo is a "simple" Discord bot which can be used to play YouTube, SoundCloud and even - Spotify songs. It's made in pure TypeScript and has plentiful settings.
-
- - Website - - - Invite - -
-
-
- -
-
-
-
Keyzo
- Keyzo is an electron-based program written in JavaScript and CSS but I am + - Website - - - Github - -
-
-
-
+ TypeScript. It's main use is to bring every keybind you will every need into a + single program, with a simple and neat interface." + buttons={[ + { + link: 'https://keyzo.net', + text: 'Website', + }, + { + link: 'https://github.com/Guusvanmeerveld/Keyzo', + text: 'Github', + }, + ]} + /> -
-
-
- -
-
-
Magister Auto-Login
- Magister Auto-Login is a chrome extension that automatically logs into Magister 6 for - you.
-
- - Add to Chrome - - - Github - -
-
-
+
);