diff --git a/donutshop_ecommerce/public/about-founder1.jpg b/donutshop_ecommerce/public/about-founder1.jpg new file mode 100644 index 0000000..301e9c2 Binary files /dev/null and b/donutshop_ecommerce/public/about-founder1.jpg differ diff --git a/donutshop_ecommerce/public/about-founder2.jpg b/donutshop_ecommerce/public/about-founder2.jpg new file mode 100644 index 0000000..ceeb249 Binary files /dev/null and b/donutshop_ecommerce/public/about-founder2.jpg differ diff --git a/donutshop_ecommerce/src/app/about/page.js b/donutshop_ecommerce/src/app/about/page.js index d966f58..aa8bcf4 100644 --- a/donutshop_ecommerce/src/app/about/page.js +++ b/donutshop_ecommerce/src/app/about/page.js @@ -1,4 +1,3 @@ -"use client" import Image from 'next/image' import React from 'react' @@ -9,7 +8,7 @@ const AboutPage = () => { <>

our story

- home-hero + about-story
@@ -22,7 +21,7 @@ const AboutPage = () => {
- + about-story-arrow

Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat sed do eiusmod tempor incididunt.

@@ -30,6 +29,35 @@ const AboutPage = () => {
+
+
+
+

Meet the founders

+
+
+
+
+
+ about-story +
+
+

Hello

+
+
+
+
+
+
+ about-story +
+
+

Hello

+
+
+
+
+
+
) } diff --git a/donutshop_ecommerce/src/app/globals.css b/donutshop_ecommerce/src/app/globals.css index 7062a30..52ce4e9 100644 --- a/donutshop_ecommerce/src/app/globals.css +++ b/donutshop_ecommerce/src/app/globals.css @@ -39,10 +39,58 @@ div.tabs > *{ div.tabs > *.active{ @apply bg-pink-500 text-white font-semibold } +/*=====about card flip=====*/ +.flip-card{ + background-color: transparent; + perspective: 1000px; +} +.flip-card-inner{ + position: relative; + width: 100%; + height: 100%; + text-align: center; + transition: transform 0.6s; + transform-style: preserve-3d; + box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); + backface-visibility: hidden; + -moz-backface-visibility: hidden; +} +.flip-card:focus{ + outline: 0; +} +.flip-card:hover .flip-card-inner, .flip-card:focus .flip-card-inner{ + transform: rotateY(180deg); +} +.flip-card-front1, .flip-card-back, .flip-card-front2, .flip-card-back{ + position: absolute; + width: 100%; + height: 100%; +} +.flip-card-front1{ + z-index: 2; +} +.flip-card-front2{ + z-index: 2; +} +.flip-card-back{ + background: white; + color: black; + transform: rotateY(180deg); + z-index: 1; + display: flex; + justify-content: center; + align-items: center; +} +h3{ + font-size: 20px; + font-family: Verdana, sans-serif; + font-weight: bold; + color: black; +} + /*=====Responsive=====*/ @media (min-width: 765px){ .letter { transform-origin: 0 70px; } -} - +} \ No newline at end of file