Skip to content

Commit

Permalink
UI setup for unsupported page
Browse files Browse the repository at this point in the history
Added image
  • Loading branch information
Arun-42 authored and chdinesh1089 committed Oct 5, 2020
1 parent a6226a5 commit 1bc276c
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
17 changes: 17 additions & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,23 @@ button:focus {
#incorrect-url {
font-size: 1.4rem;
color: #695f5f;
width: 80%;
margin: auto;
padding-top: 2rem;
}

#incorrect-url img{
max-width: 100%;
max-height: 100%;
}

#uhimg{
width: 210px;
margin: auto;
}

#uhoh{
text-align: center;
}

input[type="number"]::-webkit-inner-spin-button,
Expand Down
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ getPageURL().then((url) => {
content.removeAttribute("buttons-div");
content.setAttribute("id", "incorrect-url")
content.innerHTML =
"Uh-oh, unsupported URL.<br>Open again in a supported URL format: https://meet.google.com/xxx-xxxx-xxx";
"<div id='uhimg'><img src='error-page.svg'></div><div id='uhoh'>Uh-oh, unsupported URL<div>";
}
});

Expand Down
2 changes: 2 additions & 0 deletions src/static/error-page.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1bc276c

Please sign in to comment.