diff --git a/content/featured/Coming Soon/index.md b/content/featured/Coming Soon/index.md deleted file mode 100644 index 2ea64e8..0000000 --- a/content/featured/Coming Soon/index.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -date: '1' -title: 'Coming Soon!' -cover: './placeholder.jpeg' -github: '' -external: '' -tech: - - blog keywords ---- - -Coming soon! diff --git a/content/featured/Coming Soon/placeholder.jpeg b/content/featured/Coming Soon/placeholder.jpeg deleted file mode 100644 index 08f6273..0000000 Binary files a/content/featured/Coming Soon/placeholder.jpeg and /dev/null differ diff --git a/content/featured/Coming Soon/demo.png b/content/featured/nonono/demo.png similarity index 100% rename from content/featured/Coming Soon/demo.png rename to content/featured/nonono/demo.png diff --git a/content/featured/nonono/index.md b/content/featured/nonono/index.md new file mode 100644 index 0000000..c2aec17 --- /dev/null +++ b/content/featured/nonono/index.md @@ -0,0 +1,11 @@ +--- +date: '1' +title: 'NONONO? More like YESYESYES' +cover: './nonono_cover.jpg' +github: '' +external: 'https://mandymade.digitalpress.blog/nonono/' +keywords: + - food +--- + +Tamago bacon yakitori and saucy ramen broth were the stars. diff --git a/content/featured/nonono/nonono_cover.jpg b/content/featured/nonono/nonono_cover.jpg new file mode 100644 index 0000000..c4c2c8b Binary files /dev/null and b/content/featured/nonono/nonono_cover.jpg differ diff --git a/src/components/sections/featured.js b/src/components/sections/featured.js index c39ec58..71438a8 100644 --- a/src/components/sections/featured.js +++ b/src/components/sections/featured.js @@ -56,7 +56,7 @@ const StyledProject = styled.li` padding: 25px 25px 20px; } } - .project-tech-list { + .project-keywords-list { justify-content: flex-end; @media (max-width: 768px) { @@ -181,7 +181,7 @@ const StyledProject = styled.li` } } - .project-tech-list { + .project-keywords-list { display: flex; flex-wrap: wrap; position: relative; @@ -319,7 +319,7 @@ const Featured = () => { gatsbyImageData(width: 700, placeholder: BLURRED, formats: [AUTO, WEBP, AVIF]) } } - tech + keywords github external cta @@ -348,21 +348,21 @@ const Featured = () => { return (

- Blog Posts + Featured Blog Posts

{featuredProjects && featuredProjects.map(({ node }, i) => { const { frontmatter, html } = node; - const { external, title, tech, github, cover, cta } = frontmatter; + const { external, title, keywords, github, cover, cta } = frontmatter; const image = getImage(cover); return ( (revealProjects.current[i] = el)}>
-

Featured Blog

+

Restaurant review

{title} @@ -373,10 +373,10 @@ const Featured = () => { dangerouslySetInnerHTML={{ __html: html }} /> - {tech.length && ( -
    - {tech.map((tech, i) => ( -
  • {tech}
  • + {keywords.length && ( +
      + {keywords.map((keywords, i) => ( +
    • {keywords}
    • ))}
    )}