BHelpful/BHelpful-Website

Extract JS Object data

Closed this issue · 1 comments

Extract object data from .svelte files to a json file for simpler page updates

Hello, I'd like to work on this!
I assume that you want data like the following to be in a separate main json file so you only have make changes to that specific json file?

    const socials = [
        {
            name: 'Github',
            description: 'Looking to contribute?',
            logo: invertocatLogo,
            url: 'https://github.com/bhelpful',
        },
        {
            name: 'LinkedIn',
            description: 'Connect with us',
            logo: 'https://cdn.worldvectorlogo.com/logos/linkedin-icon-2.svg',
            url: 'https://linkedin.com/company/bhelpful',
        },
    ];