diff --git a/build.sh b/build.sh index d186026..9f0e6bd 100755 --- a/build.sh +++ b/build.sh @@ -1,3 +1,4 @@ #!/bin/bash cd "$(dirname "$0")" -pnpm run build \ No newline at end of file +pnpm run build +rsync -avz --delete dist/ root@threefold.info:/root/hero/www/info/threefoldgalaxy/ \ No newline at end of file diff --git a/src/components/Blog.jsx b/src/components/Blog.jsx index c24cc4d..9f11f49 100644 --- a/src/components/Blog.jsx +++ b/src/components/Blog.jsx @@ -46,8 +46,8 @@ function Blog() { return (
-

ThreeFold Galaxy Knowledgebase

-

+

ThreeFold Galaxy Knowledgebase

+

Whitepapers, Studies and Updates.

@@ -67,13 +67,13 @@ function Blog() { setSearchTerm(e.target.value)} />
-
+
@@ -94,7 +94,7 @@ function Blog() { ) : filteredPosts.length > 0 ? (
{filteredPosts.map(post => ( - + {post.cover_image && ( {post.title} )} @@ -106,13 +106,13 @@ function Blog() { ))}
-

+

{post.title}

-

+

By {post.author} on {new Date(post.date).toLocaleDateString('en-US', { year: 'numeric', month: 'long', day: 'numeric' })}

-

+

{post.summary && post.summary.length > 200 ? `${post.summary.substring(0, 200)}...` : post.summary}

@@ -120,7 +120,7 @@ function Blog() { ))}
) : ( -
+

No posts found

Try adjusting your search or filters.

diff --git a/src/components/BlogPost.jsx b/src/components/BlogPost.jsx index 4c5a588..4ff892c 100644 --- a/src/components/BlogPost.jsx +++ b/src/components/BlogPost.jsx @@ -34,9 +34,9 @@ function BlogPost() { }, [slug]); return ( -
+
-
+
{postData.tags && postData.tags.map(tag => ( @@ -45,10 +45,10 @@ function BlogPost() { ))}
-

+

{postData.title}

-

+

By {postData.author} on {postData.date ? new Date(postData.date).toLocaleDateString('en-US', { year: 'numeric', month: 'long', day: 'numeric' }) : 'N/A'}

@@ -61,7 +61,7 @@ function BlogPost() { /> )} -
+
), h1: ({node, ...props}) => ( -

+

), h2: ({node, ...props}) => ( -

+

), h3: ({node, ...props}) => ( -

+

), h4: ({node, ...props}) => ( -

+

), p: ({node, ...props}) => ( -

+

), strong: ({node, ...props}) => ( - + ), em: ({node, ...props}) => ( - + ), ul: ({node, ...props}) => ( -

    +
      ), ol: ({node, ...props}) => ( -
        +
          ), li: ({node, ...props}) => (
        1. ), blockquote: ({node, ...props}) => ( -
          +
          ), code: ({node, inline, ...props}) => inline ? ( - + ) : ( - + ), pre: ({node, ...props}) => ( -
          +                  
                           )
                         }}
                       >
          diff --git a/src/components/FinalStepForm.jsx b/src/components/FinalStepForm.jsx
          index 65c4398..aad0745 100644
          --- a/src/components/FinalStepForm.jsx
          +++ b/src/components/FinalStepForm.jsx
          @@ -10,9 +10,9 @@ import { CheckCircle, AlertCircle, ArrowRight, BookOpen } from 'lucide-react'
           
           function FinalStepForm({ formData, handleInputChange, handleSubmit, isSubmitting, submitStatus, formError }) {
             return (
          -    
          +
          - + Additional Information & Terms @@ -22,21 +22,21 @@ function FinalStepForm({ formData, handleInputChange, handleSubmit, isSubmitting
          {submitStatus === 'success' && ( -
          +
          Thank you! Your interest has been registered successfully. We'll be in touch soon.
          )} {submitStatus === 'error' && ( -
          +
          {formError || 'There was an error registering your interest. Please ensure all required fields are filled and terms are agreed.'}
          )}
          -

          +

          Additional Information (Optional)

          diff --git a/src/components/InterestSpecificStep.jsx b/src/components/InterestSpecificStep.jsx index 0c38a28..8f526cf 100644 --- a/src/components/InterestSpecificStep.jsx +++ b/src/components/InterestSpecificStep.jsx @@ -12,8 +12,8 @@ function InterestSpecificStep({ formData, handleInputChange }) { if (formData.interestCategory.includes('realEstateDeveloper')) { fields.push( -
          -

          Real Estate Developer Specifics

          +
          +

          Real Estate Developer Specifics

          handleInputChange('propertyType', e.target.value)} /> @@ -36,8 +36,8 @@ function InterestSpecificStep({ formData, handleInputChange }) { if (formData.interestCategory.includes('government')) { fields.push( -
          -

          Government/Public Sector Specifics

          +
          +

          Government/Public Sector Specifics

          handleInputChange('jurisdiction', e.target.value)} /> @@ -60,8 +60,8 @@ function InterestSpecificStep({ formData, handleInputChange }) { if (formData.interestCategory.includes('enterprise')) { fields.push( -
          -

          Enterprise Customer Specifics

          +
          +

          Enterprise Customer Specifics