Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Commit

Permalink
Fix test to be valid syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
wmealing committed Oct 29, 2023
1 parent df4578f commit 6704c60
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 51 deletions.
105 changes: 54 additions & 51 deletions priv/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,57 +4,60 @@
<title>Tank Bison with lazer eyes.</title>
<meta charset="UTF-8">
<script src="https://unpkg.com/htmx.org@1.9.6"></script>
<style>
html {
max-width: 80ch;
padding: 3em 1em;
margin: auto;
line-height: 1.75;
font-size: 1.25em;
background-color: rgb( 0 70 67);
color: rgb(171 209 198);
font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
line-height: 1.5;
}

button {
background-color: #f9bc60;
color: #001e1d;
border-radius: 44px;
width: 10rem;
height: 4rem;
font-size: 1rem; /* 16px */
padding: 20px;
}

a {
color: #FFFFFF;
}

p {
padding-left: 1.25rem; /* 20px */
padding-right: 1.25rem; /* 20px */
padding-top: 1.25rem;
}

div {
padding-left: 1.25rem; /* 20px */
padding-right: 1.25rem; /* 20px */
padding-top: 1.25rem; /* 20px */
}

pre {
background-color: #BDB76B;
color: #001e1d;
}

/* Do this because otherwise i can't see the highlighting */
pre::selection {
/* Change highlight background color to black */
background: #000;
/* Change highlight text color to red */
color: #ff0000;
}

</style>

<style>
html {
max-width: 80ch;
padding: 3em 1em;
margin: auto;
line-height: 1.75;
font-size: 1.25em;
background-color: rgb( 0 70 67);
color: rgb(171 209 198);
font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
line-height: 1.5;
}

button {
background-color: #f9bc60;
color: #001e1d;
border-radius: 24px;
width: 10rem;
height: 4rem;
font-size: 1rem; /* 16px */
}

a {
color: #FFFFFF;
}

p {
padding-left: 1.25rem; /* 20px */
padding-right: 1.25rem; /* 20px */
}

.center {
margin: auto;
width: 50%;
padding: 10px;
}

table, th, td {
border-left: 40px;
padding: 5px;
border: 1px solid white;
}


div.reallybig {
font-size: 126px;
color: rgb(255,255,102);
}

</style>

</head>

Expand Down Expand Up @@ -97,7 +100,7 @@ <h1 class="text-black-600 text-5xl font-bold">
</p>

<p class="py-5">
Individuals can become defensive when a new technology obsoletes or challenges a thought where they have invested time money or energy. There is a natural resistance to change, people are comfortable with what they know. Fear of the unknown can make individuals defensive, overwhelmed or uncertain. Investing significant time, money, or effort into technology can make them defensive and reluctance to embrace the advantages of the new, despite its potential benefits.
Individuals can become defensive when a new technology obsoletes or challenges a thought where they have invested time money or energy. There is a natural resistance to change, people are comfortable with what they know. Fear of the unknown can make individuals defensive, overwhelmed or uncertain. Investing significant time, money, or effort into technology can make them defensive and reluctance to embrace the advantages of the new, despite its potential benefits. <a href="https://matt.sh/htmx-is-a-erlang"> Matt.sh</a> has some examples on his site that may be enlightening.
</p>

<p class="py-5">
Expand Down
4 changes: 4 additions & 0 deletions test/untitled_project-tests.lfe
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,7 @@
(deftest template-loads-correctly
(lfe_io:format "T: ~s" '(t))
(is-equal #"RESULT\n" (template:load "test-template.txt")))

;; at the moment, i need validation to always fail.
(deftest form-validation-always-fails
(is-equal 'false (barista-routes:validate 1 2 )))

0 comments on commit 6704c60

Please sign in to comment.