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AAQ,EAACD,SAAUA,Q","sources":["webpack://gatsby-starter-hello-world/./src/components/Project.js","webpack://gatsby-starter-hello-world/./src/components/Projects.js","webpack://gatsby-starter-hello-world/./src/components/Title.js","webpack://gatsby-starter-hello-world/./src/components/Hero.js","webpack://gatsby-starter-hello-world/./src/constants/services.js","webpack://gatsby-starter-hello-world/./src/components/Services.js","webpack://gatsby-starter-hello-world/./src/pages/index.js"],"sourcesContent":["import React from \"react\"\nimport { GatsbyImage, getImage } from \"gatsby-plugin-image\"\nimport { FaGithubSquare, FaShareSquare } from \"react-icons/fa\"\nimport { Link } from \"gatsby\"\n\nconst Project = ({ description, title, github, stack, url, image, index }) => {\n return (\n
\n \n
\n 0{index + 1}.\n \n

{title}

\n \n

{description}

\n

Technology:

\n
\n {stack.map(item => {\n return {item.title}\n })}\n
\n
\n \n \n \n \n \n \n
\n
\n
\n )\n}\n\nexport default Project\n","import React from \"react\"\nimport Title from \"./Title\"\nimport Project from \"./Project\"\nimport { Link } from \"gatsby\"\nconst Projects = ({ projects, title, showLink }) => {\n return (\n
\n \n <div className=\"section-center projects-center\">\n {projects.map((project, index) => {\n return <Project key={project.id} index={index} {...project} />\n })}\n </div>\n {showLink && (\n <Link to=\"/projects\" className=\"btn center-btn\">\n projects\n </Link>\n )}\n </section>\n )\n}\n\nexport default Projects\n","import React from \"react\"\n\nconst Title = ({ title }) => {\n return (\n <div className=\"section-title\">\n <h2>{title || \"default title\"}</h2>\n <div className=\"underline\"></div>\n </div>\n )\n}\n\nexport default Title\n","import React from \"react\"\nimport { Link } from \"gatsby\"\nimport socialLinks from \"../constants/social_links\"\n// import heroImg from \"../assets/images/hero.svg\"\nimport { StaticImage } from \"gatsby-plugin-image\"\n\nconst Hero = () => {\n return (\n <header className=\"hero\">\n <section className=\"section-center hero-center\">\n <article className=\"hero-info\">\n <div>\n <div className=\"underline\"></div>\n <h1>i'm Zakaria</h1>\n <h4>\n {\" \"}\n <span>MERN</span> stack web developer\n </h4>\n <Link to=\"/contact\" className=\"btn\">\n contact me\n </Link>\n <div className=\"social-links\">\n {socialLinks.map(link => {\n return (\n <a href={link.url} key={link.id} className=\"social-link\">\n {link.icon}\n </a>\n )\n })}\n </div>\n </div>\n </article>\n <StaticImage\n src=\"../assets/images/hero-img1.png\"\n alt=\"portfolio\"\n className=\"hero-img\"\n placeholder=\"blurred\"\n />\n {/* <img src={heroImg} alt=\"portfolio\" className=\"hero-img-svg\" /> */}\n </section>\n </header>\n )\n}\n\nexport default Hero\n","import React from \"react\"\nimport { FaCode, FaSketch, FaPaintBrush } from \"react-icons/fa\"\nconst services = [\n {\n id: 1,\n icon: <FaCode className=\"service-icon\" />,\n title: \"web development\",\n text: `I provide professional web Development services with splendid graphics to create high quality websites for your corporate business identity.`,\n },\n {\n id: 2,\n icon: <FaSketch className=\"service-icon\" />,\n title: \"web design\",\n text: `Web design is an extremely important part of any project/brand.I will make a clean, unique an professional looking website, it's must be respinsive, pixel perfect. w3c valid.`,\n },\n {\n id: 3,\n icon: <FaPaintBrush className=\"service-icon\" />,\n title: \"Graphic Design\",\n text: `Graphic design is the process of visual communication and problem-solving using one or more of typography, photography, and illustration.`,\n },\n]\n\nexport default services\n","import React from \"react\"\nimport Title from \"./Title\"\nimport services from \"../constants/services\"\nconst Services = () => {\n return (\n <section className=\"section bg-grey\">\n <Title title=\"services\" />\n <div className=\"section-center services-center\">\n {services.map(service => {\n const { id, icon, title, text } = service\n return (\n <article key={id} className=\"service\">\n {icon}\n <h4>{title}</h4>\n <div className=\"underline\"></div>\n <p>{text}</p>\n </article>\n )\n })}\n </div>\n </section>\n )\n}\n\nexport default Services\n","import React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Hero from \"../components/Hero\"\nimport Services from \"../components/Services\"\n\nimport Projects from \"../components/Projects\"\nimport Seo from \"../components/Seo\"\nconst IndexPage = ({ data }) => {\n const {\n allStrapiProject: { nodes: projects },\n } = data\n return (\n <>\n <Seo title=\"Home\" />\n <main>\n <Hero />\n <Services />\n\n <Projects title=\"featured projects\" showLink projects={projects} />\n </main>\n </>\n )\n}\nexport const query = graphql`\n {\n allStrapiProject(filter: { featured: { eq: true } }) {\n nodes {\n description\n featured\n github\n id\n title\n url\n stack {\n id\n title\n }\n image {\n childImageSharp {\n gatsbyImageData(placeholder: BLURRED, layout: CONSTRAINED)\n }\n }\n }\n totalCount\n }\n }\n`\nexport default IndexPage\n"],"names":["description","title","github","stack","url","image","index","className","G","getImage","alt","to","map","item","key","id","href","projects","showLink","Title","project","socialLinks","link","icon","S","src","placeholder","text","services","service","data","allStrapiProject","nodes","Seo","Projects"],"sourceRoot":""}