Moved a few components to home page.

dependabot/npm_and_yarn/typescript-eslint/parser-4.33.0
guusvanmeerveld 4 years ago
parent d3799285a4
commit bc58b24fda

@ -0,0 +1,3 @@
module.export = {
basePath: '/'
}

@ -1,21 +0,0 @@
const Landing = () => (
<div className="landing">
<div className="container">
<span className="profile">
<img src="/assets/images/profile.svg" width="100%" height="100%" alt="" />
</span>
<span className="title">Guus van Meerveld</span>
<span className="subtitle">
TypeScript / Dart developer, <br />
currently working on Argo.
</span>
<a href="#projects" className="button d-block m-auto">
Check out my projects
</a>
</div>
</div>
);
export default Landing;

@ -14,7 +14,7 @@ const Page = ({
<meta charSet="UTF-8" /> <meta charSet="UTF-8" />
<meta httpEquiv="X-UA-Compatible" content="IE=edge" /> <meta httpEquiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>G-VM | {title}</title> <title>Guus van Meerveld | {title}</title>
<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" />

@ -11,8 +11,8 @@ const Project: FC<ProjectType> = ({ name, description, buttons, cover, right })
{description} {description}
<br /> <br />
<br /> <br />
{buttons.map((button) => ( {buttons.map((button, i) => (
<a href={button.link} className="button"> <a href={button.link} className="button" key={i}>
{button.text} {button.text}
</a> </a>
))} ))}

@ -1,20 +0,0 @@
import { NextPage } from 'next';
import Project from '@components/Project';
import projects from '@config/projects.json';
const Projects: NextPage = () => (
<div className="projects">
<div className="container">
<div className="header" id="projects">
Projects
</div>
{projects.map((project) => (
<Project key={project.name} {...project} />
))}
</div>
</div>
);
export default Projects;

@ -1,14 +1,45 @@
import Projects from '@components/Projects'; import { NextPage } from 'next';
import Landing from '@components/Landing';
import Contact from '@components/Contact'; import Contact from '@components/Contact';
import Layout from '@components/Layout'; import Layout from '@components/Layout';
import Page from '@components/Page'; import Page from '@components/Page';
const Home = () => ( import Project from '@components/Project';
<Page description="A simple portfolio website to display my projects." title="Projects"> import projects from '@config/projects.json';
const Home: NextPage = () => (
<Page description="A simple portfolio website to display my projects." title="Home">
<Layout> <Layout>
<Landing /> <div className="landing">
<Projects /> <div className="container">
<span className="profile">
<img src="/assets/images/profile.svg" width="100%" height="100%" alt="" />
</span>
<span className="title">Guus van Meerveld</span>
<span className="subtitle">
TypeScript / Dart developer, <br />
currently working on Argo.
</span>
<a href="#projects" className="button d-block m-auto">
Check out my projects
</a>
</div>
</div>
<div className="projects">
<div className="container">
<div className="header" id="projects">
Projects
</div>
{projects.map((project) => (
<Project key={project.name} {...project} />
))}
</div>
</div>
<Contact /> <Contact />
</Layout> </Layout>
</Page> </Page>

Loading…
Cancel
Save