Commit 4f25869
Hackathons List Page (#6297)
* add nav
* finish new hackthon section;move subscription section
* update hackathon card
* add tribes section
* add featured hackathon section in header
* style: center text;change margins
* style: remove gutter width;resize image
* style: add image height;remove margins from featured image
* add customisable width/height for featured logo
* style: handle smaller screens
* fix: recreate migrations
* add no-featured-hackathon section
* TODO: filtering tribes
TODO: if no hackathon is ongoing, default to tribes who participated in
the most number of hackathons.
TODO: if no hackathon going, show tribes that most recently
listed their bounties.
* style: update margins
* fix: stop changing featured bool on each save
* style: fix tribes grid and columns
add rows to help space elements out properly and fix grid sizes.
* fix: duplicate listing of same tribe
* handle showing tribes from most recent finsihed hackathon
* feat: set a default tab on hackathons list
if current hackathons exists, the tab is defaulted to current.
if there are no current hackathons, the default tab is upcoming.
otherwise, the default tab is finish.
* refactor: make variables plural
* show top four tribes if no current or upcoming hackathon exists
* fix migrations
* refactor: move repetitive code into `get_hackathon_events`
* rename get_hackathon_events to get_hackathon_event
* refactor tribes filtering
* move functions to dashboard.utils
`get_hackathon_event`, `get_tribe`, `tribe_fields`,
and `hackathons_funded`
* fix migrations
* fix: missing import
* fix: recreate migrations
* Fix styles and index errors
* Remove unused images and fix extension
* feat: add workshops
* fix: misspelled attribute
* add speaker avatar;finish workshops section
* fix: recreate migrations
needed merges and create missing migrations for commit:
c6510fd
* remove uneeded margin
* update copy
* fix: recreate migrations
* fix: padding and copy position
* fix: recreate migrations
* fix:recreate migrations
* add back prize amount and number of hackers
* fix: recreate migrations
* fix subscription sextion layout
* fix hackathon section
better adjust to changes introduced in:
#6722
#6766
* fix: card-logo larger than card-header for some images
* add back deleted curly
* fix: skip overhead of dropdown of profile instances
* adjust workshop layout
- remove `workshop-cover` class -was made an ID in error
- set a `width` for speaker avatar
- set width for workshop title instead of using a column
* remove cover_max_width from HackathonWorkshop model
* recreate migrations
* adjust layout for hackathon card prize amount and builders row
* recreate migrations
* receate migrations
* recreate migrations
* recreate migrations
* recreate migrations
* refactor: use bootstrap position-relative class
* refactor: remove commented lines
* recreate migrations
* recreate mgrations
* remove featured hackathon
* remove workshops section
* remove tribe sections and trbe util functions
* updste header background, logo and details
* remove value of prizes and number of builders from card
* recreate migrations
* use footer colour
* update subscription section
* update tab section
add a third item to the tab tuple to act as title in views.
previous version (title, count)
new version (id, title, count)
done so I do not have rework it too much. This way, the title can be variable
and can be renamed fairly simply while the the id remains constant.
* update form button padding
* add hackathon summary to model and template
* remove lines in pre_save signal pertaining to removal of featured hackathon from model
* fix display of hackathon summary
* decrease padding to keep buttons on same line
* maek hackathon summary font smaller
* set secondary buttons
* add sponsors list to hackathon card
* remove count from tabs
* adjust tablist sizing on smaller screens
* remove styles and refactor
* increase width of cards, logo sizes, and handle sizes for smaller screens
* update cards
* add showcase button
* recreate migrations
* recreate migrations
* remove unused files
* style: revert to previous style
* style: add line
* style: use `let`
* use zoek1's updates
changes from PR #7087 :
0745546#diff-704cfd344337eee34d60c4265c814b3f
* recreate migrations
Co-authored-by: Miguel Angel G <miguel@gordian.dev>1 parent 483f70c commit 4f25869
10 files changed
Lines changed: 313 additions & 113 deletions
File tree
- app
- assets/v2
- css
- images/hackathon
- js/pages
- dashboard
- migrations
- templates/dashboard/hackathon
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
510 | 510 | | |
511 | 511 | | |
512 | 512 | | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
513 | 521 | | |
514 | 522 | | |
515 | 523 | | |
| |||
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
34 | 37 | | |
35 | 38 | | |
36 | 39 | | |
| |||
367 | 370 | | |
368 | 371 | | |
369 | 372 | | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
370 | 380 | | |
371 | 381 | | |
372 | 382 | | |
| |||
589 | 599 | | |
590 | 600 | | |
591 | 601 | | |
| 602 | + | |
592 | 603 | | |
593 | 604 | | |
594 | 605 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4702 | 4702 | | |
4703 | 4703 | | |
4704 | 4704 | | |
| 4705 | + | |
4705 | 4706 | | |
4706 | 4707 | | |
4707 | 4708 | | |
4708 | 4709 | | |
| 4710 | + | |
4709 | 4711 | | |
4710 | 4712 | | |
4711 | 4713 | | |
| |||
4791 | 4793 | | |
4792 | 4794 | | |
4793 | 4795 | | |
| 4796 | + | |
4794 | 4797 | | |
4795 | 4798 | | |
4796 | 4799 | | |
| |||
4812 | 4815 | | |
4813 | 4816 | | |
4814 | 4817 | | |
| 4818 | + | |
4815 | 4819 | | |
4816 | 4820 | | |
4817 | 4821 | | |
| |||
5429 | 5433 | | |
5430 | 5434 | | |
5431 | 5435 | | |
| 5436 | + | |
| 5437 | + | |
| 5438 | + | |
| 5439 | + | |
| 5440 | + | |
| 5441 | + | |
| 5442 | + | |
| 5443 | + | |
| 5444 | + | |
| 5445 | + | |
| 5446 | + | |
| 5447 | + | |
| 5448 | + | |
| 5449 | + | |
| 5450 | + | |
| 5451 | + | |
| 5452 | + | |
| 5453 | + | |
| 5454 | + | |
| 5455 | + | |
0 commit comments