opensea-whitelabel icon indicating copy to clipboard operation
opensea-whitelabel copied to clipboard

Black middle screen & menu not active when deploying

Open eroticpink opened this issue 3 years ago • 4 comments

Hi there,

I have encountered issues after deployment:

  1. in the middle it is black so the items from the opensea.io/assets/eroticpink are not clickable
  2. the menu in the right upper corener is not clickable.
  3. After changing my market place in the header to Erotic Pink NFT in github the change doesn't come through.

Thanks in advance.

eroticpink avatar Apr 12 '21 11:04 eroticpink

Have you managed to get the issue of black screen resolved?

itszoose avatar May 01 '21 06:05 itszoose

Not yet.

Op za 1 mei 2021 09:09 schreef itszoose @.***>:

Have you managed to get the issue of black screen resolved?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ProjectOpenSea/opensea-whitelabel/issues/8#issuecomment-830560273, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATMV724ZRPY3KPCOMS6FLMDTLOEKFANCNFSM42ZEJA2A .

eroticpink avatar May 01 '21 08:05 eroticpink

I have got the issue fixed by reverting removing the ifram-resizer and just using the regular iframe, this is how my App.tsx looks like, for the moment I have removed the default heading, and footer and trying to implement my own

import React from "react";
import { ASSET_URL, CHOSEN_THEME } from "./constants";
import logo from "./static/images/logo.png";
import "./static/styles/App.css";
import footer from "./static/images/footer.png";
import { iframeResizer } from "iframe-resizer";
import "./static/styles/App.css";

const embeddedUrl = `${ASSET_URL}?embed=${CHOSEN_THEME}`;

class App extends React.Component {
    // componentDidMount() {
    //     iframeResizer({ log: false }, "#opensea-iframe");
    // }

    render() {
        return (
            <>
                <nav className='navbar navbar-expand-lg navbar-light bg-light'>
                    <div className='container-fluid'>
                        <a className='navbar-brand' href='#'>
                            Navbar
                        </a>
                    </div>
                </nav>

                <iframe
                    id='opensea-iframe'
                    className='h-100'
                    title='Embedded OpenSea Marketplace'
                    src={embeddedUrl}
                    width='100%'
                    height='100%'
                    frameBorder='0'
                    allowFullScreen
                ></iframe>
            </>
        );
    }
}

export default App;

itszoose avatar May 01 '21 08:05 itszoose

Thanks fot the tip, i will certainly try.👍

Op za 1 mei 2021 11:30 schreef itszoose @.***>:

I have got the issue fixed by reverting removing the ifram-resizer and just using the regular iframe, this is how my App.tsx looks like, for the moment I have removed the default heading, and footer and trying to implement my own

`import React from "react"; import { ASSET_URL, CHOSEN_THEME } from "./constants"; import logo from "./static/images/logo.png"; import "./static/styles/App.css"; import footer from "./static/images/footer.png"; import { iframeResizer } from "iframe-resizer"; import "./static/styles/App.css";

const embeddedUrl = ${ASSET_URL}?embed=${CHOSEN_THEME};

class App extends React.Component { // componentDidMount() { // iframeResizer({ log: false }, "#opensea-iframe"); // }

render() { return ( <> <nav className='navbar navbar-expand-lg navbar-light bg-light'> <div className='container-fluid'> <a className='navbar-brand' href='#'> Navbar

        <iframe
            id='opensea-iframe'
            className='h-100'
            title='Embedded OpenSea Marketplace'
            src={embeddedUrl}
            width='100%'
            height='100%'
            frameBorder='0'
            allowFullScreen
        ></iframe>
    </>
);

}

}

export default App; `

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ProjectOpenSea/opensea-whitelabel/issues/8#issuecomment-830580399, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATMV722UX72THARY6KOHUSLTLOUXZANCNFSM42ZEJA2A .

eroticpink avatar May 01 '21 14:05 eroticpink