Skip to content

Commit cc65871

Browse files
committed
merge
2 parents e5e1e11 + 1682426 commit cc65871

File tree

6 files changed

+55
-2
lines changed

6 files changed

+55
-2
lines changed

resources/public/agent-chatb0x.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ <h5 class="media-heading">Some User</h5> <!-- username -->
4444

4545
<div class="list-group col-lg-2 pull-right">
4646
<a class="list-group-item active" href="#">
47-
Some User
47+
Visitor(s)
4848
</a>
4949
<a class="list-group-item" href="#">Waiting User 1</a>
5050
<a class="list-group-item" href="#">Waiting User 2</a>

resources/public/css/jumbotron.css

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
.jumbotron {
2+
background-position: center;
3+
background-size: 100% auto;
4+
background-image: url(/img/artistic.jpg);
5+
border-radius: 6px;
6+
}
7+
8+
.jumbotron h1 {
9+
color: #fff;
10+
/*text-shadow: 2px 2px #100e19;*/
11+
font-size: 63px;
12+
line-height: 75px;
13+
font-weight: 700;
14+
}
15+
.jumbotron p {
16+
color: #fff;
17+
text-shadow: 2px 2px #100e19;
18+
line-height: 1.5em;
19+
/*-webkit-text-stroke: 1px black;*/
20+
}

resources/public/img/artistic.jpg

348 KB
Loading

resources/public/landing.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
@import url("css/bootstrap-theme.min.css");
1010
@import url("css/layout.css");
1111
@import url("css/style.css");
12+
@import url("css/jumbotron.css");
1213
</style>
1314
</head>
1415
<body>

resources/public/marketing.html

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<div class="marketing">
2+
<div class="jumbotron">
3+
<div class="container">
4+
<h1>chatb&#216;x</h1>
5+
</div> <!-- container -->
6+
</div> <!-- jumbotron -->
7+
8+
<div class="container">
9+
<div class="row">
10+
<div class="col-md-4">
11+
<h2>Communicate Effectively</h2>
12+
<p>When customers land on your site they are presented with a simple window with which they can communicate with agents from your company.</p>
13+
<p><a class="btn btn-default" href="#" role="button">Learn More</a></p>
14+
</div>
15+
<div class="col-md-4">
16+
<h2>Bleeding Edge Tech</h2>
17+
<p>We built this service using Clojure - a modern LISP for tackling modern problems.</p>
18+
<p><a class="btn btn-default" href="#" role="button">See Our Tech</a></p>
19+
</div>
20+
<div class="col-md-4">
21+
<h2>Sign Up</h2>
22+
<p>Click the button below to sign up and see what chatb0x is all about!</p>
23+
<p><a class="btn btn-default" href="#" role="button">Sign Up</a></p>
24+
</div>
25+
</div>
26+
</div> <!-- container -->
27+
</div> <!-- marketing -->
28+

src/chatb0x/core.clj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@
6262
(html/defsnippet admin-dash "public/admin-dashboard.html"
6363
[:div.container] [])
6464

65+
(html/defsnippet marketing "public/marketing.html"
66+
[:div.marketing] [])
67+
6568
(html/defsnippet auth-profile (io/resource "public/welcome.html")
6669
[:body :div.user]
6770
[req]
@@ -93,7 +96,7 @@
9396
(html/deftemplate landing (io/resource "public/landing.html")
9497
[req]
9598
[:body :div.navbar] (html/substitute (navbar req))
96-
[:body :#content] (html/substitute (non-app-content req))
99+
[:body :#content] (html/substitute (marketing))
97100
[:body] (brepl-injection))
98101

99102
;;; Default page for erroneous logins
@@ -194,3 +197,4 @@
194197
(wrap-session)
195198
;;(wrap-lint)
196199
))
200+

0 commit comments

Comments
 (0)