Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feedback last retoques #551

Merged
merged 3 commits into from
Apr 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading