Skip to content

Commit 4cd91fd

Browse files
committed
update images
1 parent 1ac10ea commit 4cd91fd

14 files changed

Lines changed: 16 additions & 41 deletions

src/assets/douro-1-tiny.jpg

473 KB
Loading

src/assets/douro-2-tiny.jpeg

661 KB
Loading

src/assets/garrafas-1-tiny.jpg

329 KB
Loading

src/assets/old-references-tiny.jpg

282 KB
Loading

src/assets/oliveira-2-tiny.jpg

836 KB
Loading
279 KB
Loading

src/components/HeritageSection.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, { useRef, useEffect } from 'react';
22
import { Link } from 'react-router-dom';
33
import '../styles/HeritageSection.css';
4-
import heritageBgImage from '../assets/padre-antonio-veiga-douro.jpg';
4+
import heritageBgImage from '../assets/padre-antonio-veiga-douro-tiny.jpg';
55

66
const HeritageSection = () => {
77
const sectionRef = useRef(null);
@@ -41,7 +41,7 @@ const HeritageSection = () => {
4141
<div className="section-line-top" />
4242
<div className="heritage-background">
4343
<div className="heritage-overlay"></div>
44-
<img src={heritageBgImage} alt="Adega histórica Casttêdo" className="heritage-bg-image" />
44+
<img src={heritageBgImage} alt="Fotografia histórica" className="heritage-bg-image" />
4545
</div>
4646

4747
<div className="heritage-content">

src/components/WineCarousel.jsx

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
import React, { useState, useEffect, useRef } from 'react';
2-
import { Link } from 'react-router-dom'; // Manter a importação
2+
import { Link } from 'react-router-dom';
33
import { ChevronLeft, ChevronRight, ArrowRight, Sparkles } from 'lucide-react';
4-
import { wines } from '../mocks/products.js'; // Verifique o caminho
5-
import "../styles/WineCarousel.css"; // Verifique o caminho
4+
import { wines } from '../mocks/products.js';
5+
import "../styles/WineCarousel.css";
66

77
const WineCard = ({ wine, isHovered, setIsHovered }) => {
88
return (
9-
// O div wrapper do cartão agora é o elemento clicável que leva aos detalhes
109
<Link to={`/portfolio/wines/${wine.slug}`} className={`wine-card-premium ${isHovered ? 'hovered' : ''}`}
1110
onMouseEnter={() => setIsHovered(true)}
1211
onMouseLeave={() => setIsHovered(false)}
13-
style={{ textDecoration: 'none', color: 'inherit' }} // Garante que não parece um link padrão
12+
style={{ textDecoration: 'none', color: 'inherit' }}
1413
>
1514
<div className="wine-card-shimmer" />
1615

@@ -41,11 +40,8 @@ const WineCard = ({ wine, isHovered, setIsHovered }) => {
4140
<span className="variety-more-premium">+{wine.varieties.length - 2}</span>
4241
)}
4342
</div>
44-
45-
{/* REMOVIDO o Link/Botão 'Ver Portefólio' daqui */}
46-
4743
</div>
48-
</Link> // Fechar o Link que envolve o cartão
44+
</Link>
4945
);
5046
};
5147

@@ -124,7 +120,6 @@ const WineCarouselPremium = () => {
124120
<div className="wine-carousel-line-top" />
125121

126122
<div className="wine-carousel-container-premium">
127-
{/* Header (Título, Subtítulo, Ornamento) - Mantém-se igual */}
128123
<div className="wine-carousel-header-premium">
129124
<div className="wine-carousel-subtitle-premium">
130125
<Sparkles size={12} />
@@ -139,7 +134,6 @@ const WineCarouselPremium = () => {
139134
</div>
140135
</div>
141136

142-
{/* Wrapper do Carrossel (Botões + Grelha) - Mantém-se igual */}
143137
<div className={`wine-carousel-wrapper-premium ${totalSlides < 3 ? 'justify-center' : ''}`}>
144138
{totalSlides > 1 && (
145139
<button onClick={prevSlide} className="carousel-nav-premium prev" aria-label="Vinho anterior">
@@ -163,7 +157,6 @@ const WineCarouselPremium = () => {
163157
)}
164158
</div>
165159

166-
{/* Indicadores - Mantêm-se iguais */}
167160
{totalSlides > 1 && (
168161
<div className="wine-carousel-indicators-premium">
169162
{availableWines.map((_, index) => (
@@ -172,14 +165,12 @@ const WineCarouselPremium = () => {
172165
</div>
173166
)}
174167

175-
{/* ADICIONADO: Link geral para o portefólio */}
176168
<div className="carousel-portfolio-link-container">
177169
<Link to="/portfolio/wines" className="carousel-portfolio-link">
178170
Ver Todo o Portefólio
179171
<ArrowRight size={16} className="portfolio-link-arrow" />
180172
</Link>
181173
</div>
182-
{/* Fim da adição */}
183174

184175
</div>
185176
</section>

src/pages/ContactPage.jsx

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11
import React, { useEffect, useRef } from "react";
2-
import "../styles/ContactPage.css"; // Vamos usar o novo CSS
3-
4-
// Imagens
5-
import heroBackground from "../assets/douro-2.jpeg";
6-
7-
// Ícones
2+
import "../styles/ContactPage.css";
3+
import heroBackground from "../assets/douro-2-tiny.jpeg";
84
import { MapPin, Phone, Mail, Award, Calendar } from 'lucide-react';
9-
// Ícones para "Como Chegar" (pode substituir por SVGs se preferir)
105
import { Car, Train, Ship } from 'lucide-react';
116

12-
// Componente de Cartão de Experiência (para limpar o JSX principal)
137
const ExperienceCard = ({ icon, title, text }) => (
148
<div className="experience-card">
159
<div className="experience-icon">{icon}</div>
@@ -18,7 +12,6 @@ const ExperienceCard = ({ icon, title, text }) => (
1812
</div>
1913
);
2014

21-
// Componente de Item de Direção (para limpar o JSX principal)
2215
const DirectionItem = ({ icon, title, text }) => (
2316
<div className="directions-item">
2417
<div className="directions-icon">{icon}</div>
@@ -31,7 +24,6 @@ const DirectionItem = ({ icon, title, text }) => (
3124

3225

3326
const ContactPage = () => {
34-
// Refs para animações de scroll
3527
const refs = {
3628
hero: useRef(null),
3729
content: useRef(null),
@@ -40,7 +32,7 @@ const ContactPage = () => {
4032
};
4133

4234
useEffect(() => {
43-
window.scrollTo(0, 0); // Garante que a página carrega no topo
35+
window.scrollTo(0, 0);
4436

4537
const observer = new IntersectionObserver((entries) => {
4638
entries.forEach(entry => {

src/pages/HomePage.jsx

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
import "../styles/HomePage.css";
22
import HeritageSection from "../components/HeritageSection.jsx";
33
import AwardsSection from "../components/AwardsSection.jsx";
4-
// import TestimonialsSection from "../components/TestimonialsSection.jsx";
5-
// import TerroirSection from "../components/TerroirSection.jsx";
64
import WineCarousel from "../components/WineCarousel.jsx";
75
import OliveOilCarousel from "../components/OliveOilCarousel.jsx";
86

97
import React, { useEffect, useRef, useState } from "react";
10-
import heroImage from "../assets/douro-1.jpg";
8+
import heroImage from "../assets/douro-1-tiny.jpg";
119
import logoBranco from "../assets/cv-logo-branco.png";
1210

1311
const HomePage = () => {
@@ -61,12 +59,6 @@ const HomePage = () => {
6159
transform: `translateY(${scrollPosition * 0.4}px)`
6260
};
6361

64-
// Function to handle author click
65-
const handleAuthorClick = (event) => {
66-
window.open('https://pt.wikipedia.org/wiki/Ant%C3%B3nio_Cabral_(escritor)', '_blank', 'noopener,noreferrer');
67-
// Remove focus after click to avoid the selection box when returning
68-
event.target.blur();
69-
};
7062

7163
return (
7264
<div className="home">
@@ -75,7 +67,7 @@ const HomePage = () => {
7567
<div className="hero-container parallax-bg" style={parallaxStyle}>
7668
<img
7769
src={heroImage}
78-
alt="Vista panorâmica do Casttêdo Valley"
70+
alt="Vista panorâmica do Vale do Douro"
7971
className="hero-image"
8072
/>
8173
</div>

0 commit comments

Comments
 (0)