Merge branch 'main' into landingpage
This commit is contained in:
commit
6479792acf
184 files changed
+111950
-2
No files matched your search
@@ -4,6 +4,20 @@
|
||||
color: #1f1f1f;
|
||||
}
|
||||
|
||||
/*
|
||||
Hallo im CSS,
|
||||
damit ihr euch hier nicht durch einen wilden Haufen aus Klassen kämpfen müsst,
|
||||
versuche ich die Bereiche sauber zu kommentieren. So ist schneller sichtbar,
|
||||
welche Styles wohin gehören und wo welche Section anfängt.
|
||||
|
||||
Euer Freund und Helfer Salih
|
||||
|
||||
Bei Bugs, Verzweiflung oder akuten CSS-Zusammenbrüchen lesen Sie https://stackoverflow.com/questions
|
||||
oder fragen Sie Salih oder eine KI Ihres Vertrauens.
|
||||
|
||||
Erreichbar unter salih.hasicic@stud.fhgr.ch oder telefonisch, fall Sie die Nummer haben*/
|
||||
|
||||
|
||||
/* HERO */
|
||||
.hero {
|
||||
position: relative;
|
||||
@@ -26,6 +40,8 @@
|
||||
linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.45));
|
||||
}
|
||||
|
||||
/* NAVBAR */
|
||||
|
||||
.navbar {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
@@ -57,6 +73,8 @@
|
||||
background: rgba(255, 255, 255, 0.22);
|
||||
}
|
||||
|
||||
/* --------------------------------------------------- */
|
||||
|
||||
.hero-content {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
@@ -118,6 +136,8 @@
|
||||
backdrop-filter: blur(8px);
|
||||
}
|
||||
|
||||
/* --------------------------------------------------- */
|
||||
|
||||
/* SECTIONS */
|
||||
.section {
|
||||
padding: 28px 20px 10px;
|
||||
@@ -137,6 +157,8 @@
|
||||
color: #1d1d1d;
|
||||
}
|
||||
|
||||
/* --------------------------------------------------- */
|
||||
|
||||
/* GRID */
|
||||
.product-grid {
|
||||
display: grid;
|
||||
@@ -250,6 +272,11 @@
|
||||
height: auto;
|
||||
object-fit: contain;
|
||||
border-radius: 10px;
|
||||
transition: transform 0.4s ease;
|
||||
}
|
||||
|
||||
.product-card:hover .product-image {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
.product-bottom {
|
||||
@@ -359,6 +386,8 @@
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* --------------------------------------------------- */
|
||||
|
||||
/* RESPONSIVE */
|
||||
@media (max-width: 900px) {
|
||||
.hero {
|
||||
@@ -418,4 +447,6 @@
|
||||
.product-card {
|
||||
min-height: 320px;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
+24
-2
@@ -2,6 +2,21 @@ import { useEffect, useRef } from "react";
|
||||
import { gsap } from "gsap";
|
||||
import "./App.css";
|
||||
|
||||
// Hallo im Code,
|
||||
// ich streue hier bewusst Kommentare ein, damit ihr euch nicht auf eine jahrlange
|
||||
// archäologische Expedition begeben müsst. So bleibt besser sichtbar, wo
|
||||
// einzelne Sections anfangen und aufhören und wo wichtige Elemente oder
|
||||
// Funktionen liegen.
|
||||
|
||||
// Euer Freund und Helfer Salih
|
||||
|
||||
// Bei Bugs, kleinen Krisen oder emotionalem Kontrollverlust bitte
|
||||
// https://stackoverflow.com/questions konsultieren
|
||||
// oder fragen Sie Salih oder eine KI Ihres Vertrauens.
|
||||
|
||||
//Erreichbar unter salih.hasicic@stud.fhgr.ch oder telefonisch, falls ihr die Nummer habt*/
|
||||
|
||||
//Elements and Images for the grid
|
||||
const perfumes = [
|
||||
{
|
||||
id: "01",
|
||||
@@ -206,7 +221,9 @@ function App() {
|
||||
|
||||
return (
|
||||
<div className="page">
|
||||
{/* Hero */}
|
||||
<header className="hero">
|
||||
{/* Navbar */}
|
||||
<nav className="navbar">
|
||||
<div className="nav-pill">
|
||||
<a href="#home" className="nav-link active">
|
||||
@@ -223,7 +240,7 @@ function App() {
|
||||
</a>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
{/* --- Navbar End --- */}
|
||||
<div className="hero-overlay" />
|
||||
|
||||
<div className="hero-content">
|
||||
@@ -245,8 +262,10 @@ function App() {
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
{/* --- Hero End --- */}
|
||||
|
||||
<main>
|
||||
{/* Grid with Core Collection */}
|
||||
<section className="section" id="dufte">
|
||||
<div className="section-heading">
|
||||
<h2>
|
||||
@@ -300,7 +319,9 @@ function App() {
|
||||
))}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/* --- Grid End --- */}
|
||||
|
||||
{/* Dicovery Set Section */}
|
||||
<section className="discovery-section" id="testen">
|
||||
<div className="discovery-copy">
|
||||
<h2>
|
||||
@@ -325,6 +346,7 @@ function App() {
|
||||
<button className="banner-btn">Discovery Set bestellen</button>
|
||||
</div>
|
||||
</section>
|
||||
{/* --- Dicovery Set Section End--- */}
|
||||
</main>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user