This commit is contained in:
Doug Hoyte
2023-09-28 16:47:37 -04:00
parent c1441b0f18
commit 806dd74d4e
4 changed files with 31 additions and 12 deletions

View File

@ -1 +1,2 @@
## Following secret key is just a junk testing key
nostril --envelope --sec c1eee22f68dc218d98263cfecb350db6fc6b3e836b47423b66c62af7ae3e32bb --content "$(perl -MYAML -MJSON::XS -E 'print encode_json(YAML::LoadFile(q{homepage-community.yaml}));')" --kind 33700 --tag d homepage | websocat ws://127.0.0.1:7777

View File

@ -19,6 +19,7 @@
body {
font-family: sans-serif;
line-height: 1.2;
}
a:link, a:visited {
@ -61,6 +62,12 @@ h2 {
display: flex;
align-items: center;
@media only screen and (max-width: 576px){
.oddbean-name {
display: none;
}
}
.sitename {
color: black;
}
@ -76,7 +83,7 @@ h2 {
margin-left: 5px;
}
.new-post {
.new-post-link {
margin-left: 20px;
}
@ -86,6 +93,7 @@ h2 {
}
.login {
margin-left: 20px;
margin-right: 5px;
}
@ -244,6 +252,10 @@ table.vert {
color: red;
text-weight: bold;
}
#post-text {
max-width: 100%;
}
}

View File

@ -8,11 +8,11 @@
</p>
<p>
<b>No crap.</b> I just want to build a great distraction-free discussion site. No elements bouncing around as the page loads. No cookie pop-ups. In fact, no cookies, period. No "sign-up to our newsletter" modals that appear half way down. No dark patterns to boost engagement numbers. No tracking. Javascript is optional (only needed for posting).
<b>No crap.</b> I just want to build a great distraction-free discussion site. No elements bouncing around as the page loads. No cookie pop-ups. In fact, no cookies, period. No tracking analytics. No "sign-up to our newsletter" modals that appear half way down. No dark patterns to boost engagement numbers. Javascript is optional (only needed for posting).
</p>
<p>
<b>No images.</b> The written word is one of the greatest achievements of civilisation. They say "a picture is worth a thousand words", but consider this: If you give me a picture, I can describe it in great detail using a thousand words. But if I give you a thousand words, can you draw a picture that conveys all this information?
<b>No images.</b> The written word is one of the greatest achievements of civilisation. They say "a picture is worth a thousand words", but consider this: If you give me a picture, I can describe it in exquisite detail using a thousand words. But if I give you a thousand words, can you draw a picture that conveys all this information?
</p>
<p>
@ -22,4 +22,8 @@
<p>
<b>Is there an algorithm?</b> Yes, <a href="https://www.tbray.org/ongoing/When/202x/2022/11/28/On-Algorithms">computers don't work without algorithms</a>. The goal of Oddbean is to make the algorithms used for ranking and filtering posts and comments transparent. When communities are ready, you'll be able to click on "algo" at the top of a community page and see exactly how it works. If you don't like it, you can fork it to your own community. The homepage is just another community, except one that I control. Don't like it? Don't use it.
</p>
<p>
- <a href="/u/npub1yxprsscnjw2e6myxz73mmzvnqw5kvzd5ffjya9ecjypc5l0gvgksh8qud4">Doug</a>
</p>
</div>

View File

@ -11,8 +11,9 @@
<body>
<div id="ob-header">
<span class="links">
<a href="/"><img class="logo" src="$(ctx.staticFilesPrefix)/oddbean.svg?$(ctx.staticOddbeanSvgHash)"></a>
<a href="/" class="logo-link"><img class="logo" src="$(ctx.staticFilesPrefix)/oddbean.svg?$(ctx.staticOddbeanSvgHash)"></a>
<span>
<a href="/" class="sitename">
<span class="oddbean-name">Oddbean</span>
<> ?(ctx.communitySpec)
@ -21,8 +22,9 @@
</a>
<a href="/algo" class="community-rules">(algo)</a> ?(ctx.communitySpec)
</span>
<a href="/post" class="new-post">new post</a>
<a href="/post" class="new-post-link">new post</a>
<a href="/about" class="about">about</a>
</span>