vieiro closed pull request #4: Added licenses and a simple card component for 
the main page.
URL: https://github.com/apache/incubator-netbeans-website/pull/4
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/netbeans.apache.org/build.gradle b/netbeans.apache.org/build.gradle
index 7fcb70c..a4c27b4 100644
--- a/netbeans.apache.org/build.gradle
+++ b/netbeans.apache.org/build.gradle
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 buildscript {
     //have to apply here for this to be applied at the right time
     apply from: file("gradle/deps.gradle")
diff --git a/netbeans.apache.org/globals.yml b/netbeans.apache.org/globals.yml
index f0a8313..604e47b 100644
--- a/netbeans.apache.org/globals.yml
+++ b/netbeans.apache.org/globals.yml
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
 site:
     host: http://netbeans.apache.org
 
diff --git a/netbeans.apache.org/settings.gradle 
b/netbeans.apache.org/settings.gradle
index 5a6dd6a..f5d9a79 100644
--- a/netbeans.apache.org/settings.gradle
+++ b/netbeans.apache.org/settings.gradle
@@ -1 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 rootProject.name = "netbeans.apache.org"
diff --git a/netbeans.apache.org/src/content/community/committer.asciidoc 
b/netbeans.apache.org/src/content/community/committer.asciidoc
index e91ff73..cd5cf8d 100644
--- a/netbeans.apache.org/src/content/community/committer.asciidoc
+++ b/netbeans.apache.org/src/content/community/committer.asciidoc
@@ -1,3 +1,21 @@
+////
+     Licensed to the Apache Software Foundation (ASF) under one
+     or more contributor license agreements.  See the NOTICE file
+     distributed with this work for additional information
+     regarding copyright ownership.  The ASF licenses this file
+     to you under the Apache License, Version 2.0 (the
+     "License"); you may not use this file except in compliance
+     with the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing,
+     software distributed under the License is distributed on an
+     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+     KIND, either express or implied.  See the License for the
+     specific language governing permissions and limitations
+     under the License.
+////
 = How to become a commiter
 :jbake-type: page
 :jbake-tags: community
diff --git a/netbeans.apache.org/src/content/community/events.asciidoc 
b/netbeans.apache.org/src/content/community/events.asciidoc
index cefbd54..f5e6f1d 100644
--- a/netbeans.apache.org/src/content/community/events.asciidoc
+++ b/netbeans.apache.org/src/content/community/events.asciidoc
@@ -1,3 +1,21 @@
+////
+     Licensed to the Apache Software Foundation (ASF) under one
+     or more contributor license agreements.  See the NOTICE file
+     distributed with this work for additional information
+     regarding copyright ownership.  The ASF licenses this file
+     to you under the Apache License, Version 2.0 (the
+     "License"); you may not use this file except in compliance
+     with the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing,
+     software distributed under the License is distributed on an
+     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+     KIND, either express or implied.  See the License for the
+     specific language governing permissions and limitations
+     under the License.
+////
 = Events
 :jbake-type: page
 :jbake-tags: community
diff --git a/netbeans.apache.org/src/content/community/index.asciidoc 
b/netbeans.apache.org/src/content/community/index.asciidoc
index 66b20b9..3641cb6 100644
--- a/netbeans.apache.org/src/content/community/index.asciidoc
+++ b/netbeans.apache.org/src/content/community/index.asciidoc
@@ -1,3 +1,21 @@
+////
+     Licensed to the Apache Software Foundation (ASF) under one
+     or more contributor license agreements.  See the NOTICE file
+     distributed with this work for additional information
+     regarding copyright ownership.  The ASF licenses this file
+     to you under the Apache License, Version 2.0 (the
+     "License"); you may not use this file except in compliance
+     with the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing,
+     software distributed under the License is distributed on an
+     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+     KIND, either express or implied.  See the License for the
+     specific language governing permissions and limitations
+     under the License.
+////
 = Community
 :jbake-type: page
 :jbake-tags: community
@@ -8,13 +26,13 @@
 :toc-title:
 
 == link:mailing-lists.html[Keep Informed]
-The Apache NetBeans Community communicates in many different ways. See how to 
keep informed and in touch with other NetBeans users and developers.
+The Apache NetBeans Community link:mailing-lists.html[communicates in many 
different ways]. See how to keep informed and in touch with other NetBeans 
users and developers.
 
 == link:/participate/index.html[Participate]
-We welcome all kind of contributions. And there are many ways to contribute: 
see how you can participate in Apache NetBeans.
+We welcome link:/participate/index.html[all kind of contributions]. And there 
are many ways to contribute: see how you can participate in Apache NetBeans.
 
 == link:events.html[NetBeans Events]
-NetBeans users and developers participate in different events. See how this 
works.
+NetBeans users and developers participate in link:events.html[different 
events]. See how this works.
 
 == link:who.html[Who We Are]
 The Apache NetBeans source code was donated by Oracle to the 
link:https://www.apache.org[Apache Software Foundation] in 2016.
diff --git a/netbeans.apache.org/src/content/community/mailing-lists.asciidoc 
b/netbeans.apache.org/src/content/community/mailing-lists.asciidoc
index 5168eab..b962220 100644
--- a/netbeans.apache.org/src/content/community/mailing-lists.asciidoc
+++ b/netbeans.apache.org/src/content/community/mailing-lists.asciidoc
@@ -1,3 +1,21 @@
+////
+     Licensed to the Apache Software Foundation (ASF) under one
+     or more contributor license agreements.  See the NOTICE file
+     distributed with this work for additional information
+     regarding copyright ownership.  The ASF licenses this file
+     to you under the Apache License, Version 2.0 (the
+     "License"); you may not use this file except in compliance
+     with the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing,
+     software distributed under the License is distributed on an
+     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+     KIND, either express or implied.  See the License for the
+     specific language governing permissions and limitations
+     under the License.
+////
 = Keep informed / Apache NetBeans
 :jbake-type: page
 :jbake-tags: community
diff --git a/netbeans.apache.org/src/content/community/who.asciidoc 
b/netbeans.apache.org/src/content/community/who.asciidoc
index c0619e4..5d903d5 100644
--- a/netbeans.apache.org/src/content/community/who.asciidoc
+++ b/netbeans.apache.org/src/content/community/who.asciidoc
@@ -1,3 +1,21 @@
+////
+     Licensed to the Apache Software Foundation (ASF) under one
+     or more contributor license agreements.  See the NOTICE file
+     distributed with this work for additional information
+     regarding copyright ownership.  The ASF licenses this file
+     to you under the Apache License, Version 2.0 (the
+     "License"); you may not use this file except in compliance
+     with the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing,
+     software distributed under the License is distributed on an
+     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+     KIND, either express or implied.  See the License for the
+     specific language governing permissions and limitations
+     under the License.
+////
 = Team / Apache NetBeans
 :jbake-type: page
 :jbake-tags: community
diff --git a/netbeans.apache.org/src/content/help/commercial-support.asciidoc 
b/netbeans.apache.org/src/content/help/commercial-support.asciidoc
index 054ee49..c722143 100644
--- a/netbeans.apache.org/src/content/help/commercial-support.asciidoc
+++ b/netbeans.apache.org/src/content/help/commercial-support.asciidoc
@@ -1,3 +1,21 @@
+////
+     Licensed to the Apache Software Foundation (ASF) under one
+     or more contributor license agreements.  See the NOTICE file
+     distributed with this work for additional information
+     regarding copyright ownership.  The ASF licenses this file
+     to you under the Apache License, Version 2.0 (the
+     "License"); you may not use this file except in compliance
+     with the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing,
+     software distributed under the License is distributed on an
+     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+     KIND, either express or implied.  See the License for the
+     specific language governing permissions and limitations
+     under the License.
+////
 = Commercial Support / Apache NetBeans
 :jbake-type: page
 :jbake-tags: community
diff --git a/netbeans.apache.org/src/content/help/index.asciidoc 
b/netbeans.apache.org/src/content/help/index.asciidoc
index 19af93d..1250b98 100644
--- a/netbeans.apache.org/src/content/help/index.asciidoc
+++ b/netbeans.apache.org/src/content/help/index.asciidoc
@@ -1,3 +1,21 @@
+////
+     Licensed to the Apache Software Foundation (ASF) under one
+     or more contributor license agreements.  See the NOTICE file
+     distributed with this work for additional information
+     regarding copyright ownership.  The ASF licenses this file
+     to you under the Apache License, Version 2.0 (the
+     "License"); you may not use this file except in compliance
+     with the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing,
+     software distributed under the License is distributed on an
+     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+     KIND, either express or implied.  See the License for the
+     specific language governing permissions and limitations
+     under the License.
+////
 = Getting Help / Apache NetBeans
 :jbake-type: page
 :jbake-tags: community
diff --git a/netbeans.apache.org/src/content/index.asciidoc 
b/netbeans.apache.org/src/content/index.asciidoc
index cdddd53..8f280a9 100644
--- a/netbeans.apache.org/src/content/index.asciidoc
+++ b/netbeans.apache.org/src/content/index.asciidoc
@@ -1,3 +1,21 @@
+////
+     Licensed to the Apache Software Foundation (ASF) under one
+     or more contributor license agreements.  See the NOTICE file
+     distributed with this work for additional information
+     regarding copyright ownership.  The ASF licenses this file
+     to you under the Apache License, Version 2.0 (the
+     "License"); you may not use this file except in compliance
+     with the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing,
+     software distributed under the License is distributed on an
+     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+     KIND, either express or implied.  See the License for the
+     specific language governing permissions and limitations
+     under the License.
+////
 = Welcome to Apache NetBeans
 :jbake-type: page-noaside
 :jbake-tags: main
diff --git a/netbeans.apache.org/src/content/js/netbeans.js 
b/netbeans.apache.org/src/content/js/netbeans.js
index 8b13789..0392f37 100644
--- a/netbeans.apache.org/src/content/js/netbeans.js
+++ b/netbeans.apache.org/src/content/js/netbeans.js
@@ -1 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+
 
diff --git a/netbeans.apache.org/src/content/participate/index.asciidoc 
b/netbeans.apache.org/src/content/participate/index.asciidoc
index 77b9a76..dd11087 100644
--- a/netbeans.apache.org/src/content/participate/index.asciidoc
+++ b/netbeans.apache.org/src/content/participate/index.asciidoc
@@ -1,3 +1,21 @@
+////
+     Licensed to the Apache Software Foundation (ASF) under one
+     or more contributor license agreements.  See the NOTICE file
+     distributed with this work for additional information
+     regarding copyright ownership.  The ASF licenses this file
+     to you under the Apache License, Version 2.0 (the
+     "License"); you may not use this file except in compliance
+     with the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing,
+     software distributed under the License is distributed on an
+     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+     KIND, either express or implied.  See the License for the
+     specific language governing permissions and limitations
+     under the License.
+////
 = Participate / Apache NetBeans
 :jbake-type: page
 :jbake-tags: community
diff --git a/netbeans.apache.org/src/content/participate/netcat.asciidoc 
b/netbeans.apache.org/src/content/participate/netcat.asciidoc
index 009cb63..355629e 100644
--- a/netbeans.apache.org/src/content/participate/netcat.asciidoc
+++ b/netbeans.apache.org/src/content/participate/netcat.asciidoc
@@ -1,3 +1,21 @@
+////
+     Licensed to the Apache Software Foundation (ASF) under one
+     or more contributor license agreements.  See the NOTICE file
+     distributed with this work for additional information
+     regarding copyright ownership.  The ASF licenses this file
+     to you under the Apache License, Version 2.0 (the
+     "License"); you may not use this file except in compliance
+     with the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing,
+     software distributed under the License is distributed on an
+     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+     KIND, either express or implied.  See the License for the
+     specific language governing permissions and limitations
+     under the License.
+////
 = NetCAT / Apache NetBeans
 :jbake-type: page
 :jbake-tags: community
diff --git a/netbeans.apache.org/src/content/participate/report-issue.asciidoc 
b/netbeans.apache.org/src/content/participate/report-issue.asciidoc
index 80d5f06..157f1dc 100644
--- a/netbeans.apache.org/src/content/participate/report-issue.asciidoc
+++ b/netbeans.apache.org/src/content/participate/report-issue.asciidoc
@@ -1,3 +1,21 @@
+////
+     Licensed to the Apache Software Foundation (ASF) under one
+     or more contributor license agreements.  See the NOTICE file
+     distributed with this work for additional information
+     regarding copyright ownership.  The ASF licenses this file
+     to you under the Apache License, Version 2.0 (the
+     "License"); you may not use this file except in compliance
+     with the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing,
+     software distributed under the License is distributed on an
+     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+     KIND, either express or implied.  See the License for the
+     specific language governing permissions and limitations
+     under the License.
+////
 = Reporting issues / Apache NetBeans
 :jbake-type: page
 :jbake-tags: community
diff --git a/netbeans.apache.org/src/content/participate/submit-pr.asciidoc 
b/netbeans.apache.org/src/content/participate/submit-pr.asciidoc
index c3c9e36..a401deb 100644
--- a/netbeans.apache.org/src/content/participate/submit-pr.asciidoc
+++ b/netbeans.apache.org/src/content/participate/submit-pr.asciidoc
@@ -1,3 +1,21 @@
+////
+     Licensed to the Apache Software Foundation (ASF) under one
+     or more contributor license agreements.  See the NOTICE file
+     distributed with this work for additional information
+     regarding copyright ownership.  The ASF licenses this file
+     to you under the Apache License, Version 2.0 (the
+     "License"); you may not use this file except in compliance
+     with the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing,
+     software distributed under the License is distributed on an
+     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+     KIND, either express or implied.  See the License for the
+     specific language governing permissions and limitations
+     under the License.
+////
 = Submitting Pull Requests / Apache NetBeans
 :jbake-type: page
 :jbake-tags: community
diff --git a/netbeans.apache.org/src/content/plugins/index.asciidoc 
b/netbeans.apache.org/src/content/plugins/index.asciidoc
index 23e0ba4..a44284a 100644
--- a/netbeans.apache.org/src/content/plugins/index.asciidoc
+++ b/netbeans.apache.org/src/content/plugins/index.asciidoc
@@ -1,3 +1,21 @@
+////
+     Licensed to the Apache Software Foundation (ASF) under one
+     or more contributor license agreements.  See the NOTICE file
+     distributed with this work for additional information
+     regarding copyright ownership.  The ASF licenses this file
+     to you under the Apache License, Version 2.0 (the
+     "License"); you may not use this file except in compliance
+     with the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing,
+     software distributed under the License is distributed on an
+     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+     KIND, either express or implied.  See the License for the
+     specific language governing permissions and limitations
+     under the License.
+////
 = Plugins / Apache NetBeans
 :jbake-type: page
 :jbake-tags: community
diff --git a/netbeans.apache.org/src/content/scss/base/_base.scss 
b/netbeans.apache.org/src/content/scss/base/_base.scss
index 549330d..787b0e9 100644
--- a/netbeans.apache.org/src/content/scss/base/_base.scss
+++ b/netbeans.apache.org/src/content/scss/base/_base.scss
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 @import "settings";
 
 @import "fonts";
diff --git a/netbeans.apache.org/src/content/scss/base/_colors.scss 
b/netbeans.apache.org/src/content/scss/base/_colors.scss
index 34c6b81..78e8fbe 100644
--- a/netbeans.apache.org/src/content/scss/base/_colors.scss
+++ b/netbeans.apache.org/src/content/scss/base/_colors.scss
@@ -32,3 +32,4 @@ $nb-topbar-background: #fafafb;
 $nb-body-background: #fff;
 $nb-pre-background: #fafafb;
 $nb-pre-border-color: #6290c5;
+$nb-card-background: #fafafb;
diff --git a/netbeans.apache.org/src/content/scss/base/_fonts.scss 
b/netbeans.apache.org/src/content/scss/base/_fonts.scss
index b50bb45..d5f9acd 100644
--- a/netbeans.apache.org/src/content/scss/base/_fonts.scss
+++ b/netbeans.apache.org/src/content/scss/base/_fonts.scss
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 $font-family: 'Lato', sans-serif;
 $font-size: 12pt;
 $font-size-small: 10pt;
diff --git a/netbeans.apache.org/src/content/scss/common/_netbeans.scss 
b/netbeans.apache.org/src/content/scss/common/_netbeans.scss
index 03b4388..847a0ed 100644
--- a/netbeans.apache.org/src/content/scss/common/_netbeans.scss
+++ b/netbeans.apache.org/src/content/scss/common/_netbeans.scss
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 
 /*
     Some Foundation 6 customizations.
diff --git a/netbeans.apache.org/src/content/scss/components/_card.scss 
b/netbeans.apache.org/src/content/scss/components/_card.scss
new file mode 100644
index 0000000..164e828
--- /dev/null
+++ b/netbeans.apache.org/src/content/scss/components/_card.scss
@@ -0,0 +1,42 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+.sidebarblock.cards {
+    text-align: center;
+}
+
+.paragraph.card {
+    text-align: left;
+    box-shadow: 0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 
1px 5px 0 rgba(0,0,0,.12);
+    border-radius: 4px;
+    display: inline-block;
+    vertical-align: top;
+    max-width: 16em;
+    min-height: 10em;
+    background-color: $nb-card-background;
+    margin: 0.5em;
+    padding: 1em;
+
+    .title {
+        font-size: 130%;
+        font-weight: bold;
+        margin-bottom: 0.5em;
+    }
+}
+
diff --git a/netbeans.apache.org/src/content/scss/components/_footer.scss 
b/netbeans.apache.org/src/content/scss/components/_footer.scss
index add04be..1ec4bce 100644
--- a/netbeans.apache.org/src/content/scss/components/_footer.scss
+++ b/netbeans.apache.org/src/content/scss/components/_footer.scss
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 footer {
   min-height: 256px;
   background-color: #333;
@@ -61,4 +79,4 @@ footer {
     width: 200px;
     max-width: 100%;
   }
-}
\ No newline at end of file
+}
diff --git a/netbeans.apache.org/src/content/scss/netbeans.scss 
b/netbeans.apache.org/src/content/scss/netbeans.scss
index c04f892..de32252 100644
--- a/netbeans.apache.org/src/content/scss/netbeans.scss
+++ b/netbeans.apache.org/src/content/scss/netbeans.scss
@@ -1,3 +1,25 @@
+/*
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+
+*/
+
 @charset "UTF-8";
 
 @import "base/base";
@@ -11,4 +33,5 @@
 
 @import "common/netbeans";
 
-@import "components/footer";
\ No newline at end of file
+@import "components/footer";
+@import "components/card";
diff --git a/netbeans.apache.org/src/content/templates/README.asciidoc 
b/netbeans.apache.org/src/content/templates/README.asciidoc
index 74c989a..a1da13c 100644
--- a/netbeans.apache.org/src/content/templates/README.asciidoc
+++ b/netbeans.apache.org/src/content/templates/README.asciidoc
@@ -1,14 +1,32 @@
+////
+     Licensed to the Apache Software Foundation (ASF) under one
+     or more contributor license agreements.  See the NOTICE file
+     distributed with this work for additional information
+     regarding copyright ownership.  The ASF licenses this file
+     to you under the Apache License, Version 2.0 (the
+     "License"); you may not use this file except in compliance
+     with the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing,
+     software distributed under the License is distributed on an
+     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+     KIND, either express or implied.  See the License for the
+     specific language governing permissions and limitations
+     under the License.
+////
 = NetBeans templates
 
-Templates are Groovy Server Pages that will be filled-in with elements in the 
link:../content[content directory].
+Templates are Groovy Server Pages that will be filled-in with elements in the 
link:../[content directory].
 
 == Creating templates
 
 This directory contains some templates for different types of pages.
 
-*NOTE:* As a good practice, if you open an HTML tag in one template make sure 
the tag *is also closed in the same* template.
+NOTE: As a good practice, if you open an HTML tag in one template make sure 
the tag *is also closed in the same* template.
 
-*NOTE:* Templates must be also manually added to the file `jbake.properties`
+NOTE: Templates must be also manually added to the file `jbake.properties`
 
 == Main templates
 
@@ -26,6 +44,8 @@ These parts are included in the
 - *head.gsp* The `<head>` tag for all pages.
 - *footer.gsp* The footer section for all pages.
 - *menu.gsp* The NetBeans web site menu.
+- *news.gsp* A top area that gets printed in every page of the website, 
usually for news and announcements.
+- *tools.gsp* A bottom area that contains social network links, and a pointer 
to github's home.
 
 
 
diff --git a/netbeans.apache.org/src/content/templates/footer.gsp 
b/netbeans.apache.org/src/content/templates/footer.gsp
index 9299478..e5966e8 100644
--- a/netbeans.apache.org/src/content/templates/footer.gsp
+++ b/netbeans.apache.org/src/content/templates/footer.gsp
@@ -102,9 +102,8 @@
         </div>
         <%
             /* This is used for debugging the website rendering */
-             debug=false;
-             if (debug) {
-                 out.println("<pre>");
+             if (content.debug != null) {
+                 out.println("<pre style='background: #777; color: #eee;'>");
                  for (String key: content.keySet()) {
                      if (! key.equals("body")) {
                          out.println(key + ":" + content.get(key));
diff --git a/netbeans.apache.org/src/content/templates/menu.gsp 
b/netbeans.apache.org/src/content/templates/menu.gsp
index 073d8a8..c7cb845 100644
--- a/netbeans.apache.org/src/content/templates/menu.gsp
+++ b/netbeans.apache.org/src/content/templates/menu.gsp
@@ -29,6 +29,7 @@
     </div>
     <div class="top-bar-right">
         <ul class="vertical medium-horizontal menu" 
data-responsive-menu="drilldown medium-dropdown">
+            <li> <a href="/community/index.html">Community</a> </li>
             <li> <a href="/participate/index.html">Participate</a> </li>
             <li> <a href="https://blogs.apache.org/netbeans/";>Blog</a></li>
             <li> <a href="/help/index.html">Get Help</a> </li>
diff --git a/netbeans.apache.org/src/content/templates/slider.gsp 
b/netbeans.apache.org/src/content/templates/slider.gsp
index d8908ef..6e3f956 100644
--- a/netbeans.apache.org/src/content/templates/slider.gsp
+++ b/netbeans.apache.org/src/content/templates/slider.gsp
@@ -1,3 +1,24 @@
+<%/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+%>
+
+
 <div class="orbit" role="region" aria-label="Apache NetBeans News" data-orbit>
   <div class="orbit-wrapper nb-orbit">
     <div class="orbit-controls">
diff --git a/netbeans.apache.org/src/content/templates/tools.gsp 
b/netbeans.apache.org/src/content/templates/tools.gsp
index a1198b6..9a83e92 100644
--- a/netbeans.apache.org/src/content/templates/tools.gsp
+++ b/netbeans.apache.org/src/content/templates/tools.gsp
@@ -28,6 +28,18 @@
         <li><a title="JIRA" 
href="https://issues.apache.org/jira/projects/NETBEANS/summary";><i class="fa 
fa-mf fa-bug"></i></a></li>
     </ul>
     <ul class="menu align-center">
-        <li><a 
href="https://github.com/apache/incubator-netbeans-website/netbeans.apache.org/${content.file}";
 title="See this file @ github"><i class="fa fa-md fa-edit"></i> Edit</a></li>
+        <%
+            /* 
+                jbake's "content.file' has this structure: 
"/home/user/directory/of/the/clone/incubator-netbeans-website/netbeans.apache.org/build/generated-bake/content/plugins/index.asciidoc"
+                we're interested in the part after "generated-bake"
+            */
+            String file="/";
+            if (content != null) {
+                String content_file = content.get("file");
+                int i = content_file.lastIndexOf("build/generated-bake");
+                file = content_file.substring(i + 
"build/generated-bake".length());
+            }
+        %>
+        <li><a 
href="https://github.com/apache/incubator-netbeans-website/blob/master/netbeans.apache.org/src${file}";
 title="See this page in github"><i class="fa fa-md fa-edit"></i> See this page 
in github.</a></li>
     </ul>
 </section>


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org
For additional commands, e-mail: notifications-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to