Skip to content
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 41 commits into from
Feb 4, 2024
Merged

Implement SSR UI #8

merged 41 commits into from
Feb 4, 2024

Conversation

caioeverest
Copy link
Collaborator

@caioeverest caioeverest commented Jan 22, 2024

Enquanto estamos testando o path para acessar é https://www.techagenda.com.br/v2

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.
@caioeverest caioeverest self-assigned this Jan 22, 2024
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.
@caioeverest caioeverest merged commit b84b978 into main Feb 4, 2024
2 checks passed
@caioeverest caioeverest deleted the feat/ui-ssr branch February 4, 2024 04:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant