Skip to content

Commit

Permalink
Merge branch 'development' into change-styles-schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
AdriMM26 authored Apr 7, 2024
2 parents d647cc4 + de6cfeb commit 2a0c2d4
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 76 deletions.
96 changes: 42 additions & 54 deletions src/data/challenges.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,78 +11,66 @@ export interface Challenge {

export const challenges: Challenge[] = [
{
title: 'Making Markets to Make a Change',
companyEncrypted: 'FpDvGOwa9WVr4riRPXIFmg',
company: 'Optiver',
videoUrl: 'https://youtu.be/R2B7QNEAH3c',
companyEncrypted: 'Company challenge',
title: '',
company: '',
videoUrl: '',
//description: /* markdown */ ``,
prize: '1st: An iPhone 13 for each member of the team',
channel: 'optiver',
prize: '',
channel: '',
},
{
companyEncrypted: 'OJ4LCmSBly+3JmL7P7/V1w',
company: 'HP',
title: 'HP Inventory & Sales Forecasting',
videoUrl: 'https://youtu.be/BDkC4cb-bb8',
companyEncrypted: 'Company challenge',
company: '',
title: '',
videoUrl: '',
//description: /* markdown */ ``,
prize: '1st: 4 HP Laptop 15, 2nd: 4 Hyper X Keyboard, 3rd: 4 Omen Sweater',
channel: 'hp',
prize: '',
channel: '',
},
{
companyEncrypted: 'TZABPAEwSHar7SLMqkDmuA',
company: 'Bunge',
title: 'Mission to Improve the Agribusiness Markets',
companyEncrypted: 'Company challenge',
company: '',
title: '',
videoUrl: '',
//description: /* markdown */ ``,
videoUrl: 'https://youtu.be/pSKdCW41170',
prize: 'Each member wins a Meta Quest 2',
channel: 'bunge',
prize: '',
channel: '',
},
{
companyEncrypted: 'IXZ07J9j2ognub5PeUbefg',
company: 'Restb.ai',
title: 'Most innovative usage of our data',
videoUrl: 'https://youtu.be/r-G4yDL2ZpA',
companyEncrypted: 'Company challenge',
company: '',
title: '',
videoUrl: '',
//description: /* markdown */ ``,
prize: 'Travel anywhere up to 200€ for each team member.',
channel: 'restbai',
prize: '',
channel: '',
},
{
companyEncrypted: 'OKOOYK8p3e6ixR3KQ05l8Q',
company: 'Strands',
title: 'Build the bank experience you need.',
videoUrl: 'https://youtu.be/GkmVmZwSygo',
companyEncrypted: 'Company challenge',
company: '',
title: '',
videoUrl: '',
//description: /* markdown */ ``,
prize:
'1 Windows 11 Pro, 12GB RAM 256GB ROM Ιntel Celeron J4125 Mini, 2 New Kindle Paperwhite, 3 Amazon voucher 100€',
channel: 'strands',
prize: '',
channel: '',
},
{
companyEncrypted: '+5CxQKLiDwgwXZEp3ePpFw',
company: 'Vueling',
title: 'Flight Fest',
videoUrl: 'https://youtu.be/AlECmra8YAo',
companyEncrypted: 'Company challenge',
company: '',
title: '',
videoUrl: '',
//description: /* markdown */ ``,
prize:
'The prize for the winners will be a round trip flight to any Vueling destination for the whole team',
channel: 'vueling',
prize: '',
channel: '',
},
{
companyEncrypted: 'MZHdrReJtUe0TWxiyNwFTA',
company: 'Capchase',
title: 'SQLillo Royale',
videoUrl: 'https://youtu.be/dMfcT_hs_rU',
companyEncrypted: 'Company challenge',
company: '',
title: '',
videoUrl: '',
//description: /* markdown */ ``,
prize: '1. Impresora 3D, 2. Set Arduino, 3. Amazon Voucher 100EUR',
channel: 'capchase',
},
{
companyEncrypted: '8KmM/3LZtmAsuR4vnOPTvg',
company: 'IThinkUPC',
title: 'Build an AI Powered App',
videoUrl: 'https://youtu.be/QmfVvugVLjA',
//description: /* markdown */ ``,
prize:
'1rt Amazon Voucher 100€, 2nd Amazon Voucher 50€, 3rd Amazon Voucher 30€',
channel: 'ithinkupc',
prize: '',
channel: '',
},
]
64 changes: 42 additions & 22 deletions src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -177,12 +177,11 @@ const submitDeadline = computed<string>(() =>
number: <b>112</b>
</p>
</Panel>

<Panel title="How to get to HackUPC" size="big">
<div class="travel">
<h2 class="travel__title text-centered">
<FontAwesomeIcon icon="plane-arrival" /> By plane
</h2>
<div>
<div class="panel">
<h2 class="travel__title">How to get and leave HackUPC</h2>
</div>
<Panel title="✈️ By plane">
<h3 class="travel__subtitle text-centered">Arriving</h3>
<p>
Take the metro L9 in either <b>Aeroport T2</b> or
Expand Down Expand Up @@ -224,10 +223,8 @@ const submitDeadline = computed<string>(() =>
This itinerary is completely accessible.
</p>
</div>
<div class="travel__separator"></div>
<h2 class="travel__title margin-bottom">
<FontAwesomeIcon icon="train-subway" /> By train
</h2>
</Panel>
<Panel title="🚂 By train">
<h3 class="travel__subtitle">Arriving</h3>
<p>
If you take the train, you will probably arrive at
Expand Down Expand Up @@ -265,10 +262,8 @@ const submitDeadline = computed<string>(() =>
will have to reach the elevator on the street at Sants Estació.
</p>
</div>
<div class="travel__separator"></div>
<h2 class="travel__title margin-bottom">
<FontAwesomeIcon icon="bus" /> By bus
</h2>
</Panel>
<Panel title="🚌 By bus">
<h3 class="travel__subtitle">Arriving</h3>
<p>
If you are coming by bus you can take one of the following lines
Expand Down Expand Up @@ -303,10 +298,8 @@ const submitDeadline = computed<string>(() =>
This itinerary is completely accessible.
</p>
</div>
<div class="travel__separator"></div>
<h2 class="travel__title margin-bottom">
<FontAwesomeIcon icon="car" /> By car
</h2>
</Panel>
<Panel title="🚗 By car">
<h3 class="travel__subtitle">Arriving</h3>
<p>
If you come by car, you can find a place to park in the top of the
Expand All @@ -318,8 +311,8 @@ const submitDeadline = computed<string>(() =>
Google Maps will know for sure your way back home. Just remember where
you parked your car.
</p>
</div>
</Panel>
</Panel>
</div>
</PanelContainer>
</template>

Expand Down Expand Up @@ -349,6 +342,13 @@ const submitDeadline = computed<string>(() =>
}
}
.block {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
}
.wifi {
display: flex;
align-items: center;
Expand Down Expand Up @@ -407,10 +407,30 @@ const submitDeadline = computed<string>(() =>
}
}
.panel {
position: relative;
overflow: hidden;
flex: 1 1 350px;
margin: 16px;
background-color: $contrast-color;
border-radius: $border-radius;
box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
color: $text-color;
text-align: left;
}
.travel {
&__title {
margin-top: 0;
margin-bottom: 15px;
position: relative;
overflow: hidden;
flex: 1 1 1300px;
padding: 12px 24px;
margin: 0;
background-color: $primary-color;
border-radius: $border-radius;
color: #fff;
font-size: 20px;
line-height: 1.6;
text-align: center;
}
Expand Down

0 comments on commit 2a0c2d4

Please sign in to comment.