diff --git a/README.md b/README.md index 12a0bbf..2bd4efc 100644 --- a/README.md +++ b/README.md @@ -1,33 +1,6 @@ -# Kosmos.org Website +# kosmos.org -This website (or rather foundation for a future website) is based on -[DocPad](https://docpad.org). +This website (or rather foundation for a future website) is just a simple +static site. There are no dependencies to install or build tools to run. -## Prerequisites - -You will need the following things properly installed on your computer. - -* [Git](http://git-scm.com/) -* [Node.js](http://nodejs.org/) (with NPM) - -## Setup/installation - -* `git clone ` this repository -* change into the new directory -* `npm install` -* Make sure `./node_modules/.bin` is in your $PATH (before system-wide npm modules) - -## Running / Development - -* `docpad run` -* Visit the website at [http://localhost:9778](http://localhost:9778). - -## Build - -* `./build` - -## Build & deploy - -With the correct (5apps) remote added: - -* `./deploy` +Just edit and submit a PR. diff --git a/build b/build deleted file mode 100755 index de83747..0000000 --- a/build +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -docpad generate --env static diff --git a/deploy b/deploy deleted file mode 100755 index 41d5ac7..0000000 --- a/deploy +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -git up -./build -git add dist -git commit -m "Update static build - `date -u`" -git subtree push --prefix dist 5apps master -git push origin master diff --git a/docpad.coffee b/docpad.coffee deleted file mode 100644 index 9aaf09c..0000000 --- a/docpad.coffee +++ /dev/null @@ -1,15 +0,0 @@ -# DocPad Configuration File -# http://docpad.org/docs/config - -docpadConfig = { - plugins: - nodesass: - outputStyle: 'nested' - bourbon: true - - environments: - static: - outPath: 'dist' -} - -module.exports = docpadConfig diff --git a/dist/img/lagoon-close-02.jpg b/img/lagoon-close-02.jpg similarity index 100% rename from dist/img/lagoon-close-02.jpg rename to img/lagoon-close-02.jpg diff --git a/dist/index.html b/index.html similarity index 100% rename from dist/index.html rename to index.html diff --git a/package.json b/package.json deleted file mode 100644 index b8158e1..0000000 --- a/package.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "name": "kosmosorg-website", - "version": "0.1.0", - "description": "DocPad-based static site running on kosmos.org", - "dependencies": { - "docpad": "~6.78.1", - "docpad-plugin-eco": "~2.1.0", - "docpad-plugin-livereload": "~2.6.1", - "docpad-plugin-nodesass": "^2.7.0" - }, - "main": "node_modules/.bin/docpad-server", - "scripts": { - "start": "node_modules/.bin/docpad-server" - } -} diff --git a/src/files/img/lagoon-close-02.jpg b/src/files/img/lagoon-close-02.jpg deleted file mode 100644 index 5ceb4b6..0000000 Binary files a/src/files/img/lagoon-close-02.jpg and /dev/null differ diff --git a/src/layouts/default.html.eco b/src/layouts/default.html.eco deleted file mode 100644 index 413ecdb..0000000 --- a/src/layouts/default.html.eco +++ /dev/null @@ -1,21 +0,0 @@ - - - - - <%= @document.title %> - - - <%- @getBlock("meta").toHTML() %> - <%- @getBlock("styles").add(["/styles/style.css"]).toHTML() %> - - - - <%- @content %> - <%- @getBlock("scripts").toHTML() %> - - - diff --git a/src/render/index.html.eco b/src/render/index.html.eco deleted file mode 100644 index f5bded4..0000000 --- a/src/render/index.html.eco +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: "Kosmos" -layout: "default" -isPage: true ---- - -
-

<%= @document.title %>

-

Open-source group communication for the 21st century

- - -
diff --git a/src/render/styles/style.css.scss b/src/render/styles/style.css.scss deleted file mode 100644 index e0966bf..0000000 --- a/src/render/styles/style.css.scss +++ /dev/null @@ -1,121 +0,0 @@ -@import "bourbon"; - -* { - margin: 0; - padding: 0; -} -body, html { - box-sizing: border-box; - height: 100%; -} -*, *:before, *:after { - box-sizing: inherit; -} - -body { - background-color: #000; - background-image: url(/img/lagoon-close-02.jpg); - background-size: cover; - background-repeat: no-repeat; - color: #fff; - font-family: Abel; - font-size: 24px; - text-rendering: optimizeLegibility; - text-align: center; -} - -section#teaser { - height: 100%; - width: 768px; - max-width: 95%; - margin: 0 auto; - text-align: center; - - @include display(flex); - @include flex-direction(column); - @include flex-wrap(nowrap); - @include align-items(center); - @include align-content(center); - @include justify-content(center); - @include flex-grow(0); - - h1 { - display: inline-block; - margin-bottom: 1rem; - font-size: 96px; - font-family: Raleway; - font-weight: 300; - text-transform: uppercase; - } - - h2 { - margin-bottom: 4rem; - font-weight: 300; - font-size: 32px; - } - - p { - margin-bottom: 2rem; - } - - nav { - display: block; - width: 100%; - ul { - display: block; - width: 100%; - list-style: none; - - @include display(flex); - @include flex-direction(row); - @include flex-wrap(nowrap); - @include align-items(center); - @include align-content(center); - @include justify-content(center); - @include flex-grow(1); - - li { - @include flex(1); - height: 48px; - - a { - display: block; - margin: 0 8px; - height: 48px; - line-height: 48px; - font-size: 24px; - font-weight: 300; - text-decoration: none; - color: #fff; - border: 1px solid #fff; - border-radius: 24px; - @include transition(all linear 150ms); - - &:hover { - background: rgba(255,255,255,0.2); - @include transition(all linear 150ms); - } - } - } - } - } -} - -footer { - position: absolute; - bottom: 8px; - right: 8px; - font-size: 12px; - p { - display: inline-block; - opacity: 0.7; - } -} - -@media screen and (max-width: 600px) { - section#teaser { - h1 { - font-size: 72px; - } - } -} diff --git a/dist/styles/style.css b/styles/style.css similarity index 100% rename from dist/styles/style.css rename to styles/style.css