{"id":24634485,"url":"https://github.com/gah-code/contentful-starter-blog","last_synced_at":"2025-12-31T00:07:01.092Z","repository":{"id":274102222,"uuid":"892426916","full_name":"gah-code/contentful-starter-blog","owner":"gah-code","description":"testing template blog starter updated ","archived":false,"fork":false,"pushed_at":"2025-01-24T21:46:07.000Z","size":1743,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-24T22:27:23.469Z","etag":null,"topics":["cms","contentful","tags"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gah-code.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-22T04:56:06.000Z","updated_at":"2025-01-24T21:48:11.000Z","dependencies_parsed_at":"2025-01-24T22:37:58.389Z","dependency_job_id":null,"html_url":"https://github.com/gah-code/contentful-starter-blog","commit_stats":null,"previous_names":["gah-code/contentful-starter-blog"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gah-code%2Fcontentful-starter-blog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gah-code%2Fcontentful-starter-blog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gah-code%2Fcontentful-starter-blog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gah-code%2Fcontentful-starter-blog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gah-code","download_url":"https://codeload.github.com/gah-code/contentful-starter-blog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244574798,"owners_count":20474818,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cms","contentful","tags"],"created_at":"2025-01-25T09:12:51.915Z","updated_at":"2025-12-31T00:07:01.065Z","avatar_url":"https://github.com/gah-code.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Contentful Gatsby Starter Blog\n\nA fully customizable blog built with [Gatsby](https://www.gatsbyjs.com/) and powered by [Contentful](https://www.contentful.com/). Leverages Gatsby's ecosystem for optimized static site generation, seamless content delivery, and responsive image handling.\n\n---\n\n## 🚀 Features\n\n1. **Contentful Integration**: Simplified content management via Contentful's headless CMS.\n2. **Dynamic Pages**: Automatic page generation for blog posts and tags.\n3. **Optimized Images**: Utilizes Gatsby's `gatsby-plugin-image` for responsive images.\n4. **Rich Text Rendering**: Leverages Contentful's rich-text capabilities.\n5. **SEO-Optimized**: Metadata, descriptions, and Open Graph support with `react-helmet`.\n6. **Modern Architecture**: Component-based React structure for scalability and maintainability.\n\n---\n\n## 📋 Project Overview\n\nThis project integrates:\n\n- **Contentful CMS** for managing blog content, authors, and images.\n- **Gatsby Image (gatsby-plugin-image)** for optimized image handling.\n- **React Components** like `Hero` and `ArticlePreview`.\n- **Rich Text Rendering** via `gatsby-source-contentful/rich-text`.\n\n### Key Updates\n\n1. **Query Fixes**: Updated `gatsbyImageData` queries for Home, Blog, and Tag pages.\n2. **Hero Component**: Supports `gatsbyImageData` for optimized image rendering.\n3. **ArticlePreview Component**: Displays hero images dynamically.\n\n---\n\n## 📁 Directory Structure\n\n```plaintext\ngah-code-contentful-starter-blog/\n├── README.md\n├── LICENSE\n├── WHATS-NEXT.md\n├── app.json\n├── catalog-info.yaml\n├── gatsby-config.js\n├── gatsby-node.js\n├── netlify.toml\n├── package.json\n├── static.json\n├── .babelrc\n├── .contentful.json.sample\n├── .npmrc\n├── .nvmrc\n├── .prettierrc\n├── .travis.yml\n├── bin/\n│   ├── hello.js\n│   └── setup.js\n├── contentful/\n│   └── export.json\n├── scripts/\n│   ├── data-with-about-page.json\n│   ├── data.json\n│   └── setup.js\n├── src/\n│   ├── components/\n│   │   ├── container.js\n│   │   ├── global.css\n│   │   ├── layout.js\n│   │   ├── seo.js\n│   │   ├── tags.js\n│   │   ├── tags.module.css\n│   │   ├── variables.css\n│   │   └── ui/\n│   │       ├── About.js\n│   │       ├── Footer.js\n│   │       ├── Hero.js\n│   │       ├── Navigation.js\n│   │       ├── article-preview.js\n│   │       ├── article-preview.module.css\n│   │       ├── footer.module.css\n│   │       ├── hero.module.css\n│   │       └── navigation.module.css\n│   ├── pages/\n│   │   ├── 404.js\n│   │   ├── about.js\n│   │   ├── blog.js\n│   │   └── index.js\n│   └── templates/\n│       ├── blog-post.js\n│       ├── blog-post.module.css\n│       └── tag.js\n├── static/\n│   ├── robots.txt\n│   └── fonts/\n│       ├── Inter-italic.var.woff2\n│       ├── Inter-roman.var.woff2\n│       └── LICENSE.txt\n└── .github/\n    └── CODEOWNERS\n```\n\n---\n\n## 💻 How to Run the Project\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/gah-code/gah-code-contentful-starter-blog.git\n   cd gah-code-contentful-starter-blog\n   ```\n\n2. Install dependencies:\n\n   ```bash\n   npm install\n   ```\n\n3. Configure Contentful:\n   - Rename `.contentful.json.sample` to `.contentful.json`.\n   - Add your Contentful `SPACE_ID` and `ACCESS_TOKEN`.\n\n4. Run the development server:\n\n   ```bash\n   npm run dev\n   ```\n\n   Open the site at `http://localhost:8000`.\n\n---\n\n## 🧩 Key Components\n\n- **Hero**: Displays hero section with an image, title, and rich text.\n- **ArticlePreview**: Lists blog posts with previews (title, image, description, tags).\n- **Seo**: Manages metadata and Open Graph tags.\n- **Layout**: Wraps pages with global header, footer, and styles.\n\n---\n\n## 🚧 What's Next?\n\n- **Deploy**: Use [Netlify](https://www.netlify.com/) or [Gatsby Cloud](https://www.gatsbyjs.com/products/cloud/).\n- **Enhance**:\n  - Add search functionality.\n  - Implement dark mode.\n  - Optimize for accessibility (a11y).\n\n---\n\n## 🤝 Contributing\n\nContributions are welcome! To contribute:\n\n1. Fork the repo.\n2. Create a feature branch:\n\n   ```bash\n   git checkout -b feature-branch\n   ```\n\n3. Commit changes:\n\n   ```bash\n   git commit -m \"Your message\"\n   ```\n\n4. Push and submit a Pull Request.\n\n---\n\n## 📜 License\n\nThis project is licensed under the [MIT License](./LICENSE).\n\n---\n\n 🚀\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgah-code%2Fcontentful-starter-blog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgah-code%2Fcontentful-starter-blog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgah-code%2Fcontentful-starter-blog/lists"}