Checkout The Live Project: HERE!
Users should be able to:
- View the optimal layout for each page depending on their device's screen size
- See hover states for all interactive elements throughout the site
- Live Site URL: Netlify
- Flexbox
- CSS Grid
- Mobile-first workflow
- Next.js - React framework
- Node.js - JS Runtime
- Tailwind CSS - CSS Framework
{ "title": "The Mountains", "images": { "desktop":
"./assets/stories/desktop/mountains.jpg", "mobile":
"./assets/stories/mobile/mountains.jpg", "tablet":
"./assets/stories/tablet/mountains.jpg" }, "date": "April 16th 2020",
"photographer": "John Appleseed", "isHomepage": true, "id": 2 },
#tw:hover {
fill: url(#gradientTW);
}
{
storiesItemsData
.filter((media) => !media.isHomepage && !media.isMainCard)
.map((media) => (
<StoriesCards
title={media.title}
mobile={media.images.mobile}
desktop={media.images.desktop}
tablet={media.images.tablet}
date={media.date}
photographer={media.photographer}
key={media.id}
/>
));
}
const [isActive, setActive] = useState(false);
const toggleClass = () => {
setActive(!isActive);
I would like to learn more about working with JSON data in React & NextJS projects. I would also like to gain more experience creating reusable components.
-
Grid Template Cols - TailwindCSS - This helped me with creating the layouts to ensure they were responsive and taking up their required space. Tailwind has really great documentation that makes using their framework a breeze.
-
Kevin Powell - Are you writing responsive CSS the wrong way? - This is an amazing video that really helped me understand that less is more when working with CSS and responsiveness.
- Website - Tyrell Curry
- Frontend Mentor - LinkedIn
- Twitter - @Tyrell_io
Special thanks to Rodderick Garland for collaborating on the project.