File tree Expand file tree Collapse file tree 3 files changed +25
-16
lines changed
apps/frontend/src/pages/servers
ui/src/components/changelog Expand file tree Collapse file tree 3 files changed +25
-16
lines changed Original file line number Diff line number Diff line change 640
640
</h2 >
641
641
</div >
642
642
<ButtonStyled color =" blue" size =" large" >
643
- <NuxtLink
643
+ <a
644
644
v-if =" !loggedOut && isSmallAtCapacity"
645
- :to =" outOfStockUrl"
645
+ :href =" outOfStockUrl"
646
646
target =" _blank"
647
647
class =" flex items-center gap-2 !bg-highlight-blue !font-medium !text-blue"
648
648
>
649
649
Out of Stock
650
650
<ExternalIcon class =" !min-h-4 !min-w-4 !text-blue" />
651
- </NuxtLink >
651
+ </a >
652
652
<button
653
653
v-else
654
654
class =" !bg-highlight-blue !font-medium !text-blue"
703
703
</h2 >
704
704
</div >
705
705
<ButtonStyled color =" brand" size =" large" >
706
- <NuxtLink
706
+ <a
707
707
v-if =" !loggedOut && isMediumAtCapacity"
708
- :to =" outOfStockUrl"
708
+ :href =" outOfStockUrl"
709
709
target =" _blank"
710
710
class =" flex items-center gap-2 !bg-highlight-green !font-medium !text-green"
711
711
>
712
712
Out of Stock
713
713
<ExternalIcon class =" !min-h-4 !min-w-4 !text-green" />
714
- </NuxtLink >
714
+ </a >
715
715
<button
716
716
v-else
717
717
class =" !bg-highlight-green !font-medium !text-green"
757
757
</h2 >
758
758
</div >
759
759
<ButtonStyled color =" brand" size =" large" >
760
- <NuxtLink
760
+ <a
761
761
v-if =" !loggedOut && isLargeAtCapacity"
762
- :to =" outOfStockUrl"
762
+ :href =" outOfStockUrl"
763
763
target =" _blank"
764
764
class =" flex items-center gap-2 !bg-highlight-purple !font-medium !text-purple"
765
765
>
766
766
Out of Stock
767
767
<ExternalIcon class =" !min-h-4 !min-w-4 !text-purple" />
768
- </NuxtLink >
768
+ </a >
769
769
<button
770
770
v-else
771
771
class =" !bg-highlight-purple !font-medium !text-purple"
@@ -871,7 +871,7 @@ const deletingSpeed = 25;
871
871
const pauseTime = 2000 ;
872
872
873
873
const loggedOut = computed (() => ! auth .value .user );
874
- const outOfStockUrl = " https://support .modrinth.com" ;
874
+ const outOfStockUrl = " https://discord .modrinth.com" ;
875
875
876
876
const { data: hasServers } = await useAsyncData (" ServerListCountCheck" , async () => {
877
877
try {
Original file line number Diff line number Diff line change 23
23
</h2 >
24
24
</AutoLink >
25
25
<div
26
- v-if =" recent"
26
+ v-if =" recent && !future "
27
27
v-tooltip =" dateTooltip"
28
28
class =" hidden sm:flex"
29
29
:class =" { 'cursor-help': dateTooltip }"
@@ -66,11 +66,8 @@ const props = withDefaults(
66
66
)
67
67
68
68
const currentDate = ref (dayjs ())
69
- const recent = computed (
70
- () =>
71
- props .entry .date .isAfter (currentDate .value .subtract (1 , ' week' )) &&
72
- props .entry .date .isBefore (currentDate .value ),
73
- )
69
+ const recent = computed (() => props .entry .date .isAfter (currentDate .value .subtract (1 , ' week' )))
70
+ const future = computed (() => props .entry .date .isBefore (currentDate .value ))
74
71
const dateTooltip = computed (() => props .entry .date .format (' MMMM D, YYYY [at] h:mm A' ))
75
72
76
73
const relativeDate = computed (() => props .entry .date .fromNow ())
Original file line number Diff line number Diff line change @@ -10,6 +10,18 @@ export type VersionEntry = {
10
10
}
11
11
12
12
const VERSIONS : VersionEntry [ ] = [
13
+ {
14
+ date : `2025-02-12T19:10:00-08:00` ,
15
+ product : 'web' ,
16
+ body : `### Improvements
17
+ - Servers out of stock link now links to Modrinth Discord instead of support page.` ,
18
+ } ,
19
+ {
20
+ date : `2025-02-12T19:10:00-08:00` ,
21
+ product : 'servers' ,
22
+ body : `### Added
23
+ - Added server upgrades to switch to a larger plan as an option in billing settings.` ,
24
+ } ,
13
25
{
14
26
date : `2025-02-12T12:10:00-08:00` ,
15
27
product : 'web' ,
You can’t perform that action at this time.
0 commit comments