How michaeltang3aaaaa/dit2163n_assignment1 works
Explore Malaysia is a React travel-discovery site. Visitors enter through the app shell, navigate to introductory, package-listing, category-highlight, and contact pages, and can change the visual theme. The main package list fetches static package data; category highlights are defined locally in the category page. The contact form validates and acknowledges input in the browser, with no submission service shown. The graph follows the active routing and imports in the sampled files; it does not treat the separate Header component as active, and unsampled styling or other wiring is omitted.
Main entry points: App.jsx Routes and shell · main.jsx React entry · Travel_Packages.jsx Travel packages · About.jsx About and highlights
Components 10
App shell
- React entry
src/main.jsx - Routes and shell
src/App.jsx
Travel discovery
- Home introduction
src/components/Home.jsx - Travel packages
src/components/Travel_Packages.jsx - Package catalog
public/Travel_Packages.json - About and highlights
src/components/About.jsx - Category packages
src/components/HighlightPackages.jsx
Visitor engagement
- Contact form
src/components/Contact.jsx
Appearance
- Theme toggle
src/components/Theme_Toggle.jsx
Other components
- Visitor
Connections 10
- Visitor → React entry: opens site
- React entry → Routes and shell: renders
src/main.jsx - Routes and shell → Home introduction: routes to
src/App.jsx - Routes and shell → Travel packages: routes to
src/App.jsx - Routes and shell → About and highlights: routes to
src/App.jsx - Routes and shell → Category packages: routes to
src/App.jsx - Routes and shell → Contact form: routes to
src/App.jsx - Routes and shell → Theme toggle: renders
src/App.jsx - Travel packages → Package catalog: fetches
src/components/Travel_Packages.jsx - About and highlights → Category packages: links to
src/components/About.jsx