SEO improvements
This commit is contained in:
parent
f70729c774
commit
dbf716c7c4
5 changed files with 2795 additions and 29 deletions
|
@ -1,7 +1,8 @@
|
|||
import React from "react";
|
||||
import {graphql, PageProps, Link} from "gatsby";
|
||||
import {Query } from '../../gatsby-graphql';
|
||||
import {Query } from '../../graphql-types';
|
||||
import Layout from '../components/Layout';
|
||||
import Helmet from 'react-helmet';
|
||||
|
||||
const Blog: React.FC<PageProps<Query>> = (props) => {
|
||||
const remark = props.data?.allMarkdownRemark?.edges;
|
||||
|
@ -24,6 +25,7 @@ const Blog: React.FC<PageProps<Query>> = (props) => {
|
|||
|
||||
return (
|
||||
<Layout>
|
||||
<Helmet><title>Blog</title></Helmet>
|
||||
<h1 className="mb-4">Blog</h1>
|
||||
<ul>
|
||||
{links}
|
||||
|
|
|
@ -1,24 +1,30 @@
|
|||
import React from "react"
|
||||
import Layout from '../components/Layout';
|
||||
import Helmet from 'react-helmet';
|
||||
|
||||
const Contact: React.FC<{}> = () => {
|
||||
return (
|
||||
<Layout>
|
||||
<h1 className="mb-4">Contact Info</h1>
|
||||
<h2>E-Mail</h2>
|
||||
<div className="my-2">mail@riksolo.com</div>
|
||||
<Helmet>
|
||||
<title>Contact</title>
|
||||
</Helmet>
|
||||
|
||||
<h1 className="mb-4">Contact Info</h1>
|
||||
<h2>E-Mail</h2>
|
||||
<div className="my-2">mail@riksolo.com</div>
|
||||
|
||||
<h2 className="mt-4">Social Media</h2>
|
||||
<ul className="my-2">
|
||||
{[
|
||||
{url: "https://twitter.com/rikksolo", title: "Twitter"},
|
||||
{url: "https://instagram.com/rikberkelder", title: "Instagram"},
|
||||
{url: "https://github.com/rikberkelder", title: "Github"},
|
||||
{url: "https://gitlab.riksolo.com/riksolo", title: "Gitlab"}
|
||||
].map(item => {
|
||||
return <li><a href={item.url}>{item.title}</a></li>
|
||||
})}
|
||||
</ul>
|
||||
|
||||
<h2 className="mt-4">Social Media</h2>
|
||||
<ul className="my-2">
|
||||
{[
|
||||
{url: "https://twitter.com/rikksolo", title: "Twitter"},
|
||||
{url: "https://instagram.com/rikberkelder", title: "Instagram"},
|
||||
{url: "https://github.com/rikberkelder", title: "Github"},
|
||||
{url: "https://gitlab.riksolo.com/riksolo", title: "Gitlab"}
|
||||
].map(item => {
|
||||
return <li><a href={item.url}>{item.title}</a></li>
|
||||
})}
|
||||
</ul>
|
||||
</Layout>
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue