Skip to content

Commit

Permalink
Merge branch 'master' into production
Browse files Browse the repository at this point in the history
  • Loading branch information
UberVoyager committed Nov 4, 2024
2 parents e9aa0c3 + 9e80266 commit 75ed0d5
Show file tree
Hide file tree
Showing 23 changed files with 223 additions and 152 deletions.
Binary file added public/assets/companies/Prospekt 2025 MBD.pdf
Binary file not shown.
Binary file added public/assets/team/adam.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/team/aleksander.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/team/david.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added public/assets/team/favour.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/team/isabella.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/team/joakim.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/team/joel.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/assets/team/project_leaders.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/team/project_leaders22.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/team/safin.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/team/zeynep.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions src/components/animated-mbd-logo/animated-mbd-logo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@ const AnimatedMBDLogo: FC = () => {
<MBDDateContext.Consumer>
{(mbdDate) => (
<div>
{16}{' '}
{20}{' '}
{TranslationModel.translate(
phrases.months.february
phrases.months.march
)}{' '}
{2023}
{2025}
</div>
)}
</MBDDateContext.Consumer>
Expand Down
12 changes: 11 additions & 1 deletion src/components/card/card.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
}
.card--light {
box-shadow: 0 0px 8px rgba(0,0,0,0.1), 0 3px 6px rgba(0,0,0,0.1);
}z
}
.card--unselected {
box-shadow: none;
}
Expand All @@ -24,4 +24,14 @@
}
.card--clickable.card--light:hover {
box-shadow: 0 3px 6px rgba(0,0,0,0.1), 0 5px 10px rgba(0,0,0,0.2);
}
.card--gold {
background: linear-gradient(338deg, rgba(255,215,0,1) 0%, rgb(241, 210, 29) 63%, rgba(255,255,255,1) 120%);
}

.card--silver {
background: linear-gradient(338deg, #bdbded 0%, #ededed 63%, rgba(255,255,255,1) 120%);
}
.card--bronze {
background: linear-gradient(338deg, #ee7411 0%, #ffa069 63%, rgb(255, 245, 234) 120%);
}
12 changes: 12 additions & 0 deletions src/components/card/card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ interface CardProps {
className?: string,
light?: boolean,
unselected?: boolean,
gold?: boolean,
silver?: boolean,
bronze?: boolean
}

const Card: FC<CardProps> = (props) => {
Expand All @@ -16,6 +19,15 @@ const Card: FC<CardProps> = (props) => {
if (props.light) {
className += 'card--light ';
}
if (props.gold) {
className += 'card--gold ';
}
if (props.silver) {
className += 'card--silver ';
}
if (props.bronze) {
className += 'card--bronze ';
}
if (props.unselected) {
className += 'card--unselected ';
}
Expand Down
12 changes: 12 additions & 0 deletions src/components/content-padding-thin.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import React, { FC } from 'react';

export const ContentPaddingThin: FC = (props) => {
return (
<div style={{
padding: '5px'
}}>
{props.children}
</div>
);
}

5 changes: 5 additions & 0 deletions src/pages/company-page/company-page.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
color: var(--theme-text-dark);
}

ul {
margin-top: 0.1em;
border-top: 1px #eee solid;
padding: 0px 30px;
}

.companypage-offer p, .companypage-offer h3, .companypage-offer h4, .companypage-offer h5 {
text-align: center;
Expand Down
276 changes: 143 additions & 133 deletions src/pages/company-page/company-page.tsx

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions src/pages/contact-page/contact-page.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,21 @@
}
}

.intro-screen-title {
padding: 35px 35px 0px 35px;
padding-bottom: 50px;
box-sizing: border-box;
width: 100%;

text-transform: uppercase;
font-weight: 900;
font-size: 40px;
text-align: center;
color: #ffd521;

background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.0));
}

/* Animation */
@keyframes paning-background-animation {
0% {
Expand Down
13 changes: 10 additions & 3 deletions src/pages/contact-page/contact-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,18 @@ const Contactpage: FC = () => {

return (
<div className='contactpage'>
<div className="intro-screen-title">{TranslationModel.translate(phrases.the_project_group)}</div>

{/*
<IntroScreen
title={TranslationModel.translate(phrases.the_project_group)}
>
<div
style={{ backgroundImage: `url(${Background})` }}
className='contactpage-background'
></div>
</IntroScreen>
></div>
</IntroScreen>*/}

{/* List of every memeber in PG */}
<ContentSection>
Expand All @@ -54,7 +58,8 @@ const Contactpage: FC = () => {
)
})}
</div>


{/*
<div className='photographer-thanks'>
{TranslationModel.translate(phrases.photo_thanks_start)}{' '}
<a
Expand All @@ -66,6 +71,8 @@ const Contactpage: FC = () => {
</a>{' '}
{TranslationModel.translate(phrases.photo_thanks_end)}!
</div>
*/}

</ContentSection>
{/* Contact form*/}
<ContentSection background={ContentSectionBackground.dark}>
Expand Down
18 changes: 9 additions & 9 deletions src/pages/home-page/home-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ const Homepage: FC = () => {
<span>
Vad kul att just du hittat hit!
Medias Branschdag kommer att äga
rum {16}{' '}
rum {20}{' '}
{TranslationModel.translate(
phrases.months.february
phrases.months.march
)}{' '}
{2023} i kårhuset Nymble på KTH
{2025} i kårhuset Nymble på KTH
campus Valhallavägen.
<br />
<br />
Expand Down Expand Up @@ -111,11 +111,11 @@ const Homepage: FC = () => {
en: (
<span>
Fancy seeing you here! The fair
will take place on the 16th of{' '}
will take place on the 20th of{' '}
{TranslationModel.translate(
phrases.months.february
phrases.months.march
)}{' '}
{2023} in the student union
{2025} in the student union
house Nymble at KTH campus
Valhallavägen.
<br />
Expand Down Expand Up @@ -162,11 +162,11 @@ const Homepage: FC = () => {
<div className='photographer-info'>
<img src={CameraIcon} alt='' />
<a
href='https://www.instagram.com/fotogruppen_medieteknik/'
href='http://linkedin.com/in/favourezennaya'
target='_blank'
rel='noopener noreferrer'
>
Johan Wangärd
Favour Ezennaya
</a>
</div>
</>
Expand Down Expand Up @@ -200,7 +200,7 @@ const Homepage: FC = () => {
Läs mer om hur ni kan delta
i Medias Branschdag{' '}
{
/*mbdDate.getStartYear()*/ 2023 // Need to hardcode as server connection is not working
/*mbdDate.getStartYear()*/ 2025 // Need to hardcode as server connection is not working
}
.
</span>
Expand Down
6 changes: 3 additions & 3 deletions src/pages/student-page/student-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ const Studentpage = () => {
<>
<h1 style={{textAlign:"center", padding:"3rem"}}>More information coming soon...</h1>
</>)
})/*
})}</div>/*
<div className='studentpage'>
<div id='studentpage-exhibitors'>
<ContentSection>
Expand All @@ -339,8 +339,8 @@ const Studentpage = () => {
</ContentSection>
</div>
<Footer />
</div>
*/}</div>
</div>*/

)
}

Expand Down

0 comments on commit 75ed0d5

Please sign in to comment.