diff --git a/src/components/Footer.jsx b/src/components/Footer.jsx
index f126bc2..c19cc61 100644
--- a/src/components/Footer.jsx
+++ b/src/components/Footer.jsx
@@ -149,13 +149,14 @@ const Footer = ({email, facebook, instagram, linkedin, twitter, github, replit,
- © 2020 coding&&community
+ © 2021 coding&&community
Navigation
Programs
+ Curricula
Work With Us
Team
Blog
diff --git a/src/components/Header.jsx b/src/components/Header.jsx
index 33f40e4..4b9f93e 100644
--- a/src/components/Header.jsx
+++ b/src/components/Header.jsx
@@ -128,6 +128,13 @@ const Header = () => {
Programs
+
+
+ Curricula
+
+
(
+
+
+
+
+ Class
+
+
+ {title[0].text}
+
+
+ {RichText.render(description)}
+
+
+ Details →
+
+
+
+
+
+
+
+)
+
+export default CurriculumCard;
+
+CurriculumCard.propTypes = {
+ category: PropTypes.array.isRequired,
+ thumbnail: PropTypes.object.isRequired,
+ title: PropTypes.array.isRequired,
+ description: PropTypes.array.isRequired,
+ uid: PropTypes.string.isRequired
+}
\ No newline at end of file
diff --git a/src/pages/curricula.js b/src/pages/curricula.js
new file mode 100644
index 0000000..30dfe9b
--- /dev/null
+++ b/src/pages/curricula.js
@@ -0,0 +1,79 @@
+import React from "react";
+import PropTypes from "prop-types";
+import MyHelmet from "components/MyHelmet";
+import { graphql } from "gatsby";
+import colors from "styles/colors";
+import Layout, { LayoutContainer } from "components/Layout";
+import Title from "components/_ui/Title";
+import CurriculumCard from "components/curricula/CurriculumCard";
+
+
+const Work = ({ curricula, meta }) => (
+ <>
+
+
+
+
+ <>
+ {curricula.map((curriculum, i) => (
+
+ ))}
+ >
+
+
+ >
+);
+
+export default ({ data }) => {
+ const curricula = data.prismic.allCurriculums.edges;
+ const meta = data.site.siteMetadata;
+ if (!curricula) return null;
+
+ return (
+
+ )
+}
+
+Work.propTypes = {
+ curricula: PropTypes.array.isRequired,
+};
+
+export const query = graphql`
+ {
+ prismic {
+ allCurriculums {
+ edges {
+ node {
+ curriculum_title
+ curriculum_description
+ curriculum_thumbnail
+ curriculum_link {
+ __typename
+ ... on PRISMIC__ExternalLink {
+ url
+ }
+ }
+ _meta {
+ uid
+ }
+ }
+ }
+ }
+ }
+ site {
+ siteMetadata {
+ title
+ description
+ author
+ }
+ }
+ }
+`
+