This is an automated email from the ASF dual-hosted git repository.
geertjan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-netbeans-website.git
The following commit(s) were added to refs/heads/master by this push:
new 16e6f7c Colorizing the home page
new 9e21493 Merge pull request #314 from vieiro/feature/homepage
16e6f7c is described below
commit 16e6f7ca65d781cbfe64eca1933b1a2f8e69d076
Author: Antonio Vieiro <[email protected]>
AuthorDate: Fri Feb 1 07:26:45 2019 +0000
Colorizing the home page
---
netbeans.apache.org/src/content/index.asciidoc | 32 +++++++++++++++++-----
.../src/content/scss/components/_card.scss | 21 +++++++++++++-
2 files changed, 45 insertions(+), 8 deletions(-)
diff --git a/netbeans.apache.org/src/content/index.asciidoc
b/netbeans.apache.org/src/content/index.asciidoc
index 93a0f76..482824a 100644
--- a/netbeans.apache.org/src/content/index.asciidoc
+++ b/netbeans.apache.org/src/content/index.asciidoc
@@ -31,20 +31,38 @@
[.text-center]
=== The Smarter and Faster Way to Code
+// See https://fontawesome.com/icons?d=gallery for more icons (not all of
those are available, though)
+
[.cards]
****
-[.card]
-.icon:users[] Fast & Smart Editing
-Apache NetBeans is much more than a text editor. It highlights source code
syntactically and semantically, lets you easily refactor code, with a range of
handy and powerful tools.
+// Add cards as you see fit below. Try not to repeat consecutive colors.
+
+[.card.blue]
+.icon:edit[] Fast & Smart Editing
+Apache NetBeans is much more than a text editor. It highlights source code
link:/kb/docs/java/editor-codereference.html[syntactically and semantically],
lets you easily link:/kb/docs/java/editor-inspect-transform.html[refactor
code], with a range of handy and powerful tools.
-[.card]
+[.card.green]
.icon:wrench[] Java, JavaScript, PHP, HTML5, CSS, and More
-Apache NetBeans provides editors, wizards, and templates to help you create
applications in many languages.
+Apache NetBeans provides editors, wizards, and templates to help you create
applications in link:/kb/docs/java/index.html[Java],
link:/kb/docs/php/index.html[PHP] and many other languages.
-[.card]
+[.card.magenta]
.icon:download[] Cross Platform
-Apache NetBeans can be installed on all operating systems that support Java,
i.e, Windows, Linux and Mac OSX. Write Once, Run Anywhere, applies to NetBeans
too.
+Apache NetBeans can be
link:http://localhost:8080/download/nb100/nb100.html[installed] on all
operating systems that support Java, i.e, Windows, Linux, Mac OSX and BSD.
Write Once, Run Anywhere, applies to NetBeans too.
+
+[.card.green]
+.icon:users[] Join us
+Subscribe to our link:/community/mailing-lists.html[mailing lists], or follow
us in link:https://twitter.com/netbeans[Twitter],
link:https://tinyurl.com/netbeans-slack-signup/[Slack],
link:https://www.facebook.com/NetBeans[FaceBook] or
link:https://www.youtube.com/user/netbeansvideos[YouTube].
+
+[.card.magenta]
+.icon:arrow-right[] Participate
+See how you can participate by link:/participate/submit-pr.html[submitting
pull requests], or
link:https://issues.apache.org/jira/projects/NETBEANS/summary[filing issues].
+
+[.card.blue]
+.icon:book[] Learn
+We are currently reviewing the tutorials. See how you can
link:http://netbeans.apache.org/kb/docs/contributing.html[help us] review the
link:http://netbeans.apache.org/kb/docs/java/[Java] and
link:http://netbeans.apache.org/kb/docs/php/[PHP] tutorials.
+
+
****
diff --git a/netbeans.apache.org/src/content/scss/components/_card.scss
b/netbeans.apache.org/src/content/scss/components/_card.scss
index 164e828..91bd8f4 100644
--- a/netbeans.apache.org/src/content/scss/components/_card.scss
+++ b/netbeans.apache.org/src/content/scss/components/_card.scss
@@ -29,10 +29,17 @@
vertical-align: top;
max-width: 16em;
min-height: 10em;
- background-color: $nb-card-background;
+ background-color: $nb-blue;
+ color: #fff;
margin: 0.5em;
padding: 1em;
+ a {
+ color: #fff;
+ text-decoration: underline;
+ font-weight: bold;
+ }
+
.title {
font-size: 130%;
font-weight: bold;
@@ -40,3 +47,15 @@
}
}
+.paragraph.card.blue {
+ background-color: $nb-blue;
+}
+
+.paragraph.card.green {
+ background-color: $nb-green;
+}
+
+.paragraph.card.magenta {
+ background-color: $nb-magenta;
+}
+
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists