Created assets folder, Moved projects to seperate json file

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

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Before

Width:  |  Height:  |  Size: 629 B

After

Width:  |  Height:  |  Size: 629 B

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

@ -3,7 +3,7 @@
"name": "Guus van Meerveld's portfolio", "name": "Guus van Meerveld's portfolio",
"icons": [ "icons": [
{ {
"src": "/img/profile-192.png", "src": "/assets/images/profile-192.png",
"type": "image/png", "type": "image/png",
"sizes": "192x192" "sizes": "192x192"
} }
@ -13,4 +13,4 @@
"scope": "/", "scope": "/",
"theme_color": "#9b4dca", "theme_color": "#9b4dca",
"description": "A simple portfolio website to display my projects." "description": "A simple portfolio website to display my projects."
} }

@ -4,7 +4,13 @@ const Footer = () => {
return ( return (
<footer className="footer"> <footer className="footer">
<div className="container"> <div className="container">
<img src="/img/profile.svg" width="100%" height="100%" alt="" className="profile" /> <img
src="/assets/images/profile.svg"
width="100%"
height="100%"
alt=""
className="profile"
/>
<div className="branding"> <div className="branding">
Guus van Meerveld <br /> Guus van Meerveld <br />
&#169; 2021 &#169; 2021

@ -2,7 +2,7 @@ const Landing = () => (
<div className="landing"> <div className="landing">
<div className="container"> <div className="container">
<span className="profile"> <span className="profile">
<img src="/img/profile.svg" width="100%" height="100%" alt="" /> <img src="/assets/images/profile.svg" width="100%" height="100%" alt="" />
</span> </span>
<span className="title">Guus van Meerveld</span> <span className="title">Guus van Meerveld</span>

@ -18,7 +18,7 @@ const Page = ({
<meta name="description" content={description} /> <meta name="description" content={description} />
<meta name="keywords" content="guus van meerveld argo magister tempo discord" /> <meta name="keywords" content="guus van meerveld argo magister tempo discord" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" /> <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<link rel="apple-touch-icon" sizes="192x192" href="/img/profile-192.png" /> <link rel="apple-touch-icon" sizes="192x192" href="/assets/images/profile-192.png" />
</Head> </Head>
{children} {children}
</> </>

@ -1,17 +1,8 @@
import { FC } from 'react'; import { FC } from 'react';
interface Button { import ProjectType from '@models/project';
link: string;
text: string;
}
const Project: FC<{ const Project: FC<ProjectType> = ({ name, description, buttons, cover, right }) => {
name: string;
description: string;
buttons: Button[];
cover?: string;
right?: boolean;
}> = ({ name, description, buttons, cover, right }) => {
return ( return (
<div className="project"> <div className="project">
<div className="content"> <div className="content">
@ -28,7 +19,7 @@ const Project: FC<{
</div> </div>
{cover ? ( {cover ? (
<div className="cover"> <div className="cover">
<img src={cover} width="100%" height="100%" alt="" /> <img src={`/assets/images/${cover}`} width="100%" height="100%" alt="" />
</div> </div>
) : null} ) : null}
</div> </div>

@ -1,6 +1,7 @@
import { NextPage } from 'next'; import { NextPage } from 'next';
import Project from '@components/Project'; import Project from '@components/Project';
import projects from '@config/projects.json';
const Projects: NextPage = () => ( const Projects: NextPage = () => (
<div className="projects"> <div className="projects">
@ -8,65 +9,10 @@ const Projects: NextPage = () => (
<div className="header" id="projects"> <div className="header" id="projects">
Projects Projects
</div> </div>
<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."
buttons={[
{ link: 'https://argo-magister.net', text: 'Website' },
{ link: 'https://github.com/argo-client/app', text: 'Github' },
]}
cover="/img/argo.png"
/>
<Project {projects.map((project) => (
name="Tempo" <Project key={project.name} {...project} />
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"
/>
<Project
name="Keyzo"
description="Keyzo is an electron-based program written in JavaScript and CSS but I am
planning on moving to
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',
},
]}
/>
<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>
</div> </div>
); );

@ -0,0 +1,63 @@
[
{
"name": "Argo",
"description": "Argo is a new app for Magister 6, made with Dart and Flutter. It will soon beavailable on the Google Play store and (maybe) even the App store! For more information, click either of the buttons below.",
"cover": "argo.png",
"buttons": [
{
"link": "https://argo-magister.net",
"text": "Website"
},
{
"link": "https://github.com/argo-client/app",
"text": "Github"
}
]
},
{
"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.",
"cover": "tempo.png",
"right": true,
"buttons": [
{
"link": "https://tempo.g-vm.nl",
"text": "Website"
},
{
"link": "https://tempo.g-vm.nl/invite",
"text": "Invite"
}
]
},
{
"name": "Keyzo",
"description": "Keyzo is an electron-based program written in JavaScript and CSS but I amplanning on moving to 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"
}
]
},
{
"name": "Magister Auto-Login",
"description": "Magister Auto-Login is a chrome extension that automatically logs into Magister 6 for you.",
"right": true,
"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": "autologin.png"
}
]

@ -0,0 +1,12 @@
export default interface Project {
name: string;
description: string;
cover?: string;
right?: boolean;
buttons: Button[];
}
interface Button {
link: string;
text: string;
}

@ -4,7 +4,9 @@
"paths": { "paths": {
"@components/*": ["src/components/*"], "@components/*": ["src/components/*"],
"@public/*": ["src/public/*"], "@public/*": ["src/public/*"],
"@styles/*": ["src/styles/*"] "@styles/*": ["src/styles/*"],
"@models/*": ["src/models/*"],
"@config/*": ["src/config/*"]
}, },
"target": "es5", "target": "es5",
"lib": ["dom", "dom.iterable", "esnext"], "lib": ["dom", "dom.iterable", "esnext"],

Loading…
Cancel
Save