Skip to content

Commit

Permalink
Merge pull request #273 from dump-hr/location-section
Browse files Browse the repository at this point in the history
Location section
  • Loading branch information
bdeak4 authored Mar 24, 2024
2 parents c61bb83 + 8bf3336 commit 6876ef9
Show file tree
Hide file tree
Showing 6 changed files with 324 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/web/src/assets/stamp.svg
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 apps/web/src/assets/vintage-fesb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
269 changes: 269 additions & 0 deletions apps/web/src/components/LocationSection/LocationSection.module.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,269 @@
h1,
h2,
h3,
p,
div {
margin: 0;
padding: 0;
}

.containerWrapper {
position: relative;
background-color: #065852;
overflow-x: hidden;

&:before {
content: '';
background-color: transparent;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.4' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3C/svg%3E");
background-repeat: repeat;
background-size: 182px;
opacity: 0.2;
top: 0;
left: 0;
position: absolute;
width: 100%;
height: 100%;
z-index: 1;
}
}

.title {
padding-top: 174px;
text-align: center;

font-family: 'PP Neue Machina';
color: #eaeaea;
font-size: 284.571px;
font-style: normal;
font-weight: 500;
line-height: 341.486px;
letter-spacing: -11.916px;

@media (max-width: 1024px) {
padding-top: 90px;

font-size: 69.968px;
line-height: 87.46px;
letter-spacing: -3.28px;
}
}

.stamp {
width: 436.853px;
height: 592.916px;
background-image: url('../../assets/stamp.svg');
background-size: cover;
background-repeat: no-repeat;

@media (max-width: 992px) {
width: 237.539px;
height: 322.398px;
}

&Container {
margin-top: 135px;
display: flex;
flex-direction: column;
align-items: center;

@media (max-width: 992px) {
margin-top: 64px;
}
}

&:first-of-type {
display: flex;
justify-content: center;
align-items: center;

img {
width: 379px;
height: 531px;

@media (max-width: 992px) {
width: 206.081px;
height: 288.731px;
}
}
}

&Content {
display: flex;
flex-direction: column;
justify-content: space-between;
height: 480px;
margin: 56px;

@media (max-width: 992px) {
height: 261px;
margin: 30px;
}

&Title {
color: #ff482f;
font-family: 'PP Neue Machina';
font-size: 48px;
font-style: normal;
font-weight: 500;
line-height: 48px;
letter-spacing: -1px;

@media (max-width: 992px) {
font-size: 26px;
line-height: 26px;
letter-spacing: -0.544px;
}
}

&Footer {
display: flex;
flex-direction: column;
justify-content: space-between;

&Text {
margin-top: 32px;

@media (max-width: 992px) {
margin-top: 17px;
}
}

&Text h3 {
color: #171615cc;
font-family: 'PP Neue Montreal Mono';
font-size: 14px;
font-style: normal;
font-weight: 500;
line-height: 16px;
letter-spacing: 1px;
text-transform: uppercase;

@media (max-width: 992px) {
font-size: 12px;
line-height: 14px;
letter-spacing: 0.544px;
}
}
}
}
}

.dottedRuler {
overflow: hidden;
letter-spacing: 3px;
color: #88888888;
}

