magnum_opus
magnum_opus

Reputation: 1

Creating pages in React and Next.js

I've created my first ever website portfolio (GitHub link) so I wanted to create new pages to showcase my work and I was thinking about using modals.

This is how my project is structured:

project structure

What I can't figure out yet is the following: In my Work.jsx file I've been working with workData that I've imported from the assets.js file.

workData is basically this:

export const workData = [
{
    title: 'Frontend project',
    description: 'Web Design',
    bgImage: '/work-1.png',
},
{
    title: 'Geo based app',
    description: 'Mobile App',
    bgImage: '/work-2.png',
},
{
    title: 'UI/UX designing',
    description: 'UI/UX Design',
    bgImage: '/work-3.png',
},

What I'm trying to figure out is how to create modals, how to link them in the Work.jsx file and how to link them with the assets.js file.

Any help would be much appreaciated!

A good example of what I want to do (Experience section): https://nbarkiya.xyz

Upvotes: -3

Views: 45

Answers (0)

Related Questions