-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
72 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,27 @@ | ||
.mb-300sl-content { | ||
color: white; | ||
opacity: 0.9; | ||
font-size: 15vw; | ||
padding-top: 30px; | ||
font-weight: 900; | ||
height: 100%; | ||
display: flex; | ||
justify-content: left; | ||
align-items: top; | ||
mix-blend-mode: difference; | ||
color: white; | ||
width: clamp(200px, 50%, 500px); | ||
|
||
.sticky-container { | ||
.sticky-content { | ||
top: 25vh; | ||
position: sticky; | ||
margin-bottom: 50px; | ||
} | ||
&::after { | ||
content: ''; | ||
display: block; | ||
height: 250px; | ||
} | ||
} | ||
|
||
h1 { | ||
opacity: 0.9; | ||
font-size: 15vw; | ||
font-weight: 900; | ||
display: flex; | ||
justify-content: left; | ||
align-items: top; | ||
mix-blend-mode: difference; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,51 @@ | ||
import './Mb300slContent.styl'; | ||
import React from 'react'; | ||
import React, { ReactNode } from 'react'; | ||
|
||
export function Mb300slContent() { | ||
|
||
const StickyContainer = ({ children }: { children: ReactNode }) => { | ||
return ( | ||
<div className='sticky-container'> | ||
<p className='sticky-content'>{children}</p> | ||
</div> | ||
); | ||
}; | ||
|
||
return ( | ||
<div className='mb-300sl-content bricks-content'> | ||
300SL | ||
<StickyContainer> | ||
<h1>300SL</h1> | ||
</StickyContainer> | ||
<StickyContainer> | ||
<h2>Mercedes-Benz 300SL Coupé (1955)</h2> | ||
Probably one of the most beautiful cars in history is now available in Creator Expert Car scale (1/13): the Mercedes-Benz 300SL Coupé from 1955. | ||
Build it yourself and get the instructions for this 1443 piece set on <a href="https://rebrickable.com/mocs/MOC-59792/tmunz/mercedes-benz-300sl-gullwing-coupe-1955-300-sl">Rebrickable</a>. | ||
Besides the openable hood and trunk, the model features the iconic gullwing doors of the original. | ||
</StickyContainer> | ||
<StickyContainer> | ||
<h2>An Automotive Icon</h2> | ||
The Mercedes-Benz 300SL Coupé, celebrated as the "Sports Car of the Century," is more than just the fastest production car of its era. | ||
It represents a harmonious blend of engineering and artistry, turning heads wherever it goes. | ||
Its striking design, highlighted by the iconic gullwing doors, became a symbol of innovation and luxury. | ||
Revered by car enthusiasts and immortalized by artists like Andy Warhol, the 300SL continues to inspire with its timeless allure. | ||
</StickyContainer> | ||
<StickyContainer> | ||
<h2>Dimensions</h2> | ||
<ul> | ||
<li>Width: 13cm / 16 studs</li> | ||
<li>Length: 35cm / 44 studs</li> | ||
<li>Height: 10cm / 10 bricks</li> | ||
</ul> | ||
</StickyContainer> | ||
<StickyContainer> | ||
<h2>Features</h2> | ||
<ul> | ||
<li>Rubber belt-loaded doors</li> | ||
<li>Rubber belt-supported hood mechanism</li> | ||
<li>Functional trunk</li> | ||
<li>Detailed engine</li> | ||
</ul> | ||
</StickyContainer> | ||
</div> | ||
); | ||
}; |