From 83b7e28f88548f5dd2d8b8b4d1361e0df61f3a54 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Thu, 26 Sep 2024 12:55:32 -0300 Subject: Integrate LaĆ­sse's code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 9 +- about.html | 33 ------- assets/database_light.svg | 64 ------------ assets/diagram_light.svg | 64 ------------ assets/favicon.svg | 64 ------------ assets/logo.svg | 80 --------------- assets/shield-light.svg | 64 ------------ blog.html | 33 ------- css/reset.css | 48 --------- css/style.css | 184 ---------------------------------- deps.mk | 4 + index.html | 81 --------------- pricing.html | 33 ------- src/base.conf | 2 +- src/database-light.svg | 64 ++++++++++++ src/diagram-light.svg | 64 ++++++++++++ src/favicon.svg | 122 ++++++++++++----------- src/headers.txt | 1 - src/index.adoc | 57 ++++++++++- src/logo.svg | 80 +++++++++++++++ src/shield-light.svg | 64 ++++++++++++ src/style.css | 247 ++++++++++++++++++++++++++++++++++++++++++++++ 22 files changed, 643 insertions(+), 819 deletions(-) delete mode 100644 about.html delete mode 100644 assets/database_light.svg delete mode 100644 assets/diagram_light.svg delete mode 100644 assets/favicon.svg delete mode 100644 assets/logo.svg delete mode 100644 assets/shield-light.svg delete mode 100644 blog.html delete mode 100644 css/reset.css delete mode 100644 css/style.css delete mode 100644 index.html delete mode 100644 pricing.html create mode 100644 src/database-light.svg create mode 100644 src/diagram-light.svg create mode 100644 src/logo.svg create mode 100644 src/shield-light.svg diff --git a/Makefile b/Makefile index a2ca0fc..ae55ab5 100644 --- a/Makefile +++ b/Makefile @@ -85,13 +85,11 @@ derived-assets = \ $(articles.indexentry) \ $(articles.feedentry) \ $(articles.sortdata) \ - out/.gitignore \ side-assets = \ src/blog/*/*/*/*.html*.txt \ src/*.html.*.txt \ src/*.sortdata \ - out/ \ @@ -117,10 +115,6 @@ src/blog.html: $(articles.indexentry) src/blog.htmlbody mkwb html $@-t > $@ rm -f $@-t -out/.gitignore: - mkdir -p $(@D) - echo '*' > $@ - check-unit: @@ -175,9 +169,10 @@ uninstall: +PORT = 3333 ## Run it locally. run: - serve -n -p 3333 -d out/share/doc/website/ + serve -n -p $(PORT) -d '$(DESTDIR)$(DOCDIR)' ALWAYS: diff --git a/about.html b/about.html deleted file mode 100644 index d34e512..0000000 --- a/about.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - Papo - Chat With Freedom - - - -
- -
-
- - - \ No newline at end of file diff --git a/assets/database_light.svg b/assets/database_light.svg deleted file mode 100644 index 46eb289..0000000 --- a/assets/database_light.svg +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - - - image/svg+xml - - - - - - - - - diff --git a/assets/diagram_light.svg b/assets/diagram_light.svg deleted file mode 100644 index 50940c1..0000000 --- a/assets/diagram_light.svg +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - - - image/svg+xml - - - - - - - - - diff --git a/assets/favicon.svg b/assets/favicon.svg deleted file mode 100644 index e97121c..0000000 --- a/assets/favicon.svg +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - - - image/svg+xml - - - - - - - - - diff --git a/assets/logo.svg b/assets/logo.svg deleted file mode 100644 index f9f2976..0000000 --- a/assets/logo.svg +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - image/svg+xml - - - - - - - - PAPO - - - - diff --git a/assets/shield-light.svg b/assets/shield-light.svg deleted file mode 100644 index 5126931..0000000 --- a/assets/shield-light.svg +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - - - image/svg+xml - - - - - - - - - diff --git a/blog.html b/blog.html deleted file mode 100644 index d34e512..0000000 --- a/blog.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - Papo - Chat With Freedom - - - -
- -
-
- - - \ No newline at end of file diff --git a/css/reset.css b/css/reset.css deleted file mode 100644 index 6e3c454..0000000 --- a/css/reset.css +++ /dev/null @@ -1,48 +0,0 @@ -/*http://meyerweb.com/eric/tools/css/reset/ - v2.0 | 20110126 - License: none (public domain) -*/ - -html, body, div, span, applet, object, iframe, -h1, h2, h3, h4, h5, h6, p, blockquote, pre, -a, abbr, acronym, address, big, cite, code, -del, dfn, em, img, ins, kbd, q, s, samp, -small, strike, strong, sub, sup, tt, var, -b, u, i, center, -dl, dt, dd, ol, ul, li, -fieldset, form, label, legend, -table, caption, tbody, tfoot, thead, tr, th, td, -article, aside, canvas, details, embed, -figure, figcaption, footer, header, hgroup, -menu, nav, output, ruby, section, summary, -time, mark, audio, video { - margin: 0; - padding: 0; - border: 0; - font-size: 100%; - font: inherit; - vertical-align: baseline; -} -/* HTML5 display-role reset for older browsers */ -article, aside, details, figcaption, figure, -footer, header, hgroup, menu, nav, section { - display: block; -} -body { - line-height: 1; -} -ol, ul { - list-style: none; -} -blockquote, q { - quotes: none; -} -blockquote:before, blockquote:after, -q:before, q:after { - content: ''; - content: none; -} -table { - border-collapse: collapse; - border-spacing: 0; -} diff --git a/css/style.css b/css/style.css deleted file mode 100644 index 6cf4e4e..0000000 --- a/css/style.css +++ /dev/null @@ -1,184 +0,0 @@ -* { - box-sizing: border-box; -} - -html { - --white: #fbfbfb; - --black: #0c0c0c; - --gray: #333333; - --ligth-gray: #F0F1F5; - --green: #1A7320; - --font-size-small: 15px; - --font-size-normal: 16px; - --font-size-large: 17px; - --font-size-big-1: 22px; - --font-size-big-2: 24px; - --font-size-big-3: 32px; - --font-size-big-4: 46px; - --font-size-big-5: 52px; -} - -a { - cursor: pointer; -} - -body { - font-family: "Open Sans", sans-serif; - line-height: 1.6; -} - -header { - border-bottom: 1px solid lightgray; -} - -.icon { - width: 40px; -} - -.navbar { - display: flex; - justify-content: space-between; - align-items: center; - max-width: 1200px; - margin: 0 auto; - padding-top: 0.5rem; - color: var(--black); -} - -.nav_logo { - width: 120px; -} - -.nav_links { - display: flex; - list-style: none; -} - -.nav_links li a { - color: var(--gray); - margin: 0 1rem; - text-decoration: none; - font-size: 1rem -} - -.nav_links li a:visited { - color: var(--gray); -} - -.nav_links li a:hover { - text-decoration: underline; -} - -.basic_button { - height: 2rem; - font-family: "Open Sans", sans-serif; - border-radius: 3px; - cursor: pointer; - padding: 0 10px; - margin: 0 .2rem; -} - -.big_button { - height: 3rem; - width: 15rem; - margin-top: 2rem; - border-radius: 2rem; - font-size: var(--font-size-large); - align-self: center; - text-transform: uppercase; -} - -.login { - color: var(--black); - border: 1px solid var(--green); - background-color: #fbfbfb; -} - -.sign_up, .big_button { - border: none; - background-color: var(--green); - color: var(--white); -} - -.basic_button:hover { - text-decoration: underline; -} - -.banner { - margin: 100px 0; - text-align: center; - color: var(--black); -} - -.banner h1 { - font-size: var(--font-size-big-5); -} - -.banner p { - font-size: var(--font-size-big-2); - margin-top: 8px; - margin-bottom: 1px; -} - -.why_papo { - background-color: var(--ligth-gray); - padding-bottom: 1.2rem; -} - -.why_papo-container { - margin-right: auto; - margin-left: auto; - padding-top: 1rem; - padding-bottom: 3rem; - max-width: 1200px; - display: flex; - flex-direction: column; -} - -.why_papo h2 { - font-size: var(--font-size-big-3); -} - -.why_papo h3 { - font-size: var(--font-size-big-1); - margin-top: .5rem; -} - -.why_papo-cards-container { - display: flex; - flex-direction: row; - flex-wrap: wrap; - padding: 1.3rem 0; -} - -.why_papo-card { - margin: 0 1rem; - width: 30%; - padding: 1.5rem; - background-color: var(--white); - border-radius: 15px; - box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px; -} - -.features-container { - display: flex; - flex-direction: column; - align-items: center; - max-width: 1200px; - margin: 0 auto; -} - -.features h2 { - font-size: var(--font-size-big-3); - margin-bottom: 0; -} - -.features h3 { - font-size: 20px; - font-weight: 500; - margin-top: .5rem; -} - -footer { - margin-top: 200px; -} diff --git a/deps.mk b/deps.mk index e28deed..45a561d 100644 --- a/deps.mk +++ b/deps.mk @@ -12,10 +12,14 @@ pages.adoc = \ images.svg = \ src/atom.svg \ + src/database-light.svg \ + src/diagram-light.svg \ src/envelope.svg \ src/favicon.svg \ src/link.svg \ src/lock.svg \ + src/logo.svg \ + src/shield-light.svg \ src/blog/1970/01/01/launch.htmlbody src/blog/1970/01/01/launch.snippets src/blog/1970/01/01/launch.conf: src/blog/1970/01/01/launch.adoc src/blog/2000/01/01/feature-ann.htmlbody src/blog/2000/01/01/feature-ann.snippets src/blog/2000/01/01/feature-ann.conf: src/blog/2000/01/01/feature-ann.adoc diff --git a/index.html b/index.html deleted file mode 100644 index d65576f..0000000 --- a/index.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - Papo - Chat With Freedom - - - -
- -
-
- -
-
-

Why Papo?

-
-
- shild icon -

Privacy first hosted team chat

-

- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris varius pulvinar leo id - facilisis. Fusce sodales a odio sed pulvinar. Sed sit amet egestas mauris. -

-
-
- database with an x icon -

No gratuitous data collection

-

- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris varius pulvinar leo id - facilisis. Fusce sodales a odio sed pulvinar. Sed sit amet egestas mauris. -

-
-
- diagram icon -

Build for interoperability

-

- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris varius pulvinar leo id - facilisis. Fusce sodales a odio sed pulvinar. Sed sit amet egestas mauris. -

-
-
- -
-
-
-
-

Chat hoc

-

Purposefully designed to consectetur adipiscing elit

-
-
-
- - - - \ No newline at end of file diff --git a/pricing.html b/pricing.html deleted file mode 100644 index d34e512..0000000 --- a/pricing.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - Papo - Chat With Freedom - - - -
- -
-
- - - \ No newline at end of file diff --git a/src/base.conf b/src/base.conf index 7144806..ad1db5f 100644 --- a/src/base.conf +++ b/src/base.conf @@ -8,7 +8,7 @@ export discussions_url_prefix='https://lists.sr.ht/~euandreh/papoim?search=' export sourcecode_url='https://papo.im/git/website' export sourcecode_url_prefix="$sourcecode_url/tree" export author='papo.im' -export site_name='papo.im: chat with freedom' +export site_name='Papo' export feed_title='Articles from papo.im' export feed_url='atom.xml' export feed_alternate_url='blog.html' diff --git a/src/database-light.svg b/src/database-light.svg new file mode 100644 index 0000000..5843d8f --- /dev/null +++ b/src/database-light.svg @@ -0,0 +1,64 @@ + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/src/diagram-light.svg b/src/diagram-light.svg new file mode 100644 index 0000000..3e9275a --- /dev/null +++ b/src/diagram-light.svg @@ -0,0 +1,64 @@ + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/src/favicon.svg b/src/favicon.svg index ce566b2..e97121c 100644 --- a/src/favicon.svg +++ b/src/favicon.svg @@ -1,62 +1,64 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + image/svg+xml + + + + + + + + diff --git a/src/headers.txt b/src/headers.txt index fd144b9..7de6096 100644 --- a/src/headers.txt +++ b/src/headers.txt @@ -1,4 +1,3 @@ -./ Home blog.html Blog pricing.html Pricing about.html About diff --git a/src/index.adoc b/src/index.adoc index b976139..e2df543 100644 --- a/src/index.adoc +++ b/src/index.adoc @@ -1,3 +1,56 @@ -= papo.im +//// +export custom_body=true +//// += Chat with Freedom -== Team chat with privacy +++++ +

Chat With Utmost Freedom

+

Modern chat using open standards

+

Zero tracking or advertising

+

Free and open source software

+ + +
+
+

Why Papo?

+
+
+ shild icon +

Privacy-first hosted team chat

+

+ A convenient hosted service for you to subscribe to and delegate management of, + without handing away all your privacy alongside. Choose if and when to export + your data to a self-hosted solution, and own the service from there. +

+
+
+ database with an x icon +

No gratuitous data collection

+

+ No "accept necessary cookies" or third-party tracking. Revenue is made via + subscriptions only, so that no advertisement sneaks in. +

+
+
+ diagram icon +

Build for interoperability

+

+ Built on existing open standards, we're not in the business of profiting from + new walled gardens, and welcome others to interact with in a compatible way. + This also means you don't need to worry about lock-in, as we're not only + compatible with these standards, but also built on them. +

+
+
+ +
+
+
+
+

Chat hoc

+

Purposefully designed to consectetur adipiscing elit

+
+
+ +++++ diff --git a/src/logo.svg b/src/logo.svg new file mode 100644 index 0000000..f9f2976 --- /dev/null +++ b/src/logo.svg @@ -0,0 +1,80 @@ + + + + + + + + image/svg+xml + + + + + + + + PAPO + + + + diff --git a/src/shield-light.svg b/src/shield-light.svg new file mode 100644 index 0000000..5126931 --- /dev/null +++ b/src/shield-light.svg @@ -0,0 +1,64 @@ + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/src/style.css b/src/style.css index 4b8201f..e403b2c 100644 --- a/src/style.css +++ b/src/style.css @@ -1,3 +1,5 @@ +/* +// FIXME: remove body { margin: 0px auto; max-width: 750px; @@ -28,3 +30,248 @@ pre, code { background-color: #222; } } +*/ +/*http://meyerweb.com/eric/tools/css/reset/ + v2.0 | 20110126 + License: none (public domain) +*/ + +/* +html, body, div, span, applet, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +a, abbr, acronym, address, big, cite, code, +del, dfn, em, img, ins, kbd, q, s, samp, +small, strike, strong, sub, sup, tt, var, +b, u, i, center, +dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td, +article, aside, canvas, details, embed, +figure, figcaption, footer, header, hgroup, +menu, nav, output, ruby, section, summary, +time, mark, audio, video { + margin: 0; + padding: 0; + border: 0; + font-size: 100%; + font: inherit; + vertical-align: baseline; +} +*/ +/* HTML5 display-role reset for older browsers */ +/* +article, aside, details, figcaption, figure, +footer, header, hgroup, menu, nav, section { + display: block; +} +body { + line-height: 1; +} +ol, ul { + list-style: none; +} +blockquote, q { + quotes: none; +} +blockquote:before, blockquote:after, +q:before, q:after { + content: ''; + content: none; +} +table { + border-collapse: collapse; + border-spacing: 0; +} +*/ +* { + box-sizing: border-box; +} + + + +html { + --white: #fbfbfb; + --black: #0c0c0c; + --gray: #333333; + --ligth-gray: #F0F1F5; + --green: #1A7320; + --font-size-small: 15px; + --font-size-normal: 16px; + --font-size-large: 17px; + --font-size-big-1: 22px; + --font-size-big-2: 24px; + --font-size-big-3: 32px; + --font-size-big-4: 46px; + --font-size-big-5: 52px; +} + +a { + cursor: pointer; +} + +body { + font-family: "Open Sans", sans-serif; + line-height: 1.6; +} + +hr { + color: lightgray; + height: 1px; +} +/* +header { + border-bottom: 1px solid lightgray; +} +*/ + +.icon { + width: 40px; +} + +.navbar { + display: flex; + justify-content: space-between; + align-items: center; + max-width: 1200px; + margin: 0 auto; + padding-top: 0.5rem; + color: var(--black); +} + +.nav_logo { + width: 120px; +} + +.nav_links { + display: flex; + list-style: none; +} + +.nav_links li a { + color: var(--gray); + margin: 0 1rem; + text-decoration: none; + font-size: 1rem +} + +.nav_links li a:visited { + color: var(--gray); +} + +.nav_links li a:hover { + text-decoration: underline; +} + +.basic-button { + height: 2rem; + font-family: "Open Sans", sans-serif; + border-radius: 3px; + cursor: pointer; + padding: 0 10px; + margin: 0 .2rem; +} + +.big_button { + height: 3rem; + width: 15rem; + margin-top: 2rem; + border-radius: 2rem; + font-size: var(--font-size-large); + align-self: center; + text-transform: uppercase; +} + +.login { + color: var(--black); + border: 1px solid var(--green); + background-color: #fbfbfb; +} + +.sign-up, .big_button { + border: none; + background-color: var(--green); + color: var(--white); +} + +.basic-button:hover { + text-decoration: underline; +} + +.banner { + margin: 100px 0; + text-align: center; + color: var(--black); +} + +.banner h1 { + font-size: var(--font-size-big-5); +} + +.banner p { + font-size: var(--font-size-big-2); + margin-top: 8px; + margin-bottom: 1px; +} + +.why_papo { + background-color: var(--ligth-gray); + padding-bottom: 1.2rem; +} + +.why_papo-container { + margin-right: auto; + margin-left: auto; + padding-top: 1rem; + padding-bottom: 3rem; + max-width: 1200px; + display: flex; + flex-direction: column; +} + +.why_papo h2 { + font-size: var(--font-size-big-3); +} + +.why_papo h3 { + font-size: var(--font-size-big-1); + margin-top: .5rem; +} + +.why_papo-cards-container { + display: flex; + flex-direction: row; + flex-wrap: wrap; + padding: 1.3rem 0; +} + +.why_papo-card { + margin: 0 1rem; + width: 30%; + padding: 1.5rem; + background-color: var(--white); + border-radius: 15px; + box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px; +} + +.features-container { + display: flex; + flex-direction: column; + align-items: center; + max-width: 1200px; + margin: 0 auto; +} + +.features h2 { + font-size: var(--font-size-big-3); + margin-bottom: 0; +} + +.features h3 { + font-size: 20px; + font-weight: 500; + margin-top: .5rem; +} + +footer { + margin-top: 200px; +} -- cgit v1.2.3