alvarotrigo / react-fullpage

Official React.js wrapper for fullPage.js https://alvarotrigo.com/react-fullpage/
GNU General Public License v3.0
1.28k stars 179 forks source link

I opened the license key, but there was a problem. #423

Closed jungsikjeong closed 1 year ago

jungsikjeong commented 1 year ago
'use client';

import ReactFullpage from '@fullpage/react-fullpage';

type Credits = {
  enabled?: boolean;
  label?: string;
  position?: 'left' | 'right';
};

const credits: Credits = {
  enabled: true,
  label: '',
  position: 'left',
};
const FullPages = () => (
  <ReactFullpage
    //fullpage options
    credits={credits}
    licenseKey={'OPEN-SOURCE-GPLV3-LICENSE'}
    scrollingSpeed={900}
    render={({ state, fullpageApi }) => {
      return (
        <ReactFullpage.Wrapper>
          <div className='section w-full h-full bg-red-200'>
            <p>Section 1 (welcome to fullpage.js)</p>
            <button onClick={() => fullpageApi.moveSectionDown()}>
              Click me to move down
            </button>
          </div>
          <div className='section bg-red-500'>
            <p>Section 2</p>
          </div>
        </ReactFullpage.Wrapper>
      );
    }}
  />
);

export default FullPages;
licenseKey={'OPEN-SOURCE-GPLV3-LICENSE'}

Aren’t you writing this?

This error message occurs

app-index.js:31 fullPage: Incorrect licenseKey. Get one for fullPage.js version 4 here: window.console.error @ app-index.js:31 app-index.js:31 fullPage: https://alvarotrigo.com/fullPage/pricing

alvarotrigo commented 1 year ago

Make sure to apply the license specified on the fullpage.js documentation.

I can't see OPEN-SOURCE-GPLV3-LICENSE anywhere :)