Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Wifi Code to the ROOM display #3

Open
samueljon opened this issue Jan 9, 2020 · 0 comments
Open

Add Wifi Code to the ROOM display #3

samueljon opened this issue Jan 9, 2020 · 0 comments

Comments

@samueljon
Copy link

samueljon commented Jan 9, 2020

Branch: opinkerfi
Add wifi QR code support to room display in sidebar.js

Create React component f.ex. <Wifi ....>

WIP: example markup as a initial starting point to add to sidebar.js:

   <div id="single-room__wifi">
     <div id="single-room__wifi-title">
       <h2>{config.wifiTitle}</h2>
     </div>
     <div id="single-room__wifi-logo">
     <img id="single-room__wifi-image" src="/svgs/wi-fi.svg" alt="Wifi" />  
     </div>
     
     <div id="single-room__wifi-text">
       <p>Wifi: wifi-name</p>
       <p>Password: password</p>
     </div>
     <img id="single-room__wifi-image" src="/wifi.png" alt="Wifi Code" />
   </div>

WIP: Initial SCSS as a starting point into global.scss:

    #single-room__wifi {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      width: 30%;
      position: absolute;
      bottom: 8px;
      right: 16px;
    }
    #single-room__wifi-title {
      
      text-transform: uppercase;
      text-align: center;
      font-size: 1.8vw;
      font-weight: lighter;
      width: 100%;
    }

    #single-room__wifi-text {
      display: inline-block;
      flex: 1;
      padding-left: 2em;
    }
    #single-room__wifi-image {
      display: inline-block;
      flex: 1;
      max-height: 100px;
      max-width: 100px;
      align-content: flex-start;
    }

wificode

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

No branches or pull requests

1 participant