diff --git a/src/components/Drinks.jsx b/src/components/Drinks.jsx
index 2093de1..2321c89 100644
--- a/src/components/Drinks.jsx
+++ b/src/components/Drinks.jsx
@@ -1,22 +1,12 @@
import React from 'react';
import { Card } from 'semantic-ui-react';
import { graphql, StaticQuery } from 'gatsby';
-import { getTranslation, getLanguage, metadata } from '../data/i18n';
+import { getLanguage, metadata } from '../data/i18n';
+import Markdown from 'markdown-to-jsx';
class Drinks extends React.Component {
renderDescription = (drinks, lg) => {
- return (
- <>
- {drinks.description}
-
- {getTranslation(lg, 'drinks.when', [
- drinks.day,
- drinks.time,
- drinks.location,
- ])}
-
- >
- );
+ return {drinks.descriptionlong.descriptionlong};
};
render() {
@@ -42,12 +32,11 @@ const drinksQuery = graphql`
query drinksQuery {
allContentfulDrinks {
nodes {
- day
node_locale
- time
- location
title
- description
+ descriptionlong {
+ descriptionlong
+ }
}
}
}
diff --git a/src/data/en-us.json b/src/data/en-us.json
index e2ee359..e8e4990 100644
--- a/src/data/en-us.json
+++ b/src/data/en-us.json
@@ -1,7 +1,4 @@
{
- "drinks": {
- "when": "Every {0} starting at {1} in the {2}!"
- },
"board": {
"number": "Board {0}",
"current": "The current board",
diff --git a/src/data/nl.json b/src/data/nl.json
index 556a4d3..f4a6670 100644
--- a/src/data/nl.json
+++ b/src/data/nl.json
@@ -1,7 +1,4 @@
{
- "drinks": {
- "when": "Elke {0} vanaf {1} in de {2}!"
- },
"board": {
"number": "Bestuur {0}",
"current": "Het huidige bestuur",