-
Notifications
You must be signed in to change notification settings - Fork 0
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
Index Page #37
Index Page #37
Conversation
This is a WIP, most elements are not correctly aligned and are not yet mobile ready. Help and suggestions appreciated :) |
Desktop is mostly done, there is only a small issue that I've not been able to fix. |
f224e48
to
3ca70e8
Compare
@toni-santos remember: se are already using Typescript, so we should.make.use of the type system. When defining props, teu to use a type as a genéric instead of an object. |
I believe you're aware of this @toni-santos but the alignment here seems a bit odd |
@toni-santos I just thought of this: we should have the beginning and end dates not be hardcoded in the markup. They could be defined externally or added as attributes to an edition (in the last case, the website could just always use the latest edition available, regardless of whether it is active or not, food for thought) |
This is not scoped to this PR but I'll leave it here due to context; the dates part could/should still be handled here IMO. Basically, if we had more attributes to an edition, we could define the site's theme as a JSON attribute (SQL standard has those now and PgSQL supports then already if I'm not mistaken) of the editon, as well as any other important data that might be needed. |
I'm not able to get a better screenshot, but I've changed the code so that the position of the titles, where applicable, are not computed by me but instead by CSS centering mechanisms which I then just add a margin in order to take into account the shadow when centering. |
That's a great idea, in fact all pages should just be receiving information from the database and then displaying them through the mechanisms and interfaces that are respective to each edition. For this PR however, my idea was to keep it frontend only, seeing as the information being displayed here comes from sources from the database that are yet to be implemented in the backend, mainly, the speakers.
Agreed, and related to what I said regarding the first point :) |
I have fixed the issue I reported at the beginning where the carousel's changing height would make the rest of the page grow and shrink in size, however due to the fact that it made it impossible to achieve a clean transition I have disabled the animation/transition on the change of size of the image, furthermore it made the carousel look really weird when switching images. We could revisit this if we deem that the size transition is relevant and enhances the page, however due to its appearance I'd suggest against it. Following this I believe there aren't anymore tweaks or fixes left. Please test the page out, mainly the speaker's carousel and its behavior when resizing and interacting with the page in responsive ways. |
I may have not noticed or it may have been recently added, but there were some modals missing that provide some more information about the sponsors, this is now implemented with this package. It seems to be lightweight and easy to use, a good option whenever we need to use any modals! |
Inertia apparently has modal components |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I saw a lot of px
units and I'm kinda of scared: are they really necessary?
Other than that, I'm going to assume that you are waiting for #36 for the navbar: currently the "about us" section is half-cut and it could look better.
d3cd0c1
Branch has been rebased and is ready for review :) Please check it out! |
Don't forget to rebase this branch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2f238e0
to
1bba0ef
Compare
5260099
to
fa245c9
Compare
Closes #33