Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
129 changes: 129 additions & 0 deletions examples/sdk/browser/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
.card {
padding: 40px;
background-color: white;
width: 30%;
}

.center {
display: block;
margin: 0 auto;
}

.action-container {
width: 50%;
padding: 20px;
}

.card-header {
font-family: 'DM Sans', Arial, sans-serif;
font-size: 22px;
color: #2d2d2d;
text-align: center;
line-height: 120%;
margin-bottom: 24px;
}
.footer {
width: 30%;
padding: 40px;
text-align: center;
}
p {
font-family: 'DM Sans', Arial, sans-serif;
font-weight: 300;
font-size: 15px;
}

.action-button {
cursor: pointer;
background-color: #3ddc91;
padding: 12px 35px;
border-radius: 50px;
margin-bottom: 5px;
width: 40%;
text-align: center;
}
.action-button a {
color: #132322;
font-family: 'DM Sans', Helvetica, Arial, sans-serif;
font-size: 14px;
font-weight: 600;
font-style: normal;
line-height: 20px;
text-decoration: none;
display: block;
}

img {
-ms-interpolation-mode: bicubic;
border: 0;
}

p,
a,
li,
td,
blockquote {
mso-line-height-rule: exactly;
}

p,
a,
li,
td,
body,
table,
blockquote {
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}

/*------ Reset Style ------ */
* {
-webkit-text-size-adjust: none;
-webkit-text-resize: 100%;
text-resize: 100%;
}

table {
border-spacing: 0 2px !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
display: block;
margin: 0;
padding: 0;
color: #1e2127;
}

img,
a img {
border: 0;
height: auto;
outline: none;
text-decoration: none;
}

body {
height: 100%;
margin: 0;
padding: 0;
width: 100%;
}

.footerAddressInfo {
color: #1e2127;
font-family: 'DM Sans', Arial, sans-serif;
font-size: 16px;
margin-top: 16px;
margin-bottom: 8px;
}
/*------ Google Font Style ------ */
[style*='DM Sans'] {
font-family: 'DM Sans', Helvetica, Arial, sans-serif !important;
}
76 changes: 76 additions & 0 deletions examples/sdk/browser/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en">
<head>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="" />
<link href="https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;700&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="./index.css" />
<script src="./lib/index.js" type="module"></script>
</head>

<body style="background-color: #d8f8e9; padding: 50px">
<div class="card center">
<a href="https://www.saucelabs.com/">
<img
src="https://info.saucelabs.com/rs/468-XBT-687/images/SL%20logo%20horizontal%20color%2Bdark%402x.png"
width="250"
alt="Sauce Labs"
border="0"
class="center"
/>
</a>

<br />
<h1 class="card-header" style="text-align: left">Welcome to the Backtrace demo</h1>
<p style="text-align: left">Please pick one of the available options:</p>
<br />
<div class="action-container center">
<div class="action-button center">
<a class="text" id="send-error" target="_blank"> Send an error</a>
</div>
<div class="action-button center">
<a class="text" id="send-message" target="_blank">Send a message</a>
</div>
</div>
<div class="summary-information">
<p>If you have any questions or concerns, please contact us at</p>
<a href="mailto:help@saucelabs.com">help@saucelabs.com.</a>
<br />
<br />
<p>Happy testing,</p>
<p>The Sauce Labs Team</p>
</div>
</div>
<div class="footer center">
<div class="center" style="width: 125px">
<a href="https://www.facebook.com/saucelabs"
><img
src="https://info.saucelabs.com/rs/468-XBT-687/images/facebook.png"
height="30px"
width="30"
border="0"
/></a>
<a href="https://www.linkedin.com/company/sauce-labs/"
><img
src="https://info.saucelabs.com/rs/468-XBT-687/images/Linkedin.png"
height="30px"
width="30"
border="0"
style="padding-left: 12px; padding-right: 12px"
/></a>
<a href="http://www.twitter.com/saucelabs/"
><img
src="https://info.saucelabs.com/rs/468-XBT-687/images/twitter.png"
height="30px"
width="30"
border="0"
/></a>
</div>
<div>
<h5>Sauce Labs</h5>
<p>450 Sansome Street, 9th Floor, San Francisco, CA 94111</p>
<p>Copyright © 2023 Sauce Labs. All rights reserved.</p>
</div>
</div>
</body>
</html>
Loading