You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by rc...@apache.org on 2022/03/23 20:43:44 UTC

[lucenenet] 02/08: website: updated home page includig title, meta title, hero text, and install command.

This is an automated email from the ASF dual-hosted git repository.

rclabo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git

commit b83d07c2ac6a82d82109651c15514409d061670f
Author: Ron Clabo <ro...@GiftOasis.com>
AuthorDate: Mon Mar 21 17:17:23 2022 -0400

    website: updated home page includig title, meta title, hero text, and install command.
---
 websites/site/index.md                       |  6 +++---
 websites/site/lucenetemplate/index.html.tmpl |  4 ++--
 websites/site/lucenetemplate/styles/site.css | 32 +++++++++++++++++++++-------
 3 files changed, 29 insertions(+), 13 deletions(-)

diff --git a/websites/site/index.md b/websites/site/index.md
index 0b2e4ac..b5adb37 100644
--- a/websites/site/index.md
+++ b/websites/site/index.md
@@ -1,6 +1,6 @@
 ---
-title: Welcome to the Lucene.NET website!
-description: Lucene.NET is a port of the Lucene search engine library, written in C# and targeted at .NET runtime users.
+title: Apache Lucene.NET is a powerful open source .NET search library.
+description: Lucene.NET is a port of the Lucene search library, written in C# and targeted at .NET runtime users.
 documentType: index
 ---
 
@@ -9,7 +9,7 @@ Lucene.NET
 
 <h2 id="about" class="text-center">About the project</h2>
 
-Lucene.Net is a port of the Lucene search engine library, written in C# and targeted at .NET runtime users
+Lucene.Net is a port of the Lucene search library, written in C# and targeted at .NET runtime users.
 
 ### Latest Version - Lucene.NET 4.8.0 Beta
 
diff --git a/websites/site/lucenetemplate/index.html.tmpl b/websites/site/lucenetemplate/index.html.tmpl
index bf7e555..926a975 100644
--- a/websites/site/lucenetemplate/index.html.tmpl
+++ b/websites/site/lucenetemplate/index.html.tmpl
@@ -15,10 +15,10 @@
       </header>
       <section id="intro" class="home-section">
         <div class="container">
-          <p class="text-center">Lucene.Net is a high performance search engine library for .NET</p>
+          <h1 class="text-center">Lucene.NET is a high performance search library for .NET</h1>
           <div class="row">
               <div class="nuget-well col-xs-8 col-xs-offset-2 col-lg-6 col-lg-offset-3">
-                  Install-Package Lucene.Net -Pre
+                  dotnet add package Lucene.Net --prerelease
               </div>
           </div>
           <div class="row">
diff --git a/websites/site/lucenetemplate/styles/site.css b/websites/site/lucenetemplate/styles/site.css
index 5e18908..40ad7cd 100644
--- a/websites/site/lucenetemplate/styles/site.css
+++ b/websites/site/lucenetemplate/styles/site.css
@@ -27,6 +27,12 @@
 #homepage code {
   font-family: "Roboto Mono", "Courier New", "Courier", monospace;
 }
+#homepage h1{
+    margin: 10px auto 30px auto;
+    line-height:1.4;
+    font-size: 33px;
+    max-width: 700px
+}
 #homepage h2,
 #homepage h3,
 #homepage h4 {
@@ -57,11 +63,6 @@ nav.navbar {
 .home-section:nth-of-type(even) {
   background-color: rgb(247, 247, 247);
 }
-@media screen and (min-width: 58em) {
-  #homepage section {
-    font-size: 20px;
-  }
-}
 /* END From hugo academic css */
 
 pre.clean {
@@ -112,6 +113,15 @@ pre.clean {
   /* IE6-9 */
   color: white;
 }
+#intro.home-section .container {
+    padding-left:25px;
+    padding-right:25px;
+    margin-top: 50px;
+}
+#intro.home-section {
+    padding-top: 10px;
+}
+
 #intro p {
   margin: 0 0 10px;
   margin-bottom: 2rem;
@@ -121,9 +131,6 @@ pre.clean {
   #intro .container {
     margin-top: 80px;
   }
-  #intro.home-section .container {
-    margin-top: 50px;
-  }
 }
 @media screen and (max-width: 750px) {
   #intro {
@@ -135,6 +142,9 @@ pre.clean {
   #intro.home-section {
     padding-top: 1px;
   }
+  #intro.home-section .container {
+    margin-top: 30px;
+  }
 }
 
 /* hack for issue with title being overlapped by breadcrumb in middle 2 sizes */
@@ -142,6 +152,9 @@ pre.clean {
     div.body-content, div.contribution {
         margin-top: 50px;
     }
+    #intro.home-section {
+        padding-top: 65px;
+    }
 }
 @media screen and (max-width: 750px) {
     div.body-content, div.contribution {
@@ -150,6 +163,9 @@ pre.clean {
     div.body-content {
         padding-bottom: 30px;
     }
+    #intro.home-section {
+        padding-top: 10px;
+    }
 }
 
 .project-links {