Conversation
Signed-off-by: jvspeed74 <javaugh@iu.edu>
Signed-off-by: jvspeed74 <javaugh@iu.edu>
…le handling Signed-off-by: jvspeed74 <javaugh@iu.edu>
…le handling Signed-off-by: jvspeed74 <javaugh@iu.edu>
# Conflicts: # config/routes.php # public/carsPage.php # public/css/f1.css # public/driversPage.php # public/eventsPage.php # public/mainPage.php # public/teamsPage.php # public/tracksPage.php
… made global css file, and redid main page
6ebe49b to
fdf4a92
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces significant improvements to the application's frontend and backend structure to support a Single Page Application (SPA) experience with dedicated API endpoints and enhanced styling. The main changes include the addition of new SPA page routes, separation of API endpoints under a common namespace, new frontend pages for cars, and the introduction of global and specialized CSS for consistent and modern UI styling. There are also updates to project configuration and development environment files.
Backend/API Structure Improvements:
config/routes.phpto serve HTML pages for main, teams, drivers, tracks, events, and cars, each rendering a PHP file with embedded JavaScript./api(e.g.,/api/teams,/api/events, etc.) to clearly separate JSON API routes from SPA routes, reducing the risk of route collisions and improving maintainability. [1] [2]/apibase path.Frontend Enhancements:
public/carsPage.phpSPA page with JavaScript for fetching, searching, and paginating car data from the API, and navigation links to all main sections.public/css/global.cssfor unified, modern styling across all SPA pages, including layout, navigation, cards, search, and pagination components.public/css/f1.cssfor specialized styling of track and driver lists, responsive layouts, and hero sections.Development Environment & Project Configuration:
.gitattributesfile to enforce LF line endings for text files and mark binary files, improving cross-platform consistency..idea/.gitignoreto exclude IDE-specific files and folders, keeping the repository clean.specandtestsas test source folders.