Skip to content

Commit

Permalink
Feedback last retoques (#551)
Browse files Browse the repository at this point in the history
* canvi faqs deadline

* guides disabled

* guides disabled
  • Loading branch information
carlotacb committed Apr 18, 2024
1 parent d1ee20f commit cb8cffb
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 24 deletions.
5 changes: 1 addition & 4 deletions src/data/faqs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,7 @@ export const faqs: Faq[] = [
},
{
title: 'Deadline for project submissions?',
description: `The deadline for project submissions at ${formatDateInTimezone(
'weekday-time',
'05/05/2023 9:00:00'
)}. Submit your projects to [Devpost](https://hackupc-2024.devpost.com/).`,
description: `The deadline for project submissions at Sunday 05/05/2024 at 09:00 AM. Submit your projects to [Devpost](https://hackupc-2024.devpost.com/).`,
size: 'small',
},
{
Expand Down
50 changes: 30 additions & 20 deletions src/views/Home.vue
Original file line number Diff line number Diff line change
@@ -1,21 +1,14 @@
<script setup lang="ts">
import IconLabel from '@/components/IconLabel.vue'
import Panel from '@/components/Panel.vue'
import { formatDate } from '@/services/dates'
import { useScheduleStore } from '@/stores/schedule'
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
import { computed, ref } from 'vue'
import { ref } from 'vue'
import { RouterLink } from 'vue-router'
import PanelContainer from '../components/PanelContainer.vue'
import { DevpostIcon } from '@/components/icons'
import config from '@/config'
import SecretContent from '@/components/SecretContent.vue'
const scheduleStore = useScheduleStore()
const submitDeadline = computed<string>(() =>
formatDate('weekday-time', scheduleStore.schedule.submitDeadline)
)
import { Tooltip } from 'ant-design-vue'
const hideWifiConfig = ref(config.hideWifiConfig)
</script>
Expand Down Expand Up @@ -50,21 +43,25 @@ const hideWifiConfig = ref(config.hideWifiConfig)
rel="noopener noreferrer"
>Devpost</a
>
before {{ submitDeadline }}. If you don't do it, you won't have access
to the travel reimbursement or prizes.
before Sunday at 9:00 AM. If you don't do it, you won't have access to
the travel reimbursement or prizes.
</p>

<p>All dates and hours are adjusted to your timezone.</p>
<div class="buttons">
<a
href="https://guides.hackupc.com/guide/hacker/"
target="_blank"
rel="noopener noreferrer"
>
<Tooltip title="Working on it">
<div class="buttons__disabled">
<!-- <a
href="https://guides.hackupc.com/guide/hacker/"
target="_blank"
rel="noopener noreferrer"
>
<FontAwesomeIcon icon="book-open" style="margin-right: 4px" />
Guides
</a> -->
<FontAwesomeIcon icon="book-open" style="margin-right: 4px" />
Guides
</a>
</div>
Guides (coming soon)
</div>
</Tooltip>
<div class="buttons">
<a
href="https://maps.app.goo.gl/AKazP14LMy7LZoZq8"
Expand Down Expand Up @@ -372,6 +369,19 @@ const hideWifiConfig = ref(config.hideWifiConfig)
margin-top: 0.75rem;
border-radius: 3px;
&__disabled {
display: block;
flex: 1 1 0;
padding: 8px;
border: 2px solid $tertiary-light-color;
border-radius: 3px;
color: $tertiary-light-color;
cursor: not-allowed;
font-weight: bold;
text-align: center;
text-decoration: none;
}
a {
display: block;
flex: 1 1 0;
Expand Down

0 comments on commit cb8cffb

Please sign in to comment.