Compilation of a mixture of professional and recreational projects in the space of IT, Software Development, DevOps, and Infosec
terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "4.11.0"
}
cloudflare = {
source = "cloudflare/cloudflare"
version = "~> 3.0"
}
}
backend "s3" {
bucket = "samroyio-website-backend"
region = "us-east-1"
key = "terraform.tfstate"
}
}
provider "aws" {
region = "us-east-1"
}
//TODO
const Layout = ({ children }: Props) => (
<StaticQuery
query={graphql`
query SiteTitleQuery {
site {
siteMetadata {
title
}
}
}
`}
render={(data) => (
<>
<Helmet
title={data.site.siteMetadata.title}
meta={[
{ name: 'description', content: 'Sample' },
{ name: 'keywords', content: 'sample, something' },
]}
>
<html lang="en" />
</Helmet>
<Header siteTitle={data.site.siteMetadata.title} />
<Container style={{}}>{children}</Container>
</>
)}
/>
)