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

Mentors page concept #522

Merged
merged 10 commits into from
Apr 12, 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
Binary file added src/assets/img/mentorShirt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 16 additions & 16 deletions src/data/mentors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@ export interface Mentor {
readonly description: string
readonly slack: string
readonly linkedin: string
readonly languages: string
readonly webpage?: string
}

export const mentors: Mentor[] = [
{
title: 'Mentor 1',
description: `I am a mentor.`,
slack: 'mentor1',
linkedin: 'mentor1',
},
{
title: 'Mentor 2',
description: `I am a mentor.`,
slack: 'mentor2',
linkedin: 'mentor2',
/**{
title: 'Maurici Abad Gutierrez',
description: `💼 Senior Frontend Engineer`,
slack: '@mauri',
linkedin: 'https://www.linkedin.com/in/mauriciabad',
languages: 'JavaScript, TypeScript, CSS, React, Vue, Next.js, Figma, Git',
webpage: 'https://mauri.app/',
},
{
title: 'Mentor 3',
description: `I am a mentor.`,
slack: 'mentor3',
linkedin: 'mentor3',
},
title: 'Andrea Querol de Porras',
description: `💼 FPGA developer`,
slack: '@drea',
linkedin: 'https://linkedin.com/in/dreaqdp',
languages:
'C, C++, verilog and system verilog, FPGA shell development, RISC-V, Arduino, Raspberry, Linux, Vim, R, Git, MPI, OMP',
},**/
]
113 changes: 107 additions & 6 deletions src/views/Mentors.vue
Original file line number Diff line number Diff line change
@@ -1,16 +1,117 @@
<script setup lang="ts">
import MentorShirt from '@/assets/img/mentorShirt.png'
import { mentors } from '@/data/mentors'
import IconLabel from '@/components/IconLabel.vue'
import Panel from '@/components/Panel.vue'
import VueMarkdownIt from 'vue3-markdown-it'
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
import PanelContainer from '@/components/PanelContainer.vue'
</script>

<template>
<PanelContainer id="missions">
<Panel v-for="mentor in mentors" :key="mentor.title" :title="mentor.title">
<VueMarkdownIt :source="mentor.description" />
<VueMarkdownIt :source="mentor.linkedin" />
<VueMarkdownIt :source="mentor.slack" />
<PanelContainer id="mentors">
<Panel title="What is a mentor?" size="small">
Mentors are experts in various technologies and programming languages who
can help you with:
<ul>
<li>Issues with your code</li>
<li>Boosting up your project</li>
<li>Getting started with your project</li>
<li>Submitting it to Devpost</li>
</ul>
</Panel>
<Panel title="Where to find them? Mentor lobby" size="small">
You can always find a mentor in the Mentors lobby, located at A5105 next
to the Cafeteria.
<br /><br />
📍Check where to find it in the <a href="/map/indoors">Map</a>!
<br /><br />
Also you can ask for help through the help channel on Slack!
<IconLabel centered style="margin-top: 0.27rem">
<template #icon>
<FontAwesomeIcon class="link__icon" :icon="['fab', 'slack']" />
</template>
<a
href="https://hackupc2024.slack.com"
target="_blank"
rel="noopener noreferrer"
class="icon-label-link"
>#help
</a>
</IconLabel>
</Panel>
<div class="mentorPan">
<Panel title="How to recognize a Mentor" size="big">
In order to recognize a Mentor you can check if <b>Mentor</b> is written
on their back!
<Panel :panel-content-image="`url('${MentorShirt}')`" size="small">
<div style="height: 600px"></div>
</Panel>
</Panel>
</div>
<div class="mentorPan">
<Panel
v-for="mentor in mentors"
:key="mentor.title"
:title="mentor.title"
>
<IconLabel centered style="margin-top: 0.27rem">
<template #icon>
<FontAwesomeIcon class="link__icon" :icon="['fab', 'slack']" />
</template>
<p class="icon-label-link">{{ mentor.slack }}</p>
</IconLabel>
<p class="position">{{ mentor.description }}</p>
<p class="position">{{ mentor.languages }}</p>
<div class="buttons">
<p class="position">
<a :href="mentor.linkedin">
<FontAwesomeIcon
class="link__icon"
:icon="['fab', 'twitter']"
size="3x"
/>
</a>
</p>
<p v-if="mentor.webpage" class="position">
<a :href="mentor.webpage">
<FontAwesomeIcon
icon="home"
size="3x"
style="margin-right: 5px"
/>
</a>
</p>
</div>
</Panel>
</div>
</PanelContainer>
</template>

<style lang="scss" scoped>
.mentorPan {
display: flex;
max-width: 1300px;
flex-direction: row;
align-items: center;
justify-content: center;
padding-bottom: 1.5rem;

.no-margin {
div {
margin: 0;
}
}
}

.position {
margin-top: 16px;
margin-bottom: 16px;
}

.buttons {
display: flex;
overflow: hidden;
margin-top: 0.75rem;
border-radius: 3px;
}
</style>
Loading