diff --git a/assets/css/custom.scss b/assets/css/custom.scss index a8e32979..b23ee414 100644 --- a/assets/css/custom.scss +++ b/assets/css/custom.scss @@ -5,6 +5,17 @@ html, @apply h-full antialiased text-gray-700 bg-gray-50; } +/* layout */ + +/* resource list items */ +.link-grid { + display: grid; + grid-gap: 1rem; + grid-template-columns: 1fr 1fr; + grid-auto-rows: max-content; +} + +/* links */ .nav-link.nuxt-link-exact-active { @apply text-pink-600 font-bold relative; } @@ -16,6 +27,11 @@ html, height: 4px; } +a.regular-link:hover { + @apply underline; +} + +/* transition fade animation */ .fade-enter-active, .fade-leave-active { transition: opacity 0.5s; @@ -24,6 +40,7 @@ html, opacity: 0; } +/* faq and other sections */ .title-with-lines { @apply w-full mb-8 text-xs font-bold tracking-wide uppercase flex flex-none; } diff --git a/assets/icons/exclamation-circle.svg b/assets/icons/exclamation-circle.svg new file mode 100644 index 00000000..27647c3b --- /dev/null +++ b/assets/icons/exclamation-circle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/components/EventListItemResourceList.vue b/components/EventListItemResourceList.vue index 71c2ef33..78143a37 100644 --- a/components/EventListItemResourceList.vue +++ b/components/EventListItemResourceList.vue @@ -28,12 +28,3 @@ export default defineComponent({ }, }) - - diff --git a/components/MilestoneListItem.vue b/components/MilestoneListItem.vue new file mode 100644 index 00000000..737f8728 --- /dev/null +++ b/components/MilestoneListItem.vue @@ -0,0 +1,107 @@ + + + diff --git a/components/Milestones.vue b/components/Milestones.vue index 93b35933..5e103ccb 100644 --- a/components/Milestones.vue +++ b/components/Milestones.vue @@ -8,89 +8,7 @@ /> --> - -
-
-

- -

- - -

- {{ currentMilestone.title }} -

- -

- Due - {{ - format( - new Date(currentMilestone.deadline), - "MMMM do, 'at' h:mm aaaa" - ) - }} -

-
-
- -
- -
- -
-
-
+

