Skip to content

Commit

Permalink
configured for WRTW
Browse files Browse the repository at this point in the history
  • Loading branch information
Namli1 committed May 12, 2022
1 parent 08e0fbd commit 346ef0b
Show file tree
Hide file tree
Showing 10 changed files with 114 additions and 60 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/src/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite App</title>
<title>We Run The World</title>
</head>
<body class="font-inter antialiased bg-white text-gray-900 tracking-tight">
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 19 additions & 1 deletion src/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,22 @@

// AOS styles
$aos-distance: 10px;
@import 'node_modules/aos/src/sass/aos.scss';
@import 'node_modules/aos/src/sass/aos.scss';

.container {
position: relative;
width: 100%;
overflow: hidden;
padding-top: 100%; /* 1:1 Aspect Ratio */
}

.responsive-iframe {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
width: 100%;
height: 100%;
border: none;
}
3 changes: 3 additions & 0 deletions src/css/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ module.exports = {
800: '#285E61',
900: '#234E52',
},
red: {
100: "#AA381E",
}
},
boxShadow: {
xs: '0 0 0 1px rgba(0, 0, 0, 0.16)',
Expand Down
4 changes: 2 additions & 2 deletions src/pages/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function Home() {
<div className="flex flex-col min-h-screen overflow-hidden">

{/* Site header */}
<Header />
{/* <Header /> */}

{/* Page content */}
<main className="flex-grow">
Expand All @@ -28,7 +28,7 @@ function Home() {
</main>

{/* Site footer */}
<Footer />
{/* <Footer /> */}

</div>
);
Expand Down
34 changes: 21 additions & 13 deletions src/partials/Features.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function Features() {

{/* Section header */}
<div className="max-w-3xl mx-auto text-center pb-12 md:pb-16">
<h1 className="h2 mb-4">Explore the solutions</h1>
<h1 className="h2 mb-4">So funktioniert's</h1>
<p className="text-xl text-gray-600">Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur excepteur sint occaecat cupidatat.</p>
</div>

Expand All @@ -43,8 +43,11 @@ function Features() {
{/* Content */}
<div className="max-w-xl md:max-w-none md:w-full mx-auto md:col-span-7 lg:col-span-6 md:mt-6" data-aos="fade-right">
<div className="md:pr-4 lg:pr-12 xl:pr-16 mb-8">
<h3 className="h3 mb-3">Powerful suite of tools</h3>
<p className="text-xl text-gray-600">Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa.</p>
<h3 className="h3 mb-3">Kilometer eintragen</h3>
<p className="text-xl text-gray-600">
Das Ziel ist es, zusammen einmal durch China zu laufen. Dafür tragen alle Teilnehmer ihre Strecke in unserer App ein.
Wie das funktioniert, erklären wir hier:
</p>
</div>
{/* Tabs buttons */}
<div className="mb-8 md:mb-0">
Expand All @@ -54,8 +57,11 @@ function Features() {
onClick={(e) => { e.preventDefault(); setTab(1); }}
>
<div>
<div className="font-bold leading-snug tracking-tight mb-1">Building the Simple ecosystem</div>
<div className="text-gray-600">Take collaboration to the next level with security and administrative features built for teams.</div>
<div className="font-bold leading-snug tracking-tight mb-1">1. Laufen gehen + Tracken</div>
<div className="text-gray-600">
Egal ob du einen Spaziergang machst, joggst oder auch mit dem Fahrrad fährst, alle diese Kilometer können gezählt werden.
Vergiss nur nicht, die Strecke mit einer App deiner Wahl zu tracken!
</div>
</div>
<div className="flex justify-center items-center w-8 h-8 bg-white rounded-full shadow flex-shrink-0 ml-3">
<svg className="w-3 h-3 fill-current" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">
Expand All @@ -69,8 +75,10 @@ function Features() {
onClick={(e) => { e.preventDefault(); setTab(2); }}
>
<div>
<div className="font-bold leading-snug tracking-tight mb-1">Building the Simple ecosystem</div>
<div className="text-gray-600">Take collaboration to the next level with security and administrative features built for teams.</div>
<div className="font-bold leading-snug tracking-tight mb-1">2. Strecke eintragen</div>
<div className="text-gray-600">
Trag deine zurückgelegten Kilometer in der App ein und lade einen Screenshot hoch.
</div>
</div>
<div className="flex justify-center items-center w-8 h-8 bg-white rounded-full shadow flex-shrink-0 ml-3">
<svg className="w-3 h-3 fill-current" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">
Expand All @@ -84,8 +92,10 @@ function Features() {
onClick={(e) => { e.preventDefault(); setTab(3); }}
>
<div>
<div className="font-bold leading-snug tracking-tight mb-1">Building the Simple ecosystem</div>
<div className="text-gray-600">Take collaboration to the next level with security and administrative features built for teams.</div>
<div className="font-bold leading-snug tracking-tight mb-1">3. Zusammen vorankommen</div>
<div className="text-gray-600">
Die Inhalte werden immer an den einzelnen Stationen für alle freigeschaltet.
</div>
</div>
<div className="flex justify-center items-center w-8 h-8 bg-white rounded-full shadow flex-shrink-0 ml-3">
<svg className="w-3 h-3 fill-current" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">
Expand All @@ -112,8 +122,7 @@ function Features() {
leaveEnd="opacity-0 -translate-y-16"
>
<div className="relative inline-flex flex-col">
<img className="md:max-w-none mx-auto rounded" src={FeaturesBg} width="500" height="462" alt="Features bg" />
<img className="md:max-w-none absolute w-full left-0 transform animate-float" src={FeaturesElement} width="500" height="44" alt="Element" style={{ top: '30%' }} />
<img className="md:max-w-none mx-auto rounded" src="https://images.unsplash.com/photo-1595392312394-0a1d14c9dadb?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=774&q=80" width="500" height="462" alt="Features bg" />
</div>
</Transition>
{/* Item 2 */}
Expand Down Expand Up @@ -146,8 +155,7 @@ function Features() {
leaveEnd="opacity-0 -translate-y-16"
>
<div className="relative inline-flex flex-col">
<img className="md:max-w-none mx-auto rounded" src={FeaturesBg} width="500" height="462" alt="Features bg" />
<img className="md:max-w-none absolute w-full left-0 transform animate-float" src={FeaturesElement} width="500" height="44" alt="Element" style={{ top: '30%' }} />
<img className="md:max-w-none mx-auto rounded" src="https://images.unsplash.com/photo-1510332981392-36692ea3a195?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1160&q=80" width="500" height="462" alt="Features bg" />
</div>
</Transition>
</div>
Expand Down
50 changes: 30 additions & 20 deletions src/partials/FeaturesBlocks.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ function FeaturesBlocks() {

{/* Section header */}
<div className="max-w-3xl mx-auto text-center pb-12 md:pb-20">
<h2 className="h2 mb-4">How Simple works</h2>
<p className="text-xl text-gray-600">Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur excepteur sint occaecat cupidatat.</p>
<h2 className="h2 mb-4">Das erwartet dich</h2>
<p className="text-xl text-gray-600">
Was du alles während der einmonatigen Kampagne erleben kannst.
</p>
</div>

{/* Items */}
Expand All @@ -24,7 +26,7 @@ function FeaturesBlocks() {
<div className="relative flex flex-col items-center p-6 bg-white rounded shadow-xl">
<svg className="w-16 h-16 p-1 -mt-1 mb-2" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg">
<g fill="none" fillRule="evenodd">
<rect className="fill-current text-blue-600" width="64" height="64" rx="32" />
<rect className="fill-current text-red-600" width="64" height="64" rx="32" />
<g strokeWidth="2">
<path className="stroke-current text-blue-300" d="M34.514 35.429l2.057 2.285h8M20.571 26.286h5.715l2.057 2.285" />
<path className="stroke-current text-white" d="M20.571 37.714h5.715L36.57 26.286h8" />
Expand All @@ -33,46 +35,50 @@ function FeaturesBlocks() {
</g>
</g>
</svg>
<h4 className="text-xl font-bold leading-snug tracking-tight mb-1">Initial Contact</h4>
<p className="text-gray-600 text-center">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
<h4 className="text-xl font-bold leading-snug tracking-tight mb-1">China erleben</h4>
<p className="text-gray-600 text-center">
Direkt von China-Experten und Austauschschülern erzählt!
</p>
</div>

{/* 2nd item */}
<div className="relative flex flex-col items-center p-6 bg-white rounded shadow-xl">
<svg className="w-16 h-16 p-1 -mt-1 mb-2" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg">
<g fill="none" fillRule="evenodd">
<rect className="fill-current text-blue-600" width="64" height="64" rx="32" />
<rect className="fill-current text-red-600" width="64" height="64" rx="32" />
<g strokeWidth="2" transform="translate(19.429 20.571)">
<circle className="stroke-current text-white" strokeLinecap="square" cx="12.571" cy="12.571" r="1.143" />
<path className="stroke-current text-white" d="M19.153 23.267c3.59-2.213 5.99-6.169 5.99-10.696C25.143 5.63 19.514 0 12.57 0 5.63 0 0 5.629 0 12.571c0 4.527 2.4 8.483 5.99 10.696" />
<path className="stroke-current text-blue-300" d="M16.161 18.406a6.848 6.848 0 003.268-5.835 6.857 6.857 0 00-6.858-6.857 6.857 6.857 0 00-6.857 6.857 6.848 6.848 0 003.268 5.835" />
</g>
</g>
</svg>
<h4 className="text-xl font-bold leading-snug tracking-tight mb-1">Discovery Session</h4>
<p className="text-gray-600 text-center">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
<h4 className="text-xl font-bold leading-snug tracking-tight mb-1">Podcasts</h4>
<p className="text-gray-600 text-center">
Von uns produzierte Podcasts über China.
</p>
</div>

{/* 3rd item */}
<div className="relative flex flex-col items-center p-6 bg-white rounded shadow-xl">
<svg className="w-16 h-16 p-1 -mt-1 mb-2" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg">
<g fill="none" fillRule="evenodd">
<rect className="fill-current text-blue-600" width="64" height="64" rx="32" />
<rect className="fill-current text-red-600" width="64" height="64" rx="32" />
<g strokeLinecap="square" strokeWidth="2">
<path className="stroke-current text-blue-300" d="M38.826 22.504a9.128 9.128 0 00-13.291-.398M35.403 25.546a4.543 4.543 0 00-6.635-.207" />
<path className="stroke-current text-white" d="M19.429 25.143A6.857 6.857 0 0126.286 32v1.189L28 37.143l-1.714.571V40A2.286 2.286 0 0124 42.286h-2.286v2.285M44.571 25.143A6.857 6.857 0 0037.714 32v1.189L36 37.143l1.714.571V40A2.286 2.286 0 0040 42.286h2.286v2.285" />
</g>
</g>
</svg>
<h4 className="text-xl font-bold leading-snug tracking-tight mb-1">Contracting</h4>
<p className="text-gray-600 text-center">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
<h4 className="text-xl font-bold leading-snug tracking-tight mb-1">Kontakt mit anderen</h4>
<p className="text-gray-600 text-center">Vernetze dich mit anderen und diskutiere über China oder eure Lieblings-Laufrouten.</p>
</div>

{/* 4th item */}
<div className="relative flex flex-col items-center p-6 bg-white rounded shadow-xl">
<svg className="w-16 h-16 p-1 -mt-1 mb-2" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg">
<g fill="none" fillRule="evenodd">
<rect className="fill-current text-blue-600" width="64" height="64" rx="32" />
<rect className="fill-current text-red-600" width="64" height="64" rx="32" />
<g transform="translate(22.857 19.429)" strokeWidth="2">
<path className="stroke-current text-white" strokeLinecap="square" d="M12.571 4.571V0H0v25.143h12.571V20.57" />
<path className="stroke-current text-white" d="M16 12.571h8" />
Expand All @@ -81,30 +87,32 @@ function FeaturesBlocks() {
</g>
</g>
</svg>
<h4 className="text-xl font-bold leading-snug tracking-tight mb-1">Fast Prototyping</h4>
<p className="text-gray-600 text-center">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
<h4 className="text-xl font-bold leading-snug tracking-tight mb-1">Live-Talks</h4>
<p className="text-gray-600 text-center">
Spreche live mit Experten über China.
</p>
</div>

{/* 5th item */}
<div className="relative flex flex-col items-center p-6 bg-white rounded shadow-xl">
<svg className="w-16 h-16 p-1 -mt-1 mb-2" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg">
<g fill="none" fillRule="evenodd">
<rect className="fill-current text-blue-600" width="64" height="64" rx="32" />
<rect className="fill-current text-red-600" width="64" height="64" rx="32" />
<g strokeLinecap="square" strokeWidth="2">
<path className="stroke-current text-white" d="M20.571 20.571h13.714v17.143H20.571z" />
<path className="stroke-current text-blue-300" d="M38.858 26.993l6.397 1.73-4.473 16.549-13.24-3.58" />
</g>
</g>
</svg>
<h4 className="text-xl font-bold leading-snug tracking-tight mb-1">Design Phase</h4>
<p className="text-gray-600 text-center">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
<h4 className="text-xl font-bold leading-snug tracking-tight mb-1">Artikel</h4>
<p className="text-gray-600 text-center">Interessante Artikel über die verschiedenen Städte und Bräuche von China.</p>
</div>

{/* 6th item */}
<div className="relative flex flex-col items-center p-6 bg-white rounded shadow-xl">
<svg className="w-16 h-16 p-1 -mt-1 mb-2" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg">
<g fill="none" fillRule="evenodd">
<rect className="fill-current text-blue-600" width="64" height="64" rx="32" />
<rect className="fill-current text-red-600" width="64" height="64" rx="32" />
<g strokeWidth="2">
<path className="stroke-current text-white" d="M32 37.714A5.714 5.714 0 0037.714 32a5.714 5.714 0 005.715 5.714" />
<path className="stroke-current text-white" d="M32 37.714a5.714 5.714 0 015.714 5.715 5.714 5.714 0 015.715-5.715M20.571 26.286a5.714 5.714 0 005.715-5.715A5.714 5.714 0 0032 26.286" />
Expand All @@ -113,8 +121,10 @@ function FeaturesBlocks() {
</g>
</g>
</svg>
<h4 className="text-xl font-bold leading-snug tracking-tight mb-1">Develop & Launch</h4>
<p className="text-gray-600 text-center">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
<h4 className="text-xl font-bold leading-snug tracking-tight mb-1">Challenges</h4>
<p className="text-gray-600 text-center">
Spiele während der Strecke bei Quizzes und anderen Herausforderungen mit!
</p>
</div>

</div>
Expand Down
Loading

0 comments on commit 346ef0b

Please sign in to comment.