refactor(web): properly create table in cmp-info according to spec (#3362)

Stops the vue compiler from nagging you, and improves consistency with other tables.
This commit is contained in:
Erb3
2025-03-12 17:53:44 +01:00
committed by GitHub
parent 31a001bbc1
commit 801c03981a

View File

@@ -92,32 +92,38 @@
</p> </p>
<table> <table>
<tr> <thead>
<th>Timeline</th> <tr>
<th>Date</th> <th>Timeline</th>
</tr> <th>Date</th>
<tr> </tr>
<td>Revenue earned on</td> </thead>
<td> <tbody>
<input id="revenue-date-picker" v-model="rawSelectedDate" type="date" /> <tr>
<noscript <td>Revenue earned on</td>
>(JavaScript must be enabled for the date picker to function, example date: 2024-07-15) <td>
</noscript> <input id="revenue-date-picker" v-model="rawSelectedDate" type="date" />
</td> <noscript
</tr> >(JavaScript must be enabled for the date picker to function, example date:
<tr> 2024-07-15)
<td>End of the month</td> </noscript>
<td>{{ formatDate(endOfMonthDate) }}</td> </td>
</tr> </tr>
<tr> <tr>
<td>NET 60 policy applied</td> <td>End of the month</td>
<td>+ 60 days</td> <td>{{ formatDate(endOfMonthDate) }}</td>
</tr> </tr>
<tr class="final-result"> <tr>
<td>Available for withdrawal</td> <td>NET 60 policy applied</td>
<td>{{ formatDate(withdrawalDate) }}</td> <td>+ 60 days</td>
</tr> </tr>
<tr class="final-result">
<td>Available for withdrawal</td>
<td>{{ formatDate(withdrawalDate) }}</td>
</tr>
</tbody>
</table> </table>
<h3>How do I know Modrinth is being transparent about revenue?</h3> <h3>How do I know Modrinth is being transparent about revenue?</h3>
<p> <p>
We aim to be as transparent as possible with creator revenue. All of our code is open source, We aim to be as transparent as possible with creator revenue. All of our code is open source,