home 5 months ago
parent
commit
7bbc6b0c26
3 changed files with 47 additions and 2 deletions
  1. 4 0
      public/robots.txt
  2. 39 0
      public/sitemap.xml
  3. 4 2
      src/pages/about/History.tsx

+ 4 - 0
public/robots.txt

@@ -0,0 +1,4 @@
+User-agent: *
+Allow: /
+
+Sitemap: https://bandosj.com/sitemap.xml

+ 39 - 0
public/sitemap.xml

@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
+    <url>
+        <loc>https://bandosj.com/</loc>
+        <lastmod>2025-07-13</lastmod>
+        <changefreq>monthly</changefreq>
+        <priority>1.0</priority>
+    </url>
+    <url>
+        <loc>https://bandosj.com/about/ceo</loc>
+        <lastmod>2025-07-13</lastmod>
+        <changefreq>monthly</changefreq>
+        <priority>0.8</priority>
+    </url>
+    <url>
+        <loc>https://bandosj.com/business/sections</loc>
+        <lastmod>2025-07-13</lastmod>
+        <changefreq>monthly</changefreq>
+        <priority>0.8</priority>
+    </url>
+    <url>
+        <loc>https://bandosj.com/about/location</loc>
+        <lastmod>2025-07-13</lastmod>
+        <changefreq>monthly</changefreq>
+        <priority>0.8</priority>
+    </url>
+    <url>
+        <loc>https://bandosj.com/about/organization</loc>
+        <lastmod>2025-07-13</lastmod>
+        <changefreq>monthly</changefreq>
+        <priority>0.8</priority>
+    </url>
+    <url>
+        <loc>https://bandosj.com/score/sheet</loc>
+        <lastmod>2025-07-13</lastmod>
+        <changefreq>monthly</changefreq>
+        <priority>0.8</priority>
+    </url>
+</urlset>

+ 4 - 2
src/pages/about/History.tsx

@@ -167,10 +167,12 @@ const History = () => {
               <div className="relative space-y-6 sm:space-y-8">
                 <div className="absolute left-4 top-0 w-0.5 h-full bg-gray-300"></div>
                 
-                {filteredItems.map(({date, description, image}, index) => (
+                {filteredItems.map(({date, description}, index) => (
                   <div
                     key={date + description}
-                    ref={el => itemRefs.current[index] = el}
+                    ref={(el) => {
+                      itemRefs.current[index] = el;
+                    }}
                     className={`relative pl-12 transition-all duration-700 ease-out ${
                       visibleItems.has(index) 
                         ? 'opacity-100 translate-y-0'