Skip to content

Commit

Permalink
Temp: Mate
Browse files Browse the repository at this point in the history
  • Loading branch information
francoisno authored Apr 7, 2023
1 parent ee92275 commit 6f5bfdf
Show file tree
Hide file tree
Showing 3 changed files with 88 additions and 0 deletions.
44 changes: 44 additions & 0 deletions mate.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<title>botexpo</title>
<html>
<head>
<script crossOrigin src="https://unpkg.com/react@16/umd/react.development.js"></script>
<script crossOrigin src="https://unpkg.com/react-dom@16/umd/react-dom.development.js"></script>
<script crossOrigin src="https://unpkg.com/@emotion/core@10/dist/core.umd.min.js"></script>
<script crossOrigin src="https://unpkg.com/@emotion/styled@10/dist/styled.umd.min.js"></script>
<script crossOrigin src="https://unpkg.com/emotion-theming@10/dist/emotion-theming.umd.min.js"></script>
<script
crossOrigin
src="https://unpkg.com/tock-react-kit@latest/build/tock-react-kit.umd.js"
></script>
<style>
body {
background-image: url("./mate_bg.png");
background-size: 50%;
background-repeat: no-repeat;
background-position: right;
background-color: black;
}
</style>
</head>
<body>
<div id="chat"></div>
<script>
TockReact.renderChat(document.getElementById('chat'), 'https://bot-botexpo.dev.aws.vsct.fr/io/botexpo/botexpo/web', 'referralParameter', {
palette: {
text: {
user: 'black',
bot: 'black',
card: 'black',
input: 'black',
},
background: {
user: 'white',
bot: 'orange',
card: 'orange',
input: 'white',
},
},
});
</script>
</body>
</html>
Binary file added mate_bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 44 additions & 0 deletions prod.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<title>botexpo</title>
<html>
<head>
<script crossOrigin src="https://unpkg.com/react@16/umd/react.development.js"></script>
<script crossOrigin src="https://unpkg.com/react-dom@16/umd/react-dom.development.js"></script>
<script crossOrigin src="https://unpkg.com/@emotion/core@10/dist/core.umd.min.js"></script>
<script crossOrigin src="https://unpkg.com/@emotion/styled@10/dist/styled.umd.min.js"></script>
<script crossOrigin src="https://unpkg.com/emotion-theming@10/dist/emotion-theming.umd.min.js"></script>
<script
crossOrigin
src="https://unpkg.com/tock-react-kit@latest/build/tock-react-kit.umd.js"
></script>
<style>
body {
background-image: url("./mate_bg.png");
background-size: 50%;
background-repeat: no-repeat;
background-position: left;
background-color: black;
}
</style>
</head>
<body>
<div id="chat"></div>
<script>
TockReact.renderChat(document.getElementById('chat'), 'https://bot-botexpo.prod.aws.vsct.fr/io/botexpo/botexpo/web', 'referralParameter', {
palette: {
text: {
user: 'black',
bot: 'black',
card: 'black',
input: 'black',
},
background: {
user: 'white',
bot: 'orange',
card: 'orange',
input: 'white',
},
},
});
</script>
</body>
</html>

0 comments on commit 6f5bfdf

Please sign in to comment.