-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement SSR UI #8
Merged
Merged
Conversation
This file contains 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
Refactor the server-side rendering (SSR) engine setup to dynamically construct the path for generated types using the module name instead of a hardcoded path. This update enhances maintainability by allowing easier configuration and updates to the generated TypeScript definitions without manually changing the code. Also, updated the relevant import statement in the Home.tsx file to reflect the new path of generated props. Added a new TypeScript definition file for lending props adhering to the new path structure.
Added ChevronUpIcon and refactored the footer's back-to-top button to enhance visual appeal and user experience. Introduced a new Filters button with the AdjustmentsHorizontalIcon in the header for better accessibility to filtering options. Additionally, standardized Lending page container sizing for consistency across device breakpoints. These improvements aim to provide an intuitive interface, increasing user engagement and navigational efficiency.
Introduced smooth scrolling to the top of the page when the Footer component mounts and when the corresponding button is clicked. This enhances user experience by providing a smoother visual transition on actions that navigate the user to the top of the page.
Introduced a new MapBanner component to the UI, enhancing the user's journey in discovering technology events in Brazil. The component features a call-to-action to encourage continued exploration, wrapped in a visually appealing design with attention-grabbing typography and a hover effect for better user engagement.
Introduced a new AdBanner component that includes motivational text and a prominent call-to-action button. This component leverages increased visual appeal using 'tech_bro.png', aimed at encouraging user engagement with tech event promotions. The inclusion of a Heroicons icon adds to the interactivity and modern aesthetic of the button.
footer Introduced react-world-flags package for rendering flags in the UI. Updated the package.json and package-lock.json to include the new dependency. Enhanced the footer to display the Brazilian flag alongside the text "Construído com tecnologia brasileira," emphasizing the Brazilian technology used in development. This change invokes national pride and subtly promotes local tech advancements.
Added the initial implementation of the event service with methods to retrieve and create events, incorporating user and tag data. Adjusted the database transaction logic to ensure consistency during event creation. In the model layer, strengthened the relationship between the `Cfp` and `Event` by adding an `EventID` to `Cfp` and removing the redundant `cfp_id` from `Event`, thereby normalizing the database schema and reducing redundancy. These enhancements prepare for more robust event handling and querying capabilities. Resolves #42 - Implement event services Fixes #56 - Normalize event relationship in models
Introduce QueryParams struct to encapsulate request query parameters, streamlining the extraction and usage within the lending handler. Also, centralize user extraction logic by adding GetUserFromCtx function, improving code reusability and clarity. Error handling is enhanced by logging issues during query parameter parsing. Resolves user handling inconsistency and simplifies event query construction.
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.
Enquanto estamos testando o path para acessar é https://www.techagenda.com.br/v2