Skip to content
Open
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ _dist_esm

.vercel
playwright-report
app/realm.ts
1 change: 1 addition & 0 deletions app/client.imba
Original file line number Diff line number Diff line change
Expand Up @@ -117,5 +117,6 @@ tag app
<div route="/playground$">
<Playground>

<footer.footer>

imba.mount <app>
40 changes: 40 additions & 0 deletions app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
:root { --blue:#4665AF; --purple:#8456A3; --pink:#F1709B; --light-blue:#4BB8E9; --color-light:#fff; --primary:#4665AF }

Expand Down Expand Up @@ -74,6 +75,32 @@
button.is-primary {
background-color: var(--primary) !important;
}

.footer {
position: fixed;
padding: 1rem;
bottom: 0;
width: 100%;
height: 2rem;
color: #bfbfbf;
font-size: 1rem;

}

.info {
float: left;
margin-left: 2rem;
}

.social {
float: right;
margin-right: 5rem;
}
.fa {
font-size: 1.2rem;
color: #bfbfbf;
padding-left: 2rem;
}
</style>
<!-- reference to the client script styles -->
<style src="*"></style>
Expand All @@ -82,4 +109,17 @@
<!-- reference to the client script -->
<script type="module" src="./client.imba"></script>
</body>
<footer class="footer">
<span class="info">&copy;
<script>document.write(new Date().getFullYear());</script>
Elsa Health Inc. All rights reserved.
</span>
<div class="social">
<a href="#"><i class="fa fa-facebook"></i></a>
<a href="#"><i class="fa fa-instagram"></i></a>
<a href="#"><i class="fa fa-twitter"></i></a>
<a href="#"><i class="fa fa-github"></i></a>
<a href="#"><i class="fa fa-dribbble"></i></a>
</div>
</footer>
</html>
6 changes: 3 additions & 3 deletions app/realm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

import * as Realm from "realm-web";

const realm_app_id = process.env.REALM_APP_ID;
const CLUSTER_NAME = process.env.CLUSTER_NAME;
const DB_NAME = process.env.DB_NAME;
const realm_app_id = "process.env.REALM_APP_ID";
const CLUSTER_NAME = "process.env.CLUSTER_NAME";
const DB_NAME = "process.env.DB_NAME";

export const app = new Realm.App({ id: realm_app_id });
export default Realm;
Expand Down
Loading