diff --git a/components/TimelineWeekEvent.vue b/components/TimelineWeekEvent.vue new file mode 100644 index 00000000..1834a223 --- /dev/null +++ b/components/TimelineWeekEvent.vue @@ -0,0 +1,56 @@ + + + + diff --git a/components/TimelineWeekItems.vue b/components/TimelineWeekItems.vue new file mode 100644 index 00000000..b2841033 --- /dev/null +++ b/components/TimelineWeekItems.vue @@ -0,0 +1,27 @@ + + + diff --git a/components/TimelineWeekMilestone.vue b/components/TimelineWeekMilestone.vue new file mode 100644 index 00000000..8a17a98d --- /dev/null +++ b/components/TimelineWeekMilestone.vue @@ -0,0 +1,43 @@ + + + diff --git a/content/milestones/50-checkpoint.yaml b/content/milestones/50-checkpoint.yaml new file mode 100644 index 00000000..f95e1139 --- /dev/null +++ b/content/milestones/50-checkpoint.yaml @@ -0,0 +1,7 @@ +--- +title: 50% Checkpoint +deadline: 2021-04-25T22:59:59+01:00 +type: checkpoint +description: | + You should aim to have completed around __50%__ of your learning material by this date. This is __not__ a cutting point, only a general recommendation to help you pace your studies. +todos: [] diff --git a/content/milestones/75-checkpoint.yaml b/content/milestones/75-checkpoint.yaml new file mode 100644 index 00000000..a3c32e8e --- /dev/null +++ b/content/milestones/75-checkpoint.yaml @@ -0,0 +1,7 @@ +--- +title: 75% Checkpoint +deadline: 2021-05-09T22:59:59+01:00 +type: checkpoint +description: | + You should aim to have completed around __75%__ of your learning material by this date. This is __not__ a cutting point, only a general recommendation to help you pace your studies. +todos: [] diff --git a/content/milestones/80-checkpoint-cutoff.yaml b/content/milestones/80-checkpoint-cutoff.yaml new file mode 100644 index 00000000..e1233556 --- /dev/null +++ b/content/milestones/80-checkpoint-cutoff.yaml @@ -0,0 +1,7 @@ +--- +title: 80% Checkpoint +deadline: 2021-05-18T22:59:59+01:00 +type: cutoff +description: | + By now, you should have completed the minimum required of __80%__ of your learning material. __This is a cutting point__: if you fail to do so, you will be removed from the program. +todos: [] diff --git a/content/milestones/hatching-phase.yaml b/content/milestones/hatching-phase.yaml index 3149e6d1..fc181777 100644 --- a/content/milestones/hatching-phase.yaml +++ b/content/milestones/hatching-phase.yaml @@ -1,8 +1,9 @@ --- title: Hatching Phase deadline: 2021-04-05T22:59:59+01:00 +type: cutoff description: | - You need to have finished at least **10h** of your track until the deadline, otherwise you will be removed from the program. + You need to have finished at least **10h** of your track until the deadline. __This is a cutting point__: if you fail to complete it, you will be removed from the program. todos: [] # - name: Requirements to fullfill diff --git a/content/milestones/track-personalization.yaml b/content/milestones/track-personalization.yaml index 99474c80..582512d2 100644 --- a/content/milestones/track-personalization.yaml +++ b/content/milestones/track-personalization.yaml @@ -1,20 +1,16 @@ --- title: Track Personalization deadline: 2021-03-19T23:59:59+01:00 +type: tasks description: | - Now it is the time to choose if you want to learn Data Science, Artificial Intelligence, Web Development or - User Experience Design. + Now it is the time to choose if you want to learn Data Science, Artificial Intelligence, Web Development or User Experience Design. We will post instructions how to choose your track in the Kick-Off Session. - Please complete the following steps to choose your track: + After we've received all of your choices, we will evaluate your answers in the track personalization survey. Then we will assign you to a track on edyoucated and you can start learning. Please allow some time between you completing the survey and the track assignment as this process involves some manual steps. We will send you a message on Slack as soon as you can access your track material on edyoucated. - 1. Complete the track personalization survey. + Please complete the following tasks to personalize your track: - After we've received all of your choices, we will evaluate your answers in the track personalization survey. - Then we will assign you to a track on edyoucated and you can start learning. Please allow some time between - you completing the survey and the track assignment as this process involves some manual steps. We will send you a - message on Slack as soon as you can access your track material on edyoucated. todos: - name: Complete the track personalization survey resources: diff --git a/package.json b/package.json index 66b39948..ddd1a8a2 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "radar", "description": "The TechLabs Berlin semester radar shows all the important semester information at a glance", - "version": "2.0.0", + "version": "2.2.0", "private": true, "author": "Felix Seidel", "contributors": [ diff --git a/pages/milestone/_slug.vue b/pages/milestone/_slug.vue index ceb9e97e..e5543972 100644 --- a/pages/milestone/_slug.vue +++ b/pages/milestone/_slug.vue @@ -8,52 +8,7 @@ Loading... - -
-
-

- -

-

- {{ milestone[0].title }} -

-

- Due - {{ - format( - new Date(milestone[0].deadline), - "MMMM do, 'at' h:mm aaaa" - ) - }} -

-
- -
-
    -
  • -
    - -
    -
    -

    {{ todo.name }}

    - -
    -
  • -
-
-
-
+ @@ -66,9 +21,10 @@ import { useRoute, ref, } from '@nuxtjs/composition-api' -import { format } from 'date-fns' +import MilestoneListItem from '~/components/MilestoneListItem.vue' export default defineComponent({ + components: { MilestoneListItem }, setup() { const { $content } = useContext() const route = useRoute() @@ -83,7 +39,6 @@ export default defineComponent({ return { milestone, - format, } }, })