-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
08
- Loading branch information
Showing
9 changed files
with
283 additions
and
7 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,62 @@ | ||
.depoimentos{ | ||
background-color: #20181B; | ||
padding: 125px; | ||
padding-bottom: 200px; | ||
} | ||
|
||
.depoimentosTitle{ | ||
text-align: left; | ||
color:white; | ||
font-size: 50px; | ||
font-family: 'Allegin'; | ||
font-weight: 200; | ||
padding-bottom: 40px; | ||
font-family: 'Allegin'; | ||
} | ||
|
||
.depoimentosText{ | ||
padding-right: 75px; | ||
padding-left: 75px; | ||
padding-top: 115px; | ||
padding-bottom: 115px; | ||
border: solid; | ||
border-width: 0.5px; | ||
border-color: white; | ||
text-align: center; | ||
font-weight: 100; | ||
} | ||
|
||
.item { | ||
height: 10rem; | ||
background: #4dc7a0; | ||
padding: 1rem; | ||
padding-right: 30px; | ||
background: transparent; | ||
color: white; | ||
font-family: Arial, Helvetica, sans-serif; | ||
} | ||
<<<<<<< Updated upstream | ||
} | ||
======= | ||
padding-bottom: 150px; | ||
} | ||
|
||
@media only screen and (max-width: 600px) { | ||
.depoimentos{ | ||
padding: 25px; | ||
} | ||
|
||
.depoimentosTitle{ | ||
text-align: center; | ||
} | ||
|
||
.depoimentosText{ | ||
padding-right: 0px; | ||
padding-left: 0px; | ||
padding-top: 0px; | ||
padding-bottom: 220px; | ||
border-width: 0px; | ||
border-color: white; | ||
text-align: center; | ||
font-weight: 100; | ||
margin-bottom: 50px; | ||
} | ||
} | ||
>>>>>>> Stashed changes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
src/components/projeto/ProjectCarousel/carousel.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
.projetos{ | ||
width: 100%; | ||
height: 100%; | ||
padding-left: 13vh; | ||
padding-top: 100px; | ||
padding-bottom: 100px; | ||
} | ||
|
||
.projetosTitle{ | ||
text-align: left; | ||
color:white; | ||
font-size: 50px; | ||
font-family: 'Allegin'; | ||
font-weight: 200; | ||
padding-bottom: 25px; | ||
} | ||
|
||
.item { | ||
padding-right: 25px; | ||
} | ||
|
||
.imgcarimbo{ | ||
width: 1000px; | ||
height: 585px; | ||
} | ||
|
||
@media only screen and (max-width: 600px) { | ||
.projetos{ | ||
padding-left: 2vh; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
'use client'; | ||
import React, { useState, useEffect } from "react"; | ||
import dynamic from "next/dynamic"; | ||
import "owl.carousel/dist/assets/owl.carousel.css"; | ||
import "owl.carousel/dist/assets/owl.theme.default.css"; | ||
import styles from './carousel.module.css' | ||
import Image from 'next/image'; | ||
import proj1 from './../../../../public/img/projeto/projeto1.png' | ||
import proj2 from './../../../../public/img/projeto/projeto2.png' | ||
import proj3 from './../../../../public/img/projeto/projeto3.png' | ||
|
||
|
||
var $ = require("jquery"); | ||
if (typeof window !== "undefined") { | ||
window.$ = window.jQuery = require("jquery"); | ||
} | ||
|
||
const OwlCarousel = dynamic(() => import("react-owl-carousel"), { | ||
ssr: false, | ||
}); | ||
|
||
const Slider = (props) => { | ||
const PartnersConfig2 = { | ||
loop: true, | ||
nav: false, | ||
dots: false, | ||
autoplay: true, | ||
autoplayTimeout: 5000, | ||
autoplaySpeed: 2000, | ||
autoplayHoverPause: true, | ||
responsiveClass: true, | ||
mouseDrag: true, | ||
touchDrag: true, | ||
responsive: { | ||
0: { | ||
items: 3, | ||
}, | ||
700: { | ||
items: 3, | ||
}, | ||
1000: { | ||
items: 3, | ||
}, | ||
}, | ||
navContainerClass: `${styles.owlNav}`, | ||
navClass: [`${styles.owlPrev}`, `${styles.owlNext}`], | ||
navText: ['', ''], | ||
}; | ||
|
||
return ( | ||
<div className={styles.projetos}> | ||
<h2 className={styles.projetosTitle}>confira outros projetos</h2> | ||
<OwlCarousel className={styles.slider} | ||
{...PartnersConfig2} > | ||
<div className={styles.item}> | ||
<Image className={styles.imgcarimbo} src={proj1} alt={'nome'} width={1000} height={585}/> | ||
</div> | ||
<div className={styles.item}> | ||
<Image className={styles.imgcarimbo} src={proj2} alt={'nome'} width={1000} height={585}/> | ||
</div> | ||
<div className={styles.item}> | ||
<Image className={styles.imgcarimbo} src={proj3} alt={'nome'} width={1000} height={585}/> | ||
</div> | ||
</OwlCarousel> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Slider; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters