diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e908dd6 --- /dev/null +++ b/Makefile @@ -0,0 +1,31 @@ +# Stuff for make to work make magic. +.DEFAULT: all +.SUFFIXES: .part .html +.PHONY: all +.EXPORT_ALL_VARIABLES: + +BASE_TITLE = Recycled Cloud +PAGES = index.html services.html manifesto.html contact.html +BLOBS = assets/ + +# Default target. +all: $(PAGES) + +clean: + rm -rf $(PAGES) + +# If you built it, flaunt it! +deploy: $(PAGES) $(BLOBS) + ./deploy.sh $^ + +.part.html: + ./page-template.sh $+ > $@ + +# Setup some common dependencies so updating targets work. +$(PAGES): page-template.sh assets + +# Modify variables ? +index.html: TITLE = "$(BASE_TITLE) | Home" +services.html: TITLE = "$(BASE_TITLE) | Services" +manifesto.html: TITLE = "$(BASE_TITLE) | Manifesto" +contact.html: TITLE = "$(BASE_TITLE) | Contact" diff --git a/README.md b/README.md new file mode 100644 index 0000000..0ddd69a --- /dev/null +++ b/README.md @@ -0,0 +1,6 @@ +# Recycled Cloud Website + +Static website generated with [Nyll](https://git.sr.ht/~sparrowhawk/nyll). Depends on: + + * `make` + * `sh` diff --git a/assets/css/main.css b/assets/css/main.css index f6d9f99..0b18b25 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -1,3 +1,5 @@ +/* FIXME: this file needs some cleanup */ + body { width: 900px; margin: auto; @@ -157,3 +159,20 @@ footer p { max-width: 100%; max-height: 60px; } + +.contact-leftpane { + background-color: #015659; + color: white; + padding-left: 50px; + padding-top: 20px; + padding-bottom: 20px; +} + +.contact-rightpane h2, .h2-blue h2 { + color: #003366; +} + +hr { + background-image: linear-gradient(to right, #003366, #5d0066); + height: 2px; +} diff --git a/contact.part b/contact.part new file mode 100644 index 0000000..23a5de9 --- /dev/null +++ b/contact.part @@ -0,0 +1,25 @@ +
+
+
+

We'd be happy to hear from you...

+

a question, feedback, lunch invitation or anything you see fit. We're + human, but do out best to reply within two working days.

+ +

Or reach out in a traditional way

+

+ e-Durable SA
+ Domaine des Pins C
+ 1196 Gland
+ Switzerland
+

+ +

+ $PHONE
+ $MAIL +

+
+
+

Send a message

+
+
+
diff --git a/index.html b/index.html deleted file mode 100644 index 9d877fe..0000000 --- a/index.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - Recycled Cloud - - - - - -
-
-
-
- -
-
- -
-
- EN -
-
-
-
-
-

Local and recycled cloud services.

-

Swiss-based and as sustainable as we can.

- - Read our Manifesto -
-
-

Solutions for your projects

-
-
-
- -

Web Hosting

- -

- Low-footprint, static website hosting. Wordpress and generic PHP hosting. -

- - Learn more -
-
- -

Storage

- -

Borg based backup service or file sharing with NextCloud.

- - Learn more -
-
- -

Generic Hosting

- -

KVM virtual machines, running either one of our images or your - own.

- - Learn more -
-
-
-
- -
-
-
-

Members & Friends

-

- We wish the Recycled Cloud to be backed by a multitude of small - organization, fighting against centralization and promoting a more - local and social IT. -

-
-
- -
-
-
-
-

How can you help?

- -
-
-
-

Donate unused hardware

-

- ... or make sure you don't buy new ones for no good reason! -

-
-
-

Spread the word!

-

- We still have spare resources in our current infrastructure. -

-
-
-

Join the federation!

- -

- We would gladly welcome new member organizations, helping them - helping us running the infrastructure running our Cloud. -

-
-
-
-
-
- -
-
-
-

Interested? Reach out to our team!

-
- -
-
-
-
-

Tech Stack

- -
-
-

- The technical documentation of the Recycled Cloud is - public and available under an open license. We build - atop Free/Libre and Open Source Software in the most - open way we can find: there's no value in keeping it - for ourselves. -

-

- We are grateful for the many existing projects we use as building - blocks, and contribute back as much as we can. -

- -

- Technical Documentation -

-
-
- - -
- - - diff --git a/index.part b/index.part new file mode 100644 index 0000000..f626b86 --- /dev/null +++ b/index.part @@ -0,0 +1,150 @@ +
+

Local and recycled cloud services.

+

Swiss-based and as sustainable as we can.

+ +
Read our Manifesto +
+
+

Solutions for your projects

+
+
+
+ +

Web Hosting

+ +

+ Low-footprint, static website hosting. Wordpress and generic PHP hosting. +

+ + Learn more +
+
+ +

Storage

+ +

Borg based backup service or file sharing with NextCloud.

+ + Learn more +
+
+ +

Generic Hosting

+ +

KVM virtual machines, running either one of our images or your + own.

+ + Learn more +
+
+
+
+ +
+
+
+

Members & Friends

+

+ We wish the Recycled Cloud to be backed by a multitude of small + organization, fighting against centralization and promoting a more + local and social IT. +

+
+
+ +
+
+
+
+

How can you help?

+ +
+
+
+

Donate unused hardware

+

+ ... or make sure you don't buy new ones for no good reason! +

+
+
+

Spread the word!

+

+ We still have spare resources in our current infrastructure. +

+
+
+

Join the federation!

+ +

+ We would gladly welcome new member organizations, helping them + helping us running the infrastructure running our Cloud. +

+
+
+
+
+
+
+
+
+

Interested? Reach out to our team!

+
+ +
+
+
+
+

Tech Stack

+ +
+
+

+ The technical documentation of the Recycled Cloud is + public and available under an open license. We build + atop Free/Libre and Open Source Software in the most + open way we can find: there's no value in keeping it + for ourselves. +

+

+ We are grateful for the many existing projects we use as building + blocks, and contribute back as much as we can. +

+ +

+ Technical Documentation +

+
+
+ + +
diff --git a/manifesto.part b/manifesto.part new file mode 100644 index 0000000..e69de29 diff --git a/page-template.sh b/page-template.sh new file mode 100755 index 0000000..2f271d0 --- /dev/null +++ b/page-template.sh @@ -0,0 +1,58 @@ +#!/bin/sh +# Most general template template for nyll. + +CURRENT_PAGE=$(echo "$1" | cut -d. -f 1) + +if_page () { + if [ "$CURRENT_PAGE" = "$1" ]; then + echo "$2" + fi +} + +cat << EOF + + + + + ${TITLE:?} + + + + + +
+
+
+
+ +
+
+ +
+
+ EN +
+
+
+
+ $(cat "$1") + + + +EOF diff --git a/services.part b/services.part new file mode 100644 index 0000000..3cbb446 --- /dev/null +++ b/services.part @@ -0,0 +1,29 @@ +
+

Services

+
+ +
+ +

Web Hosting - Static, Wordpress, Generic

+
+ + +

Storage - Backup and file sharing

+
+ + +

Generic Hosting - Virtual Machines

+
+
+
+
+ +
+