How astoriastudyabroad0-glitch/astoria works
Astoria is a study-abroad agency website: prospective students browse guidance and destinations, read articles, and submit contact or review forms; administrators manage that content and incoming submissions. App.jsx routes public and admin pages. Page components use service modules for Supabase-backed data, while shared components provide presentation. The README documents the agency’s admission, visa, scholarship, accommodation, and post-arrival offerings. Some page and admin implementations were not sampled, so their documented capabilities are shown without inferring unverified internal flows.
Main entry points: App.jsx Route application · Home.jsx Home · Dashboard.jsx Admin dashboard · Contact.jsx Contact form
Components 23
Public website
- Route application
src/App.jsx - Home
src/pages/Home.jsx - About
src/pages/About.jsx - Study services
src/pages/Services.jsx - Destinations
src/pages/Countries.jsx - Contact form
src/pages/Contact.jsx - Blog listing
src/pages/Blogs.jsx - Blog article
src/pages/BlogDetail.jsx
Admin workspace
- Admin login
src/pages/admin/Login.jsx - Admin dashboard
src/pages/admin/Dashboard.jsx - Word editor
src/components/admin/WordEditor.jsx
Data services
- Blog service
src/services/BlogService.js - Country service
src/services/CountryService.js - Message service
src/services/MessageService.js - Review service
src/services/ReviewService.js - Settings service
src/services/SettingsService.js - Supabase client
src/lib/supabaseClient.js
Shared UI
- Button
src/components/Button.jsx - Card
src/components/Card.jsx - Section wrapper
src/components/SectionWrapper.jsx - Footer
src/components/Footer.jsx
Other components
- Prospective student
- Supabase
Connections 47
- Prospective student → Route application: opens site
README.md - Route application → Home: routes to
src/App.jsx - Route application → About: routes to
src/App.jsx - Route application → Study services: routes to
src/App.jsx - Route application → Destinations: routes to
src/App.jsx - Route application → Contact form: routes to
src/App.jsx - Route application → Blog listing: routes to
src/App.jsx - Route application → Blog article: routes to
src/App.jsx - Route application → Admin login: routes to
src/App.jsx - Route application → Admin dashboard: routes to
src/App.jsx - Home → Country service: loads destinations
src/pages/Home.jsx - Home → Review service: loads reviews
src/pages/Home.jsx - Home → Blog service: loads articles
src/pages/Home.jsx - Destinations → Country service: loads destinations
src/pages/Countries.jsx - Contact form → Message service: submits messages
src/pages/Contact.jsx - Contact form → Review service: uses reviews
src/pages/Contact.jsx - Contact form → Settings service: loads settings
src/pages/Contact.jsx - Blog listing → Blog service: loads articles
src/pages/Blogs.jsx - Blog article → Blog service: loads article
src/pages/BlogDetail.jsx - Admin dashboard → Blog service: manages articles
src/pages/admin/Dashboard.jsx - Admin dashboard → Message service: manages messages
src/pages/admin/Dashboard.jsx - Admin dashboard → Review service: manages reviews
src/pages/admin/Dashboard.jsx - Admin dashboard → Country service: manages destinations
src/pages/admin/Dashboard.jsx - Admin dashboard → Settings service: manages settings
src/pages/admin/Dashboard.jsx - Admin dashboard → Word editor: edits article content
src/pages/admin/Dashboard.jsx - Blog service → Supabase client: uses client
src/services/BlogService.js - Country service → Supabase client: uses client
src/services/CountryService.js - Message service → Supabase client: uses client
src/services/MessageService.js - Review service → Supabase client: uses client
src/services/ReviewService.js - Settings service → Supabase client: uses client
src/services/SettingsService.js - Supabase client → Supabase: connects to
src/lib/supabaseClient.js - About → Section wrapper: renders
src/pages/About.jsx - About → Card: renders
src/pages/About.jsx - Study services → Section wrapper: renders
src/pages/Services.jsx - Study services → Card: renders
src/pages/Services.jsx - Study services → Button: renders
src/pages/Services.jsx - Destinations → Section wrapper: renders
src/pages/Countries.jsx - Destinations → Card: renders
src/pages/Countries.jsx - Destinations → Button: renders
src/pages/Countries.jsx - Contact form → Section wrapper: renders
src/pages/Contact.jsx - Contact form → Button: renders
src/pages/Contact.jsx - Home → Card: renders
src/pages/Home.jsx - Home → Button: renders
src/pages/Home.jsx - Home → Section wrapper: renders
src/pages/Home.jsx - Blog listing → Section wrapper: renders
src/pages/Blogs.jsx - Blog article → Section wrapper: renders
src/pages/BlogDetail.jsx - Footer → Settings service: loads settings
src/components/Footer.jsx