Skip to content
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.

Black middle screen & menu not active when deploying #8

Open
eroticpink opened this issue Apr 12, 2021 · 4 comments
Open

Black middle screen & menu not active when deploying #8

eroticpink opened this issue Apr 12, 2021 · 4 comments

Comments

@eroticpink
Copy link

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 eroticpink changed the title Black middle and menu not activescreen deploying Black middle screen & menu not active when deploying Apr 12, 2021
@itszoose
Copy link

itszoose commented May 1, 2021

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

@eroticpink
Copy link
Author

eroticpink commented May 1, 2021 via email

@itszoose
Copy link

itszoose commented May 1, 2021

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;

@eroticpink
Copy link
Author

eroticpink commented May 1, 2021 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants