You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@age.apache.org by hb...@apache.org on 2022/11/04 04:47:05 UTC

[age-website] branch new-web updated: Update Forum position and wording

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

hbshin pushed a commit to branch new-web
in repository https://gitbox.apache.org/repos/asf/age-website.git


The following commit(s) were added to refs/heads/new-web by this push:
     new 2f5d713  Update Forum position and wording
2f5d713 is described below

commit 2f5d7132a218f9a919285d2756694cea861048ef
Author: Hanbyeol Shin /  David Shin / 신한별 <76...@users.noreply.github.com>
AuthorDate: Fri Nov 4 13:46:59 2022 +0900

    Update Forum position and wording
---
 src/templates/index-page.js            | 26 ++++++++++++--------------
 src/templates/styles/index.module.scss |  4 ++--
 2 files changed, 14 insertions(+), 16 deletions(-)

diff --git a/src/templates/index-page.js b/src/templates/index-page.js
index c2d8cf4..c18d2df 100644
--- a/src/templates/index-page.js
+++ b/src/templates/index-page.js
@@ -141,18 +141,6 @@ export const IndexPageTemplate = ({
           <AgeViewerProjectList />
         </div>
       </section>
-
-      <section style={{ backgroundPosition: 'center', backgroundSize: 'contain', backgroundRepeat: 'no-repeat' }}>
-        <div className={styles.content}>
-          <h2>AGE Forum</h2>
-            <a href="https://discord.com/invite/NMsBs9X8Ss" target="_blank">
-              <div className={styles.inviteDiscord}>
-                <img src={ageLogo} alt="Discord Invite Link" />
-              </div>          
-            </a>
-          <h3>Want to know more about Apache AGE? Got inquiries regarding the project? Come to the AGE forum and let’s have a chat!</h3>
-        </div>
-      </section>
       {/* <section style={{ backgroundPosition: 'center', backgroundSize: 'contain', backgroundRepeat: 'no-repeat' }} hidden > */}
         {/* <div className={styles.content}>
           <h2>Message From AGE Team</h2>
@@ -177,9 +165,19 @@ export const IndexPageTemplate = ({
           </p>
           <Ageinfos />
         </div>
-
       </section>
-      <section hidden/>
+      <section style={{ backgroundPosition: 'center', backgroundSize: 'contain', backgroundRepeat: 'no-repeat' }}>
+        <div className={styles.content}>
+          <h2>Forum</h2>
+            <a href="https://discord.com/invite/NMsBs9X8Ss" target="_blank">
+              <div className={styles.inviteDiscord}>
+                <img src={ageLogo} alt="Discord Invite Link" />
+              </div>          
+            </a>
+          <h3>Got any questions about the project? Join us in Discord and let's chat!</h3>
+        </div>
+      </section>
+      <section hidden></section>
       <section>
         <div className={styles.content}>
           <div className={styles.Subscribe}>
diff --git a/src/templates/styles/index.module.scss b/src/templates/styles/index.module.scss
index e7ee29a..4637a22 100644
--- a/src/templates/styles/index.module.scss
+++ b/src/templates/styles/index.module.scss
@@ -171,8 +171,8 @@
       // invite discord
       .inviteDiscord {
         display: flex;
-        max-width: 50rem;
-        height: 18.75rem;
+        max-width: 30rem;
+        height: 16.25rem;
         background-image: url('/img/discord-invite.jpg');
         background-size: contain;
         background-repeat: no-repeat;