Add sitemap and robots.txt, update home page stats to static values, and fix prayer language detection

- Create sitemap.xml with internationalized routes and proper SEO attributes
- Create robots.txt with appropriate crawling rules for public/private content
- Update home page stats to show static values (1,416 Bible versions, 17M+ verses)
- Remove live stats API calls to eliminate loading delays
- Add /api/stats endpoint for potential future use
- Fix Romanian prayers incorrectly tagged as English in database
- Add missing AZURE_OPENAI_DEPLOYMENT to .env.example
- Update translation keys for Bible versions stat
- Add sample English prayer requests to populate prayer wall

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-09-25 06:41:02 +00:00
parent 14c4ec2edc
commit 3ae9733805
8 changed files with 356 additions and 13 deletions

View File

@@ -49,6 +49,15 @@ export default function Home() {
verse: string
reference: string
} | null>(null)
const [stats] = useState<{
bibleVersions: number
verses: number
books: number
}>({
bibleVersions: 1416,
verses: 17000000,
books: 66
})
// Fetch daily verse
useEffect(() => {
@@ -72,6 +81,7 @@ export default function Home() {
fetchDailyVerse()
}, [locale, t])
// Simulate live user counter
useEffect(() => {
const interval = setInterval(() => {
@@ -564,13 +574,13 @@ export default function Home() {
<Box sx={{ display: 'flex', gap: 4, flexWrap: 'wrap', textAlign: 'center', justifyContent: 'center' }}>
<Box sx={{ flex: { xs: '1 1 100%', sm: '1 1 calc(33.33% - 24px)' } }}>
<Typography variant="h3" color="primary.main" gutterBottom>
66
{stats.bibleVersions.toLocaleString()}
</Typography>
<Typography variant="h6">{t('stats.books')}</Typography>
<Typography variant="h6">{t('stats.bibleVersions')}</Typography>
</Box>
<Box sx={{ flex: { xs: '1 1 100%', sm: '1 1 calc(33.33% - 24px)' } }}>
<Typography variant="h3" color="secondary.main" gutterBottom>
31,000+
17M+
</Typography>
<Typography variant="h6">{t('stats.verses')}</Typography>
</Box>