summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2015-07-23 14:17:51 -0700
committerelijah <elijah@riseup.net>2015-07-23 14:17:51 -0700
commitdd592044bba259a9d4922690d9d146d542165f30 (patch)
tree2627074baf18dd282781fd40273da9184dae9336 /config
parent002e764c4b8f03f472d7d6d3473289653dd897a5 (diff)
added customization example
Diffstat (limited to 'config')
-rw-r--r--config/customization.example/locales/en.yml2
-rw-r--r--config/customization.example/locales/es.yml2
-rw-r--r--config/customization.example/public/favicon.icobin0 -> 1014 bytes
-rw-r--r--config/customization.example/public/img/masthead.pngbin0 -> 76967 bytes
-rw-r--r--config/customization.example/stylesheets/tail.scss43
-rw-r--r--config/customization.example/views/home/_masthead.html.haml4
-rw-r--r--config/customization.example/views/pages/privacy-policy.en.md3
-rw-r--r--config/customization.example/views/pages/privacy-policy.es.md3
8 files changed, 57 insertions, 0 deletions
diff --git a/config/customization.example/locales/en.yml b/config/customization.example/locales/en.yml
new file mode 100644
index 0000000..3c5f370
--- /dev/null
+++ b/config/customization.example/locales/en.yml
@@ -0,0 +1,2 @@
+en:
+ login_info: Authenticate to change your "Prehistoric Computer" settings. \ No newline at end of file
diff --git a/config/customization.example/locales/es.yml b/config/customization.example/locales/es.yml
new file mode 100644
index 0000000..3b056fe
--- /dev/null
+++ b/config/customization.example/locales/es.yml
@@ -0,0 +1,2 @@
+es:
+ login_info: Autenticar a cambiar la configuración de "Computer Prehistoria." \ No newline at end of file
diff --git a/config/customization.example/public/favicon.ico b/config/customization.example/public/favicon.ico
new file mode 100644
index 0000000..61e3374
--- /dev/null
+++ b/config/customization.example/public/favicon.ico
Binary files differ
diff --git a/config/customization.example/public/img/masthead.png b/config/customization.example/public/img/masthead.png
new file mode 100644
index 0000000..1449153
--- /dev/null
+++ b/config/customization.example/public/img/masthead.png
Binary files differ
diff --git a/config/customization.example/stylesheets/tail.scss b/config/customization.example/stylesheets/tail.scss
new file mode 100644
index 0000000..4c51a34
--- /dev/null
+++ b/config/customization.example/stylesheets/tail.scss
@@ -0,0 +1,43 @@
+$custom-color: #66bbaa;
+
+a {
+ color: $custom-color;
+}
+
+//
+// MASTHEAD
+//
+
+#masthead {
+ background-color: $custom-color;
+ border-bottom: none;
+
+ // make the masthead clickable by replacing the
+ // site name link with the masthead image:
+ .title {
+ padding: 0px;
+ .sitename a {
+ display: block;
+ background: url(/img/masthead.png) 0 0 no-repeat;
+ font-size: 0px;
+ height: 100px;
+ background-size: auto 100px;
+ }
+ }
+}
+
+// make the home page masthead slightly larger
+body.home #masthead {
+ .sitename a {
+ height: 150px;
+ background-size: auto 150px;
+ }
+}
+
+//
+// FOOTER
+//
+
+#footer .links {
+ background-color: $custom-color;
+} \ No newline at end of file
diff --git a/config/customization.example/views/home/_masthead.html.haml b/config/customization.example/views/home/_masthead.html.haml
new file mode 100644
index 0000000..fde5915
--- /dev/null
+++ b/config/customization.example/views/home/_masthead.html.haml
@@ -0,0 +1,4 @@
+#masthead
+ .title
+ %span.sitename
+ %a{:href => home_path}= APP_CONFIG[:domain]
diff --git a/config/customization.example/views/pages/privacy-policy.en.md b/config/customization.example/views/pages/privacy-policy.en.md
new file mode 100644
index 0000000..a02337d
--- /dev/null
+++ b/config/customization.example/views/pages/privacy-policy.en.md
@@ -0,0 +1,3 @@
+# Custom Privacy Policy
+
+This is our privacy policy. \ No newline at end of file
diff --git a/config/customization.example/views/pages/privacy-policy.es.md b/config/customization.example/views/pages/privacy-policy.es.md
new file mode 100644
index 0000000..167f3a1
--- /dev/null
+++ b/config/customization.example/views/pages/privacy-policy.es.md
@@ -0,0 +1,3 @@
+# Custom Política de Privacidad
+
+Esta es nuestra política de privacidad. \ No newline at end of file