Giter Club home page Giter Club logo

ayoubsvt's Introduction

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.js. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

ayoubsvt's People

Contributors

khabzox avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

ayoubsvt's Issues

Cannot find module 'next-video' or its corresponding type declarations

image

Show code:

click here

========================================================
`"use client";
import { motion } from "framer-motion";
import Image from "next/image";
import Video from 'next-video';

const About = () => {

return (

<>

  <section className="overflow-hidden pb-20 lg:pb-25 xl:pb-30" id="about">
    <div className="mx-auto max-w-c-1235 px-4 md:px-8 xl:px-0">
      <div class Name="flex items-center gap-8 lg:gap-32.5">
        <motion.div
              variants={{
                hidden: {
                  opacity: 0,
                  x: -20,
                },

            visible: {
              opacity: 1,
              x: 0,
            },
          }}
          initial="hidden"
          whileInView="visible"
          transition={{ duration: 0.5, delay: 0.1 }}
          viewport={{ once: true }}
          className="animate_left relative mx-auto hidden aspect-[588/526.5] md:block md:w-1/2 "
        >

      <Video 
          src="/videos/ayoubsvtAbout.mp4"
          accentColor="#9400ff"
          className="h-90 w-full mt-48 mb-32"/>
        
    </motion.div>
        <motion.div
          variants={{
            hidden: {
              opacity: 0,
              x: 20,
            },

            visible: {
              opacity: 1,
              x: 0,
            },

          }}
          initial="hidden"
          whileInView="visible"
          transition={{ duration: 0.5, delay: 0.1 }}
          viewport={{ once: true }}
          className="animate_right md:w-1/2"
        >
          <span className="font-medium uppercase text-black dark:text-white">
            <span className="mb-4 mr-4 inline-flex rounded-full bg-primaryy px-4.5 py-1 text-metatitle uppercase text-white ">
              New
            </span>{" "}
            AyoubSVT | SCIENCES DES SVT
          </span>
          <h2 className="relative mb-6 text-3xl font-bold text-black dark:text-white xl:text-hero">
           LES RESSOURCES 
            <span className="relative inline-block before:absolute before:bottom-2.5 before:left-0 before:-z-1 before:h-3 before:w-full before:bg-primaryho">
            ÉDUCATIVES
            </span>
          </h2>
          <p>
          Pour au site pédagogique, nous avons décidé de diviser le site en deux parties : la première est constituée de cours théoriques et la seconde est constituée de cours appliqués, qui sont :
          </p>

          <div className="mt-7.5 flex items-center gap-5">
            <div className="flex h-15 w-15 items-center justify-center rounded-[50%] border border-stroke dark:border-strokedark dark:bg-blacksection">
              <p className="text-metatitle2 font-semibold text-black dark:text-white">
                01
              </p>
            </div>
            <div className="w-3/4">
              <h3 className="mb-0.5 text-metatitle2 text-black dark:text-white">
                AyoubSVT | RESSOURCES ÉDUCATIVES
              </h3>
              <p>Comprend des cours Théoriques.</p>
            </div>
          </div>
          <div className="mt-7.5 flex items-center gap-5">
            <div className="flex h-15 w-15 items-center justify-center rounded-[50%] border border-stroke dark:border-strokedark dark:bg-blacksection">
              <p className="text-metatitle2 font-semibold text-black dark:text-white">
                02
              </p>
            </div>
            <div className="w-3/4">
              <h3 className="mb-0.5 text-metatitle2 text-black dark:text-white">
                 Virtule-ZX10 | Laboratoire virtuel
              </h3>
              <p>Comprend des leçons Pratiques.</p>
            </div>
          </div>
        </motion.div>
      </div>
    </div>
  </section>
  {/* <!-- ===== About End ===== --> */}

  {/* <!-- ===== About Two Start ===== --> */}
  <section>
    <div className="mx-auto max-w-c-1235 overflow-hidden px-4 md:px-8 2xl:px-0">
      <div className="flex items-center gap-8 lg:gap-32.5">
        <motion.div
          variants={{
            hidden: {
              opacity: 0,
              x: -20,
            },

            visible: {
              opacity: 1,
              x: 0,
            },
          }}
          initial="hidden"
          whileInView="visible"
          transition={{ duration: 1, delay: 0.1 }}
          viewport={{ once: true }}
          className="animate_left md:w-1/2"
        >
          <h4 className="font-medium uppercase text-black dark:text-white">
          <span className="font-medium uppercase text-black dark:text-white">
            <span className="mb-4 mr-4 inline-flex rounded-full bg-primaryy px-4.5 py-1 text-metatitel uppercase text-white ">
              New
            </span>{" "}
            Virtule-ZX10 | Laboratoire virtuel
          </span>
          </h4>
          <h2 className="relative mb-6 text-3xl font-bold text-black dark:text-white xl:text-hero">
            Laboratoire virtuel {"   "}
            <span className="relative inline-block before:absolute before:bottom-2.5 before:left-0 before:-z-1 before:h-3 before:w-full before:bg-primaryho dark:before:bg-titlebgdark">
             Virtule-ZX10 
            </span>
          </h2>
          <p>
          Étudier devient plus agréable avec nous grâce aux moyens nouveaux et innovants que nos outils offrent pour une meilleure éducation.
          </p>
          <div>
            <a
              href="/Virtule-ZX10 "
              className="group mt-7.5 inline-flex items-center gap-2.5 text-black hover:text-primaryy dark:text-white dark:hover:text-primary"
            >
              <span className="duration-300 group-hover:pr-2">
              Virtule-ZX10 
              </span>
              <svg
                width="14"
                height="14"
                viewBox="0 0 14 14"
                fill="currentColor"
              >
                <path d="M10.4767 6.16701L6.00668 1.69701L7.18501 0.518677L13.6667 7.00034L7.18501 13.482L6.00668 12.3037L10.4767 7.83368H0.333344V6.16701H10.4767Z" />
              </svg>
            </a>
          </div>
        </motion.div>
        <motion.div
          variants={{
            hidden: {
              opacity: 0,
              x: 20,
            },

            visible: {
              opacity: 1,
              x: 0,
            },
          }}
          initial="hidden"
          whileInView="visible"
          transition={{ duration: 1, delay: 0.1 }}
          viewport={{ once: true }}
          className="animate_right relative mx-auto hidden aspect-[588/526.5] md:block md:w-1/2"
        >
          <Image
            src="/images/about/showLaboF.png"
            alt="About"
            className="dark:hidden"
            fill
          />
          <Image
            src="/images/about/showLaboF.png"
            alt="About"
            className="hidden dark:block"
            fill
          />
        </motion.div>
      </div>
    </div>
  </section>
</>

);
};

export default About;
`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.