Added component for Projects

dependabot/npm_and_yarn/typescript-eslint/parser-4.33.0
guusvanmeerveld 4 years ago
parent 3c45eaac4b
commit 5c0d798ba7

@ -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 (
<div className="project">
<div className="content">
<div className={right ? 'info right' : 'info'}>
<div className="title">{name}</div>
{description}
<br />
<br />
{buttons.map((button) => (
<a href={button.link} className="button">
{button.text}
</a>
))}
</div>
{cover ? (
<div className="cover">
<img src={cover} width="100%" height="100%" alt="" />
</div>
) : null}
</div>
</div>
);
};
export default Project;

@ -1,94 +1,72 @@
const Projects = () => (
import { NextPage } from 'next';
import Project from '@components/Project';
const Projects: NextPage = () => (
<div className="projects">
<div className="container">
<div className="header" id="projects">
Projects
</div>
<div className="project">
<div className="content">
<div className="info">
<div className="title">Argo</div>
Argo is a new app for Magister 6, made with <b>Dart and Flutter</b>. It will soon be
<Project
name="Argo"
description="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.
<br />
<br />
<a href="https://argo-magister.net" className="button">
Website
</a>
<a href="https://github.com/argo-client/app" className="button">
Github
</a>
</div>
<div className="cover">
<img src="/img/argo.png" width="100%" height="100%" alt="" />
</div>
</div>
</div>
click either of the buttons below."
buttons={[
{ link: 'https://argo-magister.net', text: 'Website' },
{ link: 'https://github.com/argo-client/app', text: 'Github' },
]}
cover="/img/argo.png"
/>
<div className="project">
<div className="content">
<div className="cover">
<img src="/img/tempo.png" width="100%" height="100%" alt="" />
</div>
<div className="info right">
<div className="title">Tempo</div>
Tempo is a "simple" Discord bot which can be used to play YouTube, SoundCloud and even
Spotify songs. It's made in pure <b>TypeScript</b> and has plentiful settings. <br />
<br />
<a href="https://tempo.g-vm.nl" className="button">
Website
</a>
<a href="https://tempo.g-vm.nl/invite" className="button">
Invite
</a>
</div>
</div>
</div>
<Project
name="Tempo"
description="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."
right
buttons={[
{ link: 'https://tempo.g-vm.nl', text: 'Website' },
{ link: 'https://tempo.g-vm.nl/invite', text: 'Invite' },
]}
cover="/img/tempo.png"
/>
<div className="project">
<div className="content">
<div className="info">
<div className="title">Keyzo</div>
Keyzo is an electron-based program written in <b>JavaScript and CSS</b> but I am
<Project
name="Keyzo"
description="Keyzo is an electron-based program written in JavaScript and CSS but I am
planning on moving to
<b> TypeScript</b>. It's main use is to bring every keybind you will every need into a
single program, with a simple and neat interface. <br />
<br />
<a href="https://keyzo.net" className="button">
Website
</a>
<a href="https://github.com/Guusvanmeerveld/Keyzo" className="button">
Github
</a>
</div>
<div className="cover"></div>
</div>
</div>
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',
},
]}
/>
<div className="project">
<div className="content">
<div className="cover">
<img src="/img/autologin.png" width="100%" height="100%" alt="" />
</div>
<div className="info right">
<div className="title">Magister Auto-Login</div>
Magister Auto-Login is a chrome extension that automatically logs into Magister 6 for
you. <br />
<br />
<a
className="button"
href="https://chrome.google.com/webstore/detail/magister-auto-login/cekhhgcjpkahghpgeafhmkkjhidodplk?hl=nl"
>
Add to Chrome
</a>
<a className="button" href="https://github.com/Guusvanmeerveld/Magister-Auto-Login">
Github
</a>
</div>
</div>
</div>
<Project
name="Magister Auto-Login"
description="Magister Auto-Login is a chrome extension that automatically logs into Magister 6 for
you."
right
buttons={[
{
link: 'https://chrome.google.com/webstore/detail/magister-auto-login/cekhhgcjpkahghpgeafhmkkjhidodplk?hl=nl',
text: 'Add to Chrome',
},
{
link: 'https://github.com/Guusvanmeerveld/Magister-Auto-Login',
text: 'Github',
},
]}
cover="/img/autologin.png"
/>
</div>
</div>
);

Loading…
Cancel
Save