Skip to content

Commit

Permalink
Update landing page (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
rendall authored Aug 24, 2023
1 parent 65ff3f8 commit 85acbb8
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 21 deletions.
Binary file removed src/static/font/simple-comment.woff
Binary file not shown.
Binary file removed src/static/font/simple-comment.woff2
Binary file not shown.
Binary file added src/static/font/subset-Comfortaa-Medium.woff
Binary file not shown.
Binary file added src/static/font/subset-Comfortaa-Medium.woff2
Binary file not shown.
51 changes: 30 additions & 21 deletions src/static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,12 @@
<link rel="stylesheet" type="text/css" href="./css/simple-comment.css" />
<style>
@font-face {
font-family: "Comfortaa";
font-family: "Simple Comment";
font-style: normal;
font-weight: 500;
font-display: block;
src: url(../font/simple-comment.woff2) format("woff2");
src: url(../font/subset-Comfortaa-Medium.woff2) format("woff2"),
url(../font/subset-Comfortaa-Medium.woff) format("woff");
}

@font-face {
Expand Down Expand Up @@ -94,12 +95,13 @@

h1,
h2,
hr {
hr,
i {
color: #3287e6;
}

.simple-comment-logotype {
font-family: "Comfortaa", sans-serif;
font-family: "Simple Comment", sans-serif;
font-weight: 500;
}

Expand Down Expand Up @@ -133,6 +135,11 @@
line-height: 1.61111em;
}

p.question-of-the-day {
margin: 1rem;
font-size: 1.1rem;
}

a:hover {
color: #007b8c;
text-decoration: underline;
Expand Down Expand Up @@ -174,7 +181,7 @@
border: 1px solid #3287e6;
padding: 1rem;
box-sizing: border-box;
box-shadow: 0 0 0.3rem 0 rgba(50, 135, 230, 0.5) t;
box-shadow: 0 0 0.3rem 0 rgba(50, 135, 230, 0.5);
}

form.contact-form {
Expand Down Expand Up @@ -208,7 +215,6 @@
class="simple-comment-logo"
version="1.1"
viewBox="0 0 100 100"
alt="thought bubble with a slight smile"
xmlns="http://www.w3.org/2000/svg"
>
<g>
Expand All @@ -228,10 +234,10 @@ <h1 class="simple-comment-logotype">Simple Comment</h1>
</header>
<main>
<section class="simple-comment intro">
<h2 class="simple-comment-logotype">Simple Comment newsletter</h2>
<p class="instructions">
<i>Simple Comment</i> is a commenting system that can be added easily
to any website. To join the mailing list for news and updates, or to
request your own free instance, add your email address here.
To join the mailing list for news and updates, or to request your own
free instance of <i>Simple Comment</i>, add your email address here.
</p>
<form
class="contact-form"
Expand All @@ -258,19 +264,22 @@ <h1 class="simple-comment-logotype">Simple Comment</h1>
<button type="submit">Join</button>
</form>
</section>
<h2 class="simple-comment-logotype">Simple Comment demo:</h2>
<p class="instructions">
To try out Simple Comment, add a comment and add your info. You can use
the Question of the Day as a prompt, or type whatever is on your mind.
</p>
<p>
Question for the day: What subjects should be taught in school but are
not?
</p>
<section id="simple-comment-display"></section>
<section class="simple-comment">
<h2 class="simple-comment-logotype">Simple Comment demo</h2>
<p class="instructions">
<i>Simple Comment</i> is a commenting system that can be added easily
to any website. To try it out, add a comment and your info. You can
use the Question of the Day as a prompt, or type whatever is on your
mind.
</p>
<p class="question-of-the-day">
Question for the day: What's the most interesting book or movie you've seen recently?
</p>
<div id="simple-comment-display"></div>
</section>
</main>
<script type="module" src="./js/simple-comment.js" defer></script>
<script type="module" defer>
<script type="module" src="./js/simple-comment.js"></script>
<script type="module">
function toTopic(url) {
return url.replace("://", "-").replace(/\/$/, "").replace(/\W/g, "-")
}
Expand Down

0 comments on commit 85acbb8

Please sign in to comment.