2026-01-21 15:29:34 +08:00
< template >
< div class = "success-container flex flex-col align-center" >
< img
2026-01-26 13:26:46 +08:00
: src = "info.icon"
2026-01-21 15:29:34 +08:00
alt = ""
class = "icon-img"
/ >
2026-01-26 13:26:46 +08:00
< div class = "title" > { { info . title } } < / div >
2026-01-21 15:29:34 +08:00
< div class = "desc" >
2026-01-26 13:26:46 +08:00
{ { info . desc } }
<!-- < div >
2026-01-21 15:29:34 +08:00
Please review your submitted information in the AiDA in - platform message .
< / div >
< div >
You may edit it if needed . Competition updates and results will be sent
via email .
2026-01-26 13:26:46 +08:00
< / div > -- >
2026-01-21 15:29:34 +08:00
< / div >
< / div >
< / template >
2026-01-26 13:26:46 +08:00
< script setup lang = "ts" >
import { computed } from 'vue'
import successIcon from '@/assets/images/award/successful.png'
import expiredIcon from '@/assets/images/award/expired.png'
const props = defineProps ( {
isExpired : {
type : Boolean ,
default : false
}
} )
const info = computed ( ( ) => {
if ( props . isExpired ) {
return {
icon : expiredIcon ,
title : 'Application Deadline Passed' ,
2026-02-02 13:41:51 +08:00
desc : 'The submission deadline for AiDA Global Fashion Award 2026 has ended.\nWe are no longer accepting new applications. '
2026-01-26 13:26:46 +08:00
}
} else {
return {
icon : successIcon ,
title : 'Submission Successful' ,
desc : 'Please review your submitted information in the AiDA in-platform message.\nYou may edit it if needed. Competition updates and results will be sent via email.'
}
}
} )
< / script >
2026-01-21 15:29:34 +08:00
< style lang = "less" scoped >
. success - container {
margin : 0 21.5 rem ;
padding : 10.6 rem 27.3 rem 0 ;
height : 50 rem ;
position : relative ;
top : - 16.8 rem ;
background - color : # fff ;
border - radius : 0.8 rem ;
. icon - img {
width : 12 rem ;
height : 12 rem ;
}
. title {
font - family : 'PoppinsBold' ;
font - weight : 600 ;
font - size : 3 rem ;
color : # 232323 ;
text - align : center ;
margin : 2 rem 0 4 rem ;
}
. desc {
color : # 585858 ;
font - family : Arial ;
font - weight : 400 ;
font - size : 2.4 rem ;
text - align : center ;
}
}
< / style >