mirror of
https://github.com/Unkn0wnCat/KevinK.dev.js.git
synced 2025-05-02 19:56:16 +02:00
Update home meta description
This commit is contained in:
parent
c4b56b8ae6
commit
4db14e3d69
1 changed files with 4 additions and 1 deletions
|
@ -13,6 +13,7 @@ import { StaticImage, GatsbyImage } from "gatsby-plugin-image";
|
||||||
import anime from "animejs";
|
import anime from "animejs";
|
||||||
|
|
||||||
import { ArrowRight, AtSign, Camera, Github, Mail, MapPin, Phone } from "lucide-react";
|
import { ArrowRight, AtSign, Camera, Github, Mail, MapPin, Phone } from "lucide-react";
|
||||||
|
import { useTranslation } from "react-i18next";
|
||||||
|
|
||||||
export const query = graphql`
|
export const query = graphql`
|
||||||
query GetMetaAndProjects($language: String) {
|
query GetMetaAndProjects($language: String) {
|
||||||
|
@ -75,6 +76,8 @@ export const query = graphql`
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const IndexPage = (props) => {
|
const IndexPage = (props) => {
|
||||||
|
const {t} = useTranslation();
|
||||||
|
|
||||||
React.useEffect(() => {
|
React.useEffect(() => {
|
||||||
if (typeof window === "undefined") return;
|
if (typeof window === "undefined") return;
|
||||||
|
|
||||||
|
@ -109,7 +112,7 @@ const IndexPage = (props) => {
|
||||||
let file = props.data.file;
|
let file = props.data.file;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Layout title="Kevin Kandlbinder" transparentTopbar={true}>
|
<Layout title="Kevin Kandlbinder" transparentTopbar={true} description={t("siteDescription")}>
|
||||||
<section className={styles.heroSection}>
|
<section className={styles.heroSection}>
|
||||||
<div
|
<div
|
||||||
className={styles.heroSectionBg}
|
className={styles.heroSectionBg}
|
||||||
|
|
Loading…
Add table
Reference in a new issue