Compare commits

...

2 commits

Author SHA1 Message Date
fd750b54aa
remove dummy testimonials 2026-07-03 15:11:43 +03:00
61580933dd
document social preview 2026-07-03 15:10:46 +03:00
2 changed files with 38 additions and 18 deletions

View file

@ -46,24 +46,6 @@ const testimonials: Testimonial[] = [
'My understanding of Torah has been profoundly improved through ' +
'his teachings.',
},
{
name: 'Placeholder Student 1',
quote:
'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do ' +
'eiusmod tempor incididunt ut labore et dolore magna aliqua.',
},
{
name: 'Placeholder Student 2',
quote:
'Ut enim ad minim veniam, quis nostrud exercitation ullamco ' +
'laboris nisi ut aliquip ex ea commodo consequat.',
},
{
name: 'Placeholder Student 3',
quote:
'Duis aute irure dolor in reprehenderit in voluptate velit esse ' +
'cillum dolore eu fugiat nulla pariatur.',
},
]
const testimonialIndex = ref(0)

38
social-preview-todo.md Normal file
View file

@ -0,0 +1,38 @@
# Social Preview Images Todo
## Goal
Fix WhatsApp and social link previews so the site no longer shows the
Vue-looking favicon and instead uses Rabbi Gerzi branded images.
## Todo
- Prepare replacement assets:
- `frontend/rabbi_gerzi/public/favicon.png` at `512x512`.
- `frontend/rabbi_gerzi/public/favicon.ico` with common small icon sizes.
- Optional `frontend/rabbi_gerzi/public/favicon.svg`.
- Optional `frontend/rabbi_gerzi/public/apple-touch-icon.png` at `180x180`.
- `frontend/rabbi_gerzi/public/assets/social-preview.png` at `1200x630`.
- Update `frontend/rabbi_gerzi/index.html`:
- Point favicon links at the replacement files.
- Add Open Graph title, description, type, URL, image, width, and height.
- Add Twitter card title, description, and image tags.
- Use `https://rabbigerzi.com/assets/social-preview.png` for the absolute
preview image URL.
- Add or update a Cypress check that verifies:
- favicon metadata points at the intended files,
- `og:image` and `twitter:image` are present,
- page title and description metadata match the site.
- Run frontend verification from `frontend/rabbi_gerzi/`:
- `npm run test:e2e -- --spec cypress/e2e/home.cy.ts`
- `npm run format`
- `npm run lint`
- `npm run type-check`
## Notes
- WhatsApp may cache old previews after deploy. If that happens, rename the
social image file, for example to `social-preview-v2.png`, and update
`index.html` to force a fresh scrape.
- Public files in Vite are served from the site root, so
`public/assets/social-preview.png` becomes `/assets/social-preview.png`.