.locationInfo {
margin-top: 32px;
padding-left: 55px;
padding-right: 55px;

display: flex;
flex-wrap: wrap;
justify-content: start;
align-items: start;

@media (max-width: 992px) {
padding-right: 16px;
padding-left: 16px;

margin-bottom: 32px;
}

&Left {
display: flex;
align-items: center;
justify-content: space-between;

@media (max-width: 1024px) {
justify-content: space-between;
width: 100%;
}

&Button {
margin-left: 266px;
display: flex;
justify-content: center;
align-items: center;
width: 53px;
height: 24px;
border-radius: 50%;
background-color: #ff482f;
color: #fff;
font-family: 'PP Neue Montreal Mono';
font-size: 14px;
font-style: normal;
font-weight: 500;
line-height: 16px;
letter-spacing: 0.5px;
text-transform: uppercase;

@media (max-width: 768px) {
margin-left: auto;
}
}

h2 {
text-wrap: nowrap;
color: rgba(255, 255, 255, 0.7);

font-family: 'PP Neue Montreal Mono';
font-size: 14px;
font-style: normal;
font-weight: 500;
line-height: 16px;
letter-spacing: 1px;
text-transform: uppercase;
}
}

&Right {
margin-left: 24px;
margin-bottom: 56px;
color: rgba(255, 255, 255, 0.7);
width: 544px;

font-family: 'PP Neue Machina';
font-size: 24px;
font-style: normal;
font-weight: 500;
line-height: 32px;
letter-spacing: -1px;

@media (max-width: 1024px) {
width: 100%;
margin-bottom: 32px;
margin-top: 32px;
margin-left: 0;
font-size: 18px;
line-height: 26px;
}
}
}

.date {
margin-top: 92px;
color: #fff;

text-align: center;
font-feature-settings: 'ss12' on;
font-family: 'PP Neue Machina';
font-size: 268.265px;
font-style: normal;
font-weight: 500;
line-height: 262.265px;
letter-spacing: 5.245px;
text-transform: uppercase;
opacity: 0.2;
mix-blend-mode: overlay;

@media (max-width: 992px) {
margin-top: 32px;

font-size: 65.491px;
line-height: 64.026px;
letter-spacing: 1.281px;
}
}
46 changes: 46 additions & 0 deletions apps/web/src/components/LocationSection/LocationSection.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
import vintageFesb from '../../assets/vintage-fesb.png';
import c from './LocationSection.module.scss';

const LocationSection = () => {
return (
<div className={c.containerWrapper}>
<h1 className={c.title}>LOKACIJA</h1>
<div className={c.stampContainer}>
<div className={c.stamp}>
<img src={vintageFesb} alt='vintage fesb' />
</div>
<div className={c.stamp}>
<div className={c.stampContent}>
<h2 className={c.stampContentTitle}>Ista adresa, više sadržaja</h2>
<div className={c.stampContentFooter}>
<div className={c.dottedRuler}>
..............................................
</div>
<div className={c.stampContentFooterText}>
<h3>FESB</h3>
<h3>Ul. Ruđera Boškovića</h3>
<h3>SPLIT, HRVATSKA</h3>
</div>
</div>
</div>
</div>
</div>
<div className={c.locationInfo}>
<div className={c.locationInfoLeft}>
<h2>izložbeni prostor</h2>
<div className={c.locationInfoLeftButton}>FESB</div>
</div>
<p className={c.locationInfoRight}>
Posjeti štandove, skupljaj razne poklone, okušaj se u kvizovima i kul
izazovima, a uz to ugrabi i najbolju poslovnu priliku za sebe.
</p>
<div className={c.dottedRuler}>
................................................................................................................................................................................................................
</div>
</div>
<div className={c.date}>23. — 24. 05. 2024.</div>
</div>
);
};

export default LocationSection;
3 changes: 3 additions & 0 deletions apps/web/src/components/LocationSection/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import LocationSection from './LocationSection';

export default LocationSection;
2 changes: 2 additions & 0 deletions apps/web/src/pages/LandingPage/LandingPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import DuckieSection from 'components/DuckieSection';
import Button from '../../components/Button';
import Header from '../../components/Header';
import Hero from '../../components/Hero';
import LocationSection from '../../components/LocationSection';
import Schedule from '../../components/Schedule';

export const LandingPage: React.FC = () => {
Expand All @@ -14,6 +15,7 @@ export const LandingPage: React.FC = () => {
<Hero Button={HeaderButton} />
<DuckieSection />
<Schedule />
<LocationSection />
</>
);
};

0 comments on commit 6876ef9

Please sign in to comment.