feat: first announcement
publish / Build-and-publish (push) Successful in 12m44s

This commit is contained in:
4gl
2026-07-26 15:27:48 +01:00
parent 8a10d127c1
commit 73fccc70a5
21 changed files with 571 additions and 480 deletions
+3 -2
View File
@@ -69,8 +69,7 @@ const BlogListTemplate: React.FC<PageProps<BlogListData, PageContext>> = ({
heading="Data Controllers Knowledge Base"
desc="A section dedicated to news, updates and educational pieces."
>
<Seo title="Blog" />
<Section color="black" bgColor="white" bottomArrow={false}>
<Section color="black" bgColor="white" bottomArrow={false}>
<div className="row">
<div className="col-md-7">
<div className="row">
@@ -126,3 +125,5 @@ export const pageQuery = graphql`
}
}
`
export const Head = () => <Seo title="Blog" />
+15 -8
View File
@@ -14,17 +14,9 @@ const BlogPostTemplate: React.FC<
PageProps<{ post: PostNode }, PageContext>
> = ({ data, location, pageContext }) => {
const { post } = data
const { previewImg } = post.frontmatter
return (
<Layout location={location} heroSection={false}>
<Seo
title={post.frontmatter.title}
description={post.frontmatter.description}
previewImg={
previewImg?.childImageSharp?.gatsbyImageData?.images?.fallback?.src
}
/>
<Section color="black" bgColor="white" bottomArrow={false}>
<div className="row">
<div className="col-md-7">
@@ -41,6 +33,21 @@ const BlogPostTemplate: React.FC<
export default BlogPostTemplate
export const Head: React.FC<{ data: { post: PostNode } }> = ({ data }) => {
const { post } = data
const { previewImg } = post.frontmatter
return (
<Seo
title={post.frontmatter.title}
description={post.frontmatter.description}
previewImg={
previewImg?.childImageSharp?.gatsbyImageData?.images?.fallback?.src
}
/>
)
}
export const pageQuery = graphql`
query PostByPath($id: String!) {
post: markdownRemark(id: { eq: $id }) {
+3 -2
View File
@@ -71,8 +71,7 @@ const BlogSearchTemplate: React.FC<PageProps<SearchData, PageContext>> = ({
heading="Data Controllers Knowledge Base"
desc="A section dedicated to news, updates and educational pieces."
>
<Seo title="Blog" />
<Section color="black" bgColor="white" bottomArrow={false}>
<Section color="black" bgColor="white" bottomArrow={false}>
<div className="row">
<div className="col-md-7">
<div className="row">
@@ -96,3 +95,5 @@ const BlogSearchTemplate: React.FC<PageProps<SearchData, PageContext>> = ({
}
export default BlogSearchTemplate
export const Head = () => <Seo title="Blog" />
+3 -2
View File
@@ -68,8 +68,7 @@ const FeedListTemplate: React.FC<PageProps<FeedListData, PageContext>> = ({
heading="Data Controllers Feed"
desc="Announcements and social media style updates from the Data Controller team."
>
<Seo title="Feed" />
<Section color="black" bgColor="white" bottomArrow={false}>
<Section color="black" bgColor="white" bottomArrow={false}>
<div className="row">
<div className="col-md-7">
<div className="row">
@@ -129,3 +128,5 @@ export const pageQuery = graphql`
}
}
`
export const Head = () => <Seo title="Feed" />
+15 -8
View File
@@ -14,17 +14,9 @@ const FeedPostTemplate: React.FC<
PageProps<{ post: PostNode }, PageContext>
> = ({ data, location, pageContext }) => {
const { post } = data
const { previewImg } = post.frontmatter
return (
<Layout location={location} heroSection={false}>
<Seo
title={post.frontmatter.title}
description={post.frontmatter.description}
previewImg={
previewImg?.childImageSharp?.gatsbyImageData?.images?.fallback?.src
}
/>
<Section color="black" bgColor="white" bottomArrow={false}>
<div className="row">
<div className="col-md-7">
@@ -45,6 +37,21 @@ const FeedPostTemplate: React.FC<
export default FeedPostTemplate
export const Head: React.FC<{ data: { post: PostNode } }> = ({ data }) => {
const { post } = data
const { previewImg } = post.frontmatter
return (
<Seo
title={post.frontmatter.title}
description={post.frontmatter.description}
previewImg={
previewImg?.childImageSharp?.gatsbyImageData?.images?.fallback?.src
}
/>
)
}
export const pageQuery = graphql`
query FeedPostByPath($id: String!) {
post: markdownRemark(id: { eq: $id }) {