diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..6f3a2913 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "liveServer.settings.port": 5501 +} \ No newline at end of file diff --git a/assets/images/camera.png b/assets/images/camera.png index f0552ba3..9d39ed53 100644 Binary files a/assets/images/camera.png and b/assets/images/camera.png differ diff --git a/assets/images/gallery/concert/aaron-paul-wnX-fXzB6Cw-unsplash.jpg b/assets/images/gallery/concert/aaron-paul-wnX-fXzB6Cw-unsplash.jpg new file mode 100644 index 00000000..3a20f949 Binary files /dev/null and b/assets/images/gallery/concert/aaron-paul-wnX-fXzB6Cw-unsplash.jpg differ diff --git a/assets/images/gallery/concert/austin-neill-hgO1wFPXl3I-unsplash.jpg b/assets/images/gallery/concert/austin-neill-hgO1wFPXl3I-unsplash.jpg new file mode 100644 index 00000000..44c8a2a3 Binary files /dev/null and b/assets/images/gallery/concert/austin-neill-hgO1wFPXl3I-unsplash.jpg differ diff --git a/assets/images/gallery/concerts/aaron-paul-wnX-fXzB6Cw-unsplash.jpg b/assets/images/gallery/concerts/aaron-paul-wnX-fXzB6Cw-unsplash.jpg index d946c8e8..3a20f949 100644 Binary files a/assets/images/gallery/concerts/aaron-paul-wnX-fXzB6Cw-unsplash.jpg and b/assets/images/gallery/concerts/aaron-paul-wnX-fXzB6Cw-unsplash.jpg differ diff --git a/assets/images/gallery/concerts/austin-neill-hgO1wFPXl3I-unsplash.jpg b/assets/images/gallery/concerts/austin-neill-hgO1wFPXl3I-unsplash.jpg index 84029f1c..44c8a2a3 100644 Binary files a/assets/images/gallery/concerts/austin-neill-hgO1wFPXl3I-unsplash.jpg and b/assets/images/gallery/concerts/austin-neill-hgO1wFPXl3I-unsplash.jpg differ diff --git a/assets/images/gallery/entreprise/ali-morshedlou-WMD64tMfc4k-unsplash.jpg b/assets/images/gallery/entreprise/ali-morshedlou-WMD64tMfc4k-unsplash.jpg index a0fd83fa..2adc72ac 100644 Binary files a/assets/images/gallery/entreprise/ali-morshedlou-WMD64tMfc4k-unsplash.jpg and b/assets/images/gallery/entreprise/ali-morshedlou-WMD64tMfc4k-unsplash.jpg differ diff --git a/assets/images/gallery/entreprise/jason-goodman-tHO1_OuKbg0-unsplash.jpg b/assets/images/gallery/entreprise/jason-goodman-tHO1_OuKbg0-unsplash.jpg index b87ab7c9..078daa64 100644 Binary files a/assets/images/gallery/entreprise/jason-goodman-tHO1_OuKbg0-unsplash.jpg and b/assets/images/gallery/entreprise/jason-goodman-tHO1_OuKbg0-unsplash.jpg differ diff --git a/assets/images/gallery/entreprise/mateus-campos-felipe-Fsgzm8N0hIY-unsplash.jpg b/assets/images/gallery/entreprise/mateus-campos-felipe-Fsgzm8N0hIY-unsplash.jpg index 0901575a..ac7f4a81 100644 Binary files a/assets/images/gallery/entreprise/mateus-campos-felipe-Fsgzm8N0hIY-unsplash.jpg and b/assets/images/gallery/entreprise/mateus-campos-felipe-Fsgzm8N0hIY-unsplash.jpg differ diff --git a/assets/images/gallery/mariage/hannah-busing-RvF2R_qMpRk-unsplash.jpg b/assets/images/gallery/mariage/hannah-busing-RvF2R_qMpRk-unsplash.jpg index b6171083..90e564db 100644 Binary files a/assets/images/gallery/mariage/hannah-busing-RvF2R_qMpRk-unsplash.jpg and b/assets/images/gallery/mariage/hannah-busing-RvF2R_qMpRk-unsplash.jpg differ diff --git a/assets/images/gallery/mariage/jakob-owens-SiniLJkXhMc-unsplash.jpg b/assets/images/gallery/mariage/jakob-owens-SiniLJkXhMc-unsplash.jpg index bfd6a4db..b535ec80 100644 Binary files a/assets/images/gallery/mariage/jakob-owens-SiniLJkXhMc-unsplash.jpg and b/assets/images/gallery/mariage/jakob-owens-SiniLJkXhMc-unsplash.jpg differ diff --git a/assets/images/gallery/portraits/ade-tunji-rVkhWWZFAtQ-unsplash.jpg b/assets/images/gallery/portraits/ade-tunji-rVkhWWZFAtQ-unsplash.jpg index a6c1a2c5..6e5d20d1 100644 Binary files a/assets/images/gallery/portraits/ade-tunji-rVkhWWZFAtQ-unsplash.jpg and b/assets/images/gallery/portraits/ade-tunji-rVkhWWZFAtQ-unsplash.jpg differ diff --git a/assets/images/gallery/portraits/nino-van-prattenburg - 443cl1uR_8-unsplash.jpg b/assets/images/gallery/portraits/nino-van-prattenburg - 443cl1uR_8-unsplash.jpg new file mode 100644 index 00000000..7fd44707 Binary files /dev/null and b/assets/images/gallery/portraits/nino-van-prattenburg - 443cl1uR_8-unsplash.jpg differ diff --git a/assets/images/nina.png b/assets/images/nina.png index 05e2a290..5a8782da 100644 Binary files a/assets/images/nina.png and b/assets/images/nina.png differ diff --git a/assets/images/slider/edward-cisneros-3_h6-1NPDGw-unsplash.jpg b/assets/images/slider/edward-cisneros-3_h6-1NPDGw-unsplash.jpg index 2c6ecebb..26003b8c 100644 Binary files a/assets/images/slider/edward-cisneros-3_h6-1NPDGw-unsplash.jpg and b/assets/images/slider/edward-cisneros-3_h6-1NPDGw-unsplash.jpg differ diff --git a/assets/images/slider/nicholas-green-nPz8akkUmDI-unsplash.jpg b/assets/images/slider/nicholas-green-nPz8akkUmDI-unsplash.jpg index 3e72a388..2491e1d3 100644 Binary files a/assets/images/slider/nicholas-green-nPz8akkUmDI-unsplash.jpg and b/assets/images/slider/nicholas-green-nPz8akkUmDI-unsplash.jpg differ diff --git a/assets/images/slider/ryoji-iwata-wUZjnOv7t0g-unsplash.jpg b/assets/images/slider/ryoji-iwata-wUZjnOv7t0g-unsplash.jpg index 1070c9cf..7af1e487 100644 Binary files a/assets/images/slider/ryoji-iwata-wUZjnOv7t0g-unsplash.jpg and b/assets/images/slider/ryoji-iwata-wUZjnOv7t0g-unsplash.jpg differ diff --git a/assets/images2/camera.png b/assets/images2/camera.png new file mode 100644 index 00000000..80999b59 Binary files /dev/null and b/assets/images2/camera.png differ diff --git a/assets/images2/gallery/concerts/aaron-paul-wnX-fXzB6Cw-unsplash.jpg b/assets/images2/gallery/concerts/aaron-paul-wnX-fXzB6Cw-unsplash.jpg new file mode 100644 index 00000000..d946c8e8 Binary files /dev/null and b/assets/images2/gallery/concerts/aaron-paul-wnX-fXzB6Cw-unsplash.jpg differ diff --git a/assets/images2/gallery/concerts/austin-neill-hgO1wFPXl3I-unsplash.jpg b/assets/images2/gallery/concerts/austin-neill-hgO1wFPXl3I-unsplash.jpg new file mode 100644 index 00000000..84029f1c Binary files /dev/null and b/assets/images2/gallery/concerts/austin-neill-hgO1wFPXl3I-unsplash.jpg differ diff --git a/assets/images2/gallery/entreprise/ali-morshedlou-WMD64tMfc4k-unsplash.jpg b/assets/images2/gallery/entreprise/ali-morshedlou-WMD64tMfc4k-unsplash.jpg new file mode 100644 index 00000000..a0fd83fa Binary files /dev/null and b/assets/images2/gallery/entreprise/ali-morshedlou-WMD64tMfc4k-unsplash.jpg differ diff --git a/assets/images2/gallery/entreprise/jason-goodman-tHO1_OuKbg0-unsplash.jpg b/assets/images2/gallery/entreprise/jason-goodman-tHO1_OuKbg0-unsplash.jpg new file mode 100644 index 00000000..b87ab7c9 Binary files /dev/null and b/assets/images2/gallery/entreprise/jason-goodman-tHO1_OuKbg0-unsplash.jpg differ diff --git a/assets/images2/gallery/entreprise/mateus-campos-felipe-Fsgzm8N0hIY-unsplash.jpg b/assets/images2/gallery/entreprise/mateus-campos-felipe-Fsgzm8N0hIY-unsplash.jpg new file mode 100644 index 00000000..0901575a Binary files /dev/null and b/assets/images2/gallery/entreprise/mateus-campos-felipe-Fsgzm8N0hIY-unsplash.jpg differ diff --git a/assets/images2/gallery/mariage/hannah-busing-RvF2R_qMpRk-unsplash.jpg b/assets/images2/gallery/mariage/hannah-busing-RvF2R_qMpRk-unsplash.jpg new file mode 100644 index 00000000..b6171083 Binary files /dev/null and b/assets/images2/gallery/mariage/hannah-busing-RvF2R_qMpRk-unsplash.jpg differ diff --git a/assets/images2/gallery/mariage/jakob-owens-SiniLJkXhMc-unsplash.jpg b/assets/images2/gallery/mariage/jakob-owens-SiniLJkXhMc-unsplash.jpg new file mode 100644 index 00000000..bfd6a4db Binary files /dev/null and b/assets/images2/gallery/mariage/jakob-owens-SiniLJkXhMc-unsplash.jpg differ diff --git a/assets/images2/gallery/portraits/ade-tunji-rVkhWWZFAtQ-unsplash.jpg b/assets/images2/gallery/portraits/ade-tunji-rVkhWWZFAtQ-unsplash.jpg new file mode 100644 index 00000000..a6c1a2c5 Binary files /dev/null and b/assets/images2/gallery/portraits/ade-tunji-rVkhWWZFAtQ-unsplash.jpg differ diff --git a/assets/images/gallery/portraits/nino-van-prattenburg--443cl1uR_8-unsplash.jpg b/assets/images2/gallery/portraits/nino-van-prattenburg--443cl1uR_8-unsplash.jpg similarity index 100% rename from assets/images/gallery/portraits/nino-van-prattenburg--443cl1uR_8-unsplash.jpg rename to assets/images2/gallery/portraits/nino-van-prattenburg--443cl1uR_8-unsplash.jpg diff --git a/assets/images2/nina.png b/assets/images2/nina.png new file mode 100644 index 00000000..559c46a3 Binary files /dev/null and b/assets/images2/nina.png differ diff --git a/assets/images2/slider/edward-cisneros-3_h6-1NPDGw-unsplash.jpg b/assets/images2/slider/edward-cisneros-3_h6-1NPDGw-unsplash.jpg new file mode 100644 index 00000000..2c6ecebb Binary files /dev/null and b/assets/images2/slider/edward-cisneros-3_h6-1NPDGw-unsplash.jpg differ diff --git a/assets/images2/slider/nicholas-green-nPz8akkUmDI-unsplash.jpg b/assets/images2/slider/nicholas-green-nPz8akkUmDI-unsplash.jpg new file mode 100644 index 00000000..3e72a388 Binary files /dev/null and b/assets/images2/slider/nicholas-green-nPz8akkUmDI-unsplash.jpg differ diff --git a/assets/images2/slider/ryoji-iwata-wUZjnOv7t0g-unsplash.jpg b/assets/images2/slider/ryoji-iwata-wUZjnOv7t0g-unsplash.jpg new file mode 100644 index 00000000..1070c9cf Binary files /dev/null and b/assets/images2/slider/ryoji-iwata-wUZjnOv7t0g-unsplash.jpg differ diff --git a/assets/maugallery.js b/assets/maugallery.js index c5501fec..5e24a333 100644 --- a/assets/maugallery.js +++ b/assets/maugallery.js @@ -52,18 +52,19 @@ $(".gallery-item").on("click", function() { if (options.lightBox && $(this).prop("tagName") === "IMG") { $.fn.mauGallery.methods.openLightBox($(this), options.lightboxId); + $(".mg-prev").off("click").on("click", () => + $.fn.mauGallery.methods.prevImage(options.lightboxId) + ); + $(".mg-next").off("click").on("click", () => + $.fn.mauGallery.methods.nextImage(options.lightboxId) + ); } else { return; } }); $(".gallery").on("click", ".nav-link", $.fn.mauGallery.methods.filterByTag); - $(".gallery").on("click", ".mg-prev", () => - $.fn.mauGallery.methods.prevImage(options.lightboxId) - ); - $(".gallery").on("click", ".mg-next", () => - $.fn.mauGallery.methods.nextImage(options.lightboxId) - ); + }; $.fn.mauGallery.methods = { createRowWrapper(element) { @@ -150,12 +151,10 @@ $(imagesCollection).each(function(i) { if ($(activeImage).attr("src") === $(this).attr("src")) { - index = i ; + index = i-1 ; } }); - next = - imagesCollection[index] || - imagesCollection[imagesCollection.length - 1]; + next = imagesCollection[index]; $(".lightboxImage").attr("src", $(next).attr("src")); }, nextImage() { @@ -189,10 +188,10 @@ $(imagesCollection).each(function(i) { if ($(activeImage).attr("src") === $(this).attr("src")) { - index = i; + index = i+1; } }); - next = imagesCollection[index] || imagesCollection[0]; + next = imagesCollection[index]; $(".lightboxImage").attr("src", $(next).attr("src")); }, createLightBox(gallery, lightboxId, navigation) { diff --git a/assets/style.css b/assets/style.css index dc401993..68474cad 100644 --- a/assets/style.css +++ b/assets/style.css @@ -21,6 +21,10 @@ body { .top-header .name { font-size: 26px; } +.top-header .info p { + font-size: 14px; + margin: 0px; +} .nav ul { display: flex; @@ -69,7 +73,7 @@ body { .picture img { width: 100%; - + height: auto; } #about-me { flex: 2 @@ -100,9 +104,9 @@ body { .gallery .nav { justify-content: center; } -.nav-pills .nav-link.active, .nav-pills .show > .nav-link { +.nav-pills .nav-link.active-tag, .nav-pills .show > .nav-link { color: #fff; - background-color: #BEB45A; + background-color:#000; border-radius:0 ; } .nav-pills .nav-link { @@ -243,6 +247,11 @@ input[type="submit"] { background-color: #BEB45A; padding: .5em 1em } +.visually-hidden { + color: #0a0a0a; + background-color: #fff; + opacity: 1; +} @media all and (max-width: 1180px) { .picture { diff --git a/index.html b/index.html index 957423a3..fd2bdb85 100644 --- a/index.html +++ b/index.html @@ -1,28 +1,69 @@ - + - + Nina Carducci, photographe professionnelle à Bordeaux + + + + + + + + + + + + + + - - - - + + + + +
-

Nina Carducci

+

Nina Carducci, photographe professionnelle à Bordeaux

@@ -36,13 +77,13 @@

Nina Carducci