You are viewing a plain text version of this content. The canonical link for it is here.
Posted to s4-commits@incubator.apache.org by mm...@apache.org on 2013/02/23 20:18:14 UTC

[1/2] Add source for website

http://git-wip-us.apache.org/repos/asf/incubator-s4/blob/755ed6bc/website/content/team.haml
----------------------------------------------------------------------
diff --git a/website/content/team.haml b/website/content/team.haml
new file mode 100644
index 0000000..91a65c7
--- /dev/null
+++ b/website/content/team.haml
@@ -0,0 +1,42 @@
+---
+title: Team
+---
+#maintainers
+  %h2{:class=>"secheader"}= "maintainers"
+  %p= "Committers:"
+  .tabular
+    %table
+      %tr
+        %th= "name"
+        %th= "affiliation"
+      %tr
+        %td= "Kishore Gopalakrishna"
+        %td= "LinkedIn"
+      %tr
+        %td= "Flavio Junqueira"
+        %td= "Yahoo!"
+      %tr
+        %td= "Matthieu Morel"
+        %td= "Yahoo!"
+      %tr
+        %td= "Leo Neumeyer"
+        %td= "QuantBench"
+      %tr
+        %td= "Bruce Robbins"
+        %td= "Yahoo!"
+      %tr
+        %td= "Daniel Gomez Ferro"
+        %td= "Yahoo!"
+        
+  %h2{:class=>"secheader"}= "former contributors"
+  
+  .tabular
+    %table
+      %tr
+        %td= "Anand Kesari"
+        %td= "Yahoo!"
+      %tr
+        %td= "Anish Nair"
+        %td= "A9"
+
+    /%p= "We ask that you please do not send us emails privately asking for support. We are non-paid volunteers who help out with the project and we do not necessarily have the time or energy to help people on an individual basis. Instead, we have setup a mailing list for the project which can contain a wider range of individuals who will help answer detailed requests for help. The benefit of using mailing lists over private communication is that it is a shared resource where others can also learn from common mistakes and as a community we all grow together."

http://git-wip-us.apache.org/repos/asf/incubator-s4/blob/755ed6bc/website/layouts/default.haml
----------------------------------------------------------------------
diff --git a/website/layouts/default.haml b/website/layouts/default.haml
new file mode 100644
index 0000000..7cee573
--- /dev/null
+++ b/website/layouts/default.haml
@@ -0,0 +1,26 @@
+!!!
+%html
+  %head
+    %title= "S4: #{@item[:title]}"
+    %meta{"http-equiv" => "Content-Type", :content=>"text/html; charset=utf-8"}
+    %meta{:name=>"description", :content=>"A general-purpose distributed stream computing platform"}
+    %link{:rel=>"stylesheet", :type=>"text/css", :href=>"/style/screen.css", :media=>"screen" }
+    %link{:rel=>"stylesheet", :type=>"text/css", :href=>"/style/print.css", :media=>"print" }
+    /[if lt IE 9]
+      %link{:rel=>"stylesheet", :type=>"text/css", :href=>"/style/ie.css", :media=>"screen" }
+    %link{:rel=>"stylesheet", :type=>"text/css", :href=>"/style/style.css"}
+    %link{:rel=>"stylesheet", :type=>"text/css", :href=>"/style/nav.css"}
+    = google_analytics(@config[:google_analytics_account_id], @config[:google_analytics_domain])
+  %body
+    #header
+      .container
+        #logo
+          %a{:href=>'/'}
+            %img{:src=>'/images/s4_test.png'}
+        #navbar= render 'nav'
+    #wrapper
+      #container{:class=>"container"}= yield
+    #footer
+      .container
+        %span{:class=>'copyright'}= "Apache S4 - Copyright 2013 The Apache Software Foundation"
+

http://git-wip-us.apache.org/repos/asf/incubator-s4/blob/755ed6bc/website/layouts/nav.haml
----------------------------------------------------------------------
diff --git a/website/layouts/nav.haml b/website/layouts/nav.haml
new file mode 100644
index 0000000..a8229b3
--- /dev/null
+++ b/website/layouts/nav.haml
@@ -0,0 +1,15 @@
+%ul{:id=>"nav"}
+  %li
+    %a{:href=>"/"}= "home"
+  %li
+    %a{:href=>"https://cwiki.apache.org/confluence/display/S4/S4+Wiki"}= "doc [0.5]"
+  %li
+    %a{:href=>"http://git-wip-us.apache.org/repos/asf?p=incubator-s4.git", :onClick=> google_analytics_event("External", "Apache Git", "http://github.com/s4")}= "code"
+  %li
+    %a{:href=>"http://people.apache.org/~mmorel/apache-s4-0.5.0-incubating-doc/javadoc/"}="API"
+  %li
+    %a{:href=>"/contrib"}= "get involved"
+  %li
+    %a{:href=>"/team"}= "team"
+  %li
+    %a{:href=>"/download"}= "download"

http://git-wip-us.apache.org/repos/asf/incubator-s4/blob/755ed6bc/website/lib/default.rb
----------------------------------------------------------------------
diff --git a/website/lib/default.rb b/website/lib/default.rb
new file mode 100644
index 0000000..967a0c7
--- /dev/null
+++ b/website/lib/default.rb
@@ -0,0 +1,68 @@
+# All files in the 'lib' directory will be loaded
+# before nanoc starts compiling.
+include Nanoc3::Helpers::Rendering
+
+def email(id, domain, label)
+  "<script language='JavaScript'> 
+		  <!-- // go away spammer!
+				var name = '#{id}';
+				var domain = '#{domain}';
+				var label = '#{label}';
+		        document.write('<a class=\"email\" href=\"mailto:' + name + '@' + domain + '\">');
+		        document.write(label + '</a>');
+		  // -->
+	</script>"
+end
+
+def google_analytics(account_id, domain)
+  "<script type='text/javascript'>
+    var _gaq = _gaq || [];
+    _gaq.push(['_setAccount', '#{account_id}']);
+    _gaq.push(['_setDomainName', '#{domain}']);
+    _gaq.push(['_trackPageview']);
+    (function() {
+      var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+      ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+      var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+    })();
+  </script>
+  "
+end
+
+def google_analytics_event(category, action, label)
+  "_gaq.push(['_trackEvent', '#{category}', '#{action}', '#{label}']);"
+end
+
+def twitter_widget()
+  "<script src='http://widgets.twimg.com/j/2/widget.js'></script>
+  <script>
+  new TWTR.Widget({
+    version: 2,
+    type: 'profile',
+    rpp: 4,
+    interval: 6000,
+    width: 190,
+    height: 300,
+    theme: {
+      shell: {
+        background: '#e6e6e6',
+        color: '#707070'
+      },
+      tweets: {
+        background: '#ffffff',
+        color: '#333333',
+        links: '#7E2217'
+      }
+    },
+    features: {
+      scrollbar: false,
+      loop: false,
+      live: false,
+      hashtags: true,
+      timestamp: true,
+      avatars: false,
+      behavior: 'all'
+    }
+  }).render().setUser('s4project').start();
+  </script>"
+end
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-s4/blob/755ed6bc/website/resources/YCLA.pdf
----------------------------------------------------------------------
diff --git a/website/resources/YCLA.pdf b/website/resources/YCLA.pdf
new file mode 100644
index 0000000..66b445b
Binary files /dev/null and b/website/resources/YCLA.pdf differ