Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📝 Cover Page – Gatsby Framework Page #2396

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions components/blocks/CarouselFeature.template.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { wrapFieldsWithMeta, type Template, type TinaField } from 'tinacms';
import IconSelector from './IconSelector';
import { actionsButtonTemplateFields } from './ActionsButton.template';
import IconSelector from './IconSelector';

export const carouselFeatureTemplate: Template = {
label: 'Carousel Feature',
name: 'carouselFeature',
ui: {
previewSrc: '/img/blocks/feature-grid.png',
previewSrc: '/img/blocks/vertical-carousel.png',
},
fields: [
{
Expand Down
47 changes: 47 additions & 0 deletions content/blocksPages/gatsby-cms.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"blocks": [
{
"headline": "TinaCMS + Gatsby",
"text": "Utilise the Static Site Generation features of Gatsby with the flexibility of TinaCMS.",
"_template": "hero"
},
{
"options": {
"narrow": true,
"align": "left"
},
"content": "## Why We Like Gatsby\n\nGatsby is a JAMstack style static site generator – like Tina it's tied to React.\n\nIt's known for being well optimized for static data with pre-fetching, server side rendering and other features built-in.\n\nThis makes it a common pairing with Headless CMS tools such as Tina. 🦙\n\nIt also has a rich ecosystem of plug-ins available.\n\n## Gatsby + Tina\n\nTina works best with [NextJS](https://tina.io/nextjs-cms), but if you have an existing Gatsby project or want to take advantage of Gatsby's plug-in library, Tina might still be a good fit.\n\nWe have guides on [getting started with Gatsby](https://tina.io/docs/frameworks/gatsby), and also on configuring [an existing Gatsby project to work with Tina](https://tina.io/docs/guides/converting-gatsby-to-tina).\n\n## Visual Editing with Gatsby + TinaCMS\n\n\\<TODO – needs some concensus from Hugo + Gilles>\n",
"_template": "content"
},
{
"items": [
{
"headline": "Database Free",
"text": "Tina uses a \"Datalayer\" that makes content retrieval efficient (which can be self-hosted!). Behind that, the ultimate source of truth for your content is a familiar one – a GitHub repository that you have total control over."
},
{
"headline": "Customizable and Extendable",
"text": "TinaCMS allows you to create custom field widgets, add custom validation to fields, and create workflows outside of TinaCMS itself, leveraging Git-based content."
},
{
"headline": "Open Source Frontend",
"text": "TinaCMS's open-source frontend means greater flexibility and customization for your projects. Benefit from regular updates and a thriving community.",
"url": "/"
},
{
"headline": "Static Routing",
"text": "Whether you're serving your content statically or dynamically, you can configure a Gatsby + TinaCMS project to tailor to your needs."
},
{
"headline": "MDX Support",
"text": "With TinaCMS, you can register your MDX components and provide a UI for them.\n\nWe call this \"Block Based Editing\" – a similar approach to other mainline CMS tools."
},
{
"headline": "Visual Editing",
"text": "Experience the ease of TinaCMS's visual editing features, designed to make content management more intuitive and efficient."
}
],
"_template": "featureGrid"
}
]
}
2 changes: 1 addition & 1 deletion content/blocksPages/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
}
},
{
"headline": "Control your Components",
"headline": "Build with Blocks",
"text": "Use pre-built templates or create custom components from scratch - you have full control to build your site how you want",
"icon2": "FaPuzzlePiece",
"videoSrc": "/video/key-features/2024-09-13-key-features-control-components.webm",
Expand Down
10 changes: 10 additions & 0 deletions content/blocksPages/undefined.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"blocks": [
{
"_template": "textMediaColumnComponent"
},
{
"_template": "textMediaColumnComponent"
}
]
}
Binary file added public/img/blocks/vertical-carousel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion tina/tina-lock.json

Large diffs are not rendered by default.