Commit 6eae87b
Tailwind step zero (#619)
* tailwind v2 migration: step-zero prerequisites
- Fix flashesV2.ejs missing comma that silently dropped error flashes
- Port form-state preservation from stale root signupV2.ejs into views/public/signupV2.ejs
- Define empty.ejs as a real bare-shell layout (DOCTYPE + Tailwind, no nav/footer)
- Remove stale root signupV2.ejs and teamV2.ejs drafts (views/public versions are canonical)
Prereq for the broader Tailwind V2 migration tracked in #609.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* tailwind v2 migration: homepage (#611)
- Add views/private/homepageV2.ejs using base.ejs layout: welcome, Tailwind experience bar, contributor controls, 5-subject ratings, Chart.js rating tracker, training-mode + classic-subject + USABO grids, site stats, dailySnippetV2, announcements panel, social-link bar
- Wire /homepage route to render homepageV2.ejs with expressLayouts middleware and layout: 'layouts/base.ejs'
- Drop the bottom search widget on the homepage (jQuery-MultiSelect + Bootstrap; nav already exposes /search and the search.ejs page migrates separately)
- Drop AOS scroll animations and jQuery thumbnail hover; replaced hover with Tailwind opacity-80 hover:opacity-100
Part of the broader Tailwind V2 migration tracked in #609. Legacy homepage.ejs remains in tree until the final cleanup pass.
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
* Tailwind homepage (#613)
* tailwind v2 migration: homepage
- Add views/private/homepageV2.ejs using base.ejs layout: welcome, Tailwind experience bar, contributor controls, 5-subject ratings, Chart.js rating tracker, training-mode + classic-subject + USABO grids, site stats, dailySnippetV2, announcements panel, social-link bar
- Wire /homepage route to render homepageV2.ejs with expressLayouts middleware and layout: 'layouts/base.ejs'
- Drop the bottom search widget on the homepage (jQuery-MultiSelect + Bootstrap; nav already exposes /search and the search.ejs page migrates separately)
- Drop AOS scroll animations and jQuery thumbnail hover; replaced hover with Tailwind opacity-80 hover:opacity-100
Part of the broader Tailwind V2 migration tracked in #609. Legacy homepage.ejs remains in tree until the final cleanup pass.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* tailwind v2 migration: profile (#612)
- Add views/private/profileV2.ejs using base.ejs layout: name banner, Tailwind experience bar, info card (name/age/location/bio/achievements), Chart.js rating tracker + correct/wrong pie with custom plugin, Problem Rush highscore, Collected Tags grid (Physics/Chemistry/Biology)
- Wire /profile/:username route to render profileV2.ejs with expressLayouts
- Consolidate three duplicated EJS blocks for collected-tags rendering into a single forEach over subjects (no behavior change)
Part of the broader Tailwind V2 migration tracked in #609. Legacy profile.ejs remains in tree until the final cleanup pass.
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
* Tailwind homepage (#616)
* tailwind v2 migration: homepage
- Add views/private/homepageV2.ejs using base.ejs layout: welcome, Tailwind experience bar, contributor controls, 5-subject ratings, Chart.js rating tracker, training-mode + classic-subject + USABO grids, site stats, dailySnippetV2, announcements panel, social-link bar
- Wire /homepage route to render homepageV2.ejs with expressLayouts middleware and layout: 'layouts/base.ejs'
- Drop the bottom search widget on the homepage (jQuery-MultiSelect + Bootstrap; nav already exposes /search and the search.ejs page migrates separately)
- Drop AOS scroll animations and jQuery thumbnail hover; replaced hover with Tailwind opacity-80 hover:opacity-100
Part of the broader Tailwind V2 migration tracked in #609. Legacy homepage.ejs remains in tree until the final cleanup pass.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* tailwind v2 migration: profile (#612)
- Add views/private/profileV2.ejs using base.ejs layout: name banner, Tailwind experience bar, info card (name/age/location/bio/achievements), Chart.js rating tracker + correct/wrong pie with custom plugin, Problem Rush highscore, Collected Tags grid (Physics/Chemistry/Biology)
- Wire /profile/:username route to render profileV2.ejs with expressLayouts
- Consolidate three duplicated EJS blocks for collected-tags rendering into a single forEach over subjects (no behavior change)
Part of the broader Tailwind V2 migration tracked in #609. Legacy profile.ejs remains in tree until the final cleanup pass.
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
* tailwind v2 migration: profile (#615)
- Add views/private/profileV2.ejs using base.ejs layout: name banner, Tailwind experience bar, info card (name/age/location/bio/achievements), Chart.js rating tracker + correct/wrong pie with custom plugin, Problem Rush highscore, Collected Tags grid (Physics/Chemistry/Biology)
- Wire /profile/:username route to render profileV2.ejs with expressLayouts
- Consolidate three duplicated EJS blocks for collected-tags rendering into a single forEach over subjects (no behavior change)
Part of the broader Tailwind V2 migration tracked in #609. Legacy profile.ejs remains in tree until the final cleanup pass.
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
* Tailwind homepage (#618)
* tailwind v2 migration: homepage
- Add views/private/homepageV2.ejs using base.ejs layout: welcome, Tailwind experience bar, contributor controls, 5-subject ratings, Chart.js rating tracker, training-mode + classic-subject + USABO grids, site stats, dailySnippetV2, announcements panel, social-link bar
- Wire /homepage route to render homepageV2.ejs with expressLayouts middleware and layout: 'layouts/base.ejs'
- Drop the bottom search widget on the homepage (jQuery-MultiSelect + Bootstrap; nav already exposes /search and the search.ejs page migrates separately)
- Drop AOS scroll animations and jQuery thumbnail hover; replaced hover with Tailwind opacity-80 hover:opacity-100
Part of the broader Tailwind V2 migration tracked in #609. Legacy homepage.ejs remains in tree until the final cleanup pass.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* tailwind v2 migration: profile (#612)
- Add views/private/profileV2.ejs using base.ejs layout: name banner, Tailwind experience bar, info card (name/age/location/bio/achievements), Chart.js rating tracker + correct/wrong pie with custom plugin, Problem Rush highscore, Collected Tags grid (Physics/Chemistry/Biology)
- Wire /profile/:username route to render profileV2.ejs with expressLayouts
- Consolidate three duplicated EJS blocks for collected-tags rendering into a single forEach over subjects (no behavior change)
Part of the broader Tailwind V2 migration tracked in #609. Legacy profile.ejs remains in tree until the final cleanup pass.
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
* tailwind v2 migration: profile (#615)
- Add views/private/profileV2.ejs using base.ejs layout: name banner, Tailwind experience bar, info card (name/age/location/bio/achievements), Chart.js rating tracker + correct/wrong pie with custom plugin, Problem Rush highscore, Collected Tags grid (Physics/Chemistry/Biology)
- Wire /profile/:username route to render profileV2.ejs with expressLayouts
- Consolidate three duplicated EJS blocks for collected-tags rendering into a single forEach over subjects (no behavior change)
Part of the broader Tailwind V2 migration tracked in #609. Legacy profile.ejs remains in tree until the final cleanup pass.
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>1 parent 5cab3f0 commit 6eae87b
4 files changed
Lines changed: 459 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
43 | | - | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
48 | | - | |
| 50 | + | |
49 | 51 | | |
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
55 | 57 | | |
| 58 | + | |
| 59 | + | |
56 | 60 | | |
57 | 61 | | |
58 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
37 | | - | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| |||
51 | 53 | | |
52 | 54 | | |
53 | 55 | | |
54 | | - | |
| 56 | + | |
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
59 | 61 | | |
60 | 62 | | |
| 63 | + | |
61 | 64 | | |
62 | 65 | | |
63 | 66 | | |
| |||
| 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 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
0 commit comments