Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

about #1733

Open
wants to merge 64 commits into
base: main
Choose a base branch
from
Open

about #1733

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
f1c6c6c
schelet
radu2023 Aug 26, 2024
7e0e684
sters logo
radu2023 Aug 26, 2024
3f5d38a
addedphoto folder
radu2023 Aug 26, 2024
d385a9c
creat folder images
radu2023 Aug 26, 2024
45887fe
add logo goit
radu2023 Aug 26, 2024
cfa9ce5
html+css body done
AndreeaDianaa Aug 26, 2024
1e170d5
Merge pull request #9 from radu2023/change-body
radu2023 Aug 26, 2024
a8a3012
Add files via upload
Irina-Musat Aug 26, 2024
6edd3e1
Merge pull request #10 from radu2023/Irina-Musat-patch-2
radu2023 Aug 26, 2024
d45cfd3
mutat folder image in src
radu2023 Aug 26, 2024
75f27fa
Reviews section done
AndreeaDianaa Aug 27, 2024
bc17289
Merge pull request #12 from radu2023/reviews
AndreeaDianaa Aug 27, 2024
0dbb515
footer section finished
AndreeaDianaa Aug 27, 2024
4308508
Merge pull request #13 from radu2023/footer
radu2023 Aug 28, 2024
b6f8282
Add header and hero sections
MoiseFlori Aug 28, 2024
23a67c7
Add header and hero sections
MoiseFlori Aug 28, 2024
7d1fae9
I changed the header
MoiseFlori Aug 28, 2024
0254442
about
Irina-Musat Aug 29, 2024
f3de07a
Merge pull request #14 from radu2023/add_header_and_hero
radu2023 Aug 29, 2024
da8b0ca
Merge pull request #15 from radu2023/Irina-Musat-patch-2
radu2023 Aug 29, 2024
f8a707c
add mobile-menu
MoiseFlori Aug 29, 2024
78cd7ff
Add mobile menu
MoiseFlori Aug 29, 2024
f04d702
Merge pull request #16 from radu2023/add_mobile_menu
radu2023 Aug 29, 2024
486ab62
about
Irina-Musat Aug 29, 2024
d0639a2
Merge pull request #17 from radu2023/Irina-Musat-patch-2
radu2023 Aug 29, 2024
6744200
Create about
Irina-Musat Aug 29, 2024
c370ef7
Merge pull request #18 from radu2023/Irina-Musat-patch-2
radu2023 Aug 29, 2024
a120cf7
Update mobile menu,
MoiseFlori Aug 29, 2024
4511b7f
Merge pull request #19 from radu2023/update_mobile_menu
radu2023 Aug 29, 2024
fce7fe6
about.css
Irina-Musat Aug 29, 2024
2f59035
Merge pull request #20 from radu2023/Irina-Musat-patch-2
radu2023 Aug 29, 2024
ae2b6e3
Create _about-us.scss
Irina-Musat Aug 29, 2024
8361bfa
Merge pull request #21 from radu2023/Irina-Musat-patch-2
radu2023 Aug 29, 2024
77c6afc
Create about-us.scss
Irina-Musat Aug 29, 2024
b18e4a8
Merge pull request #22 from radu2023/Irina-Musat-patch-2
radu2023 Aug 29, 2024
364a4a8
Create about.scss
Irina-Musat Aug 29, 2024
ced4914
Merge pull request #23 from radu2023/Irina-Musat-patch-3
radu2023 Aug 29, 2024
611d445
adaugat css about-us
radu2023 Aug 29, 2024
a9eee97
update
MoiseFlori Aug 29, 2024
32bfad7
Merge pull request #24 from radu2023/update
radu2023 Aug 29, 2024
aaf25e9
i added favicon
MoiseFlori Aug 30, 2024
9311c53
Merge pull request #25 from radu2023/modify_hero
radu2023 Aug 30, 2024
3ba5013
advantages section
radu2023 Aug 31, 2024
7d1422b
Update rent-yachts.html
petronela88 Sep 3, 2024
c064eca
Update _rent-yachts.scss
petronela88 Sep 3, 2024
0b0218d
Merge pull request #26 from radu2023/rent-yachts
radu2023 Sep 3, 2024
418dd17
modificare sursa imagine rent yachts
radu2023 Sep 3, 2024
ff7b60b
footer and reviews updated
AndreeaDianaa Sep 3, 2024
866f43d
adaugat all sections; errors la images rent si ouryachts
radu2023 Sep 3, 2024
e5b493e
Merge pull request #27 from radu2023/update-footer
radu2023 Sep 3, 2024
1eec24d
modificat rent yacht
radu2023 Sep 3, 2024
ea348f5
modificat rent yachts carduri sub imagini
radu2023 Sep 3, 2024
75a9e9a
add padding bottom la lista card sub imagine our yachts
radu2023 Sep 3, 2024
a035a4e
justify center elemente in rent yachts
radu2023 Sep 3, 2024
d50bbcf
rectify our yachts section
AndreeaDianaa Sep 3, 2024
a80acdb
ajustat section about us
radu2023 Sep 3, 2024
e428d5c
Merge pull request #28 from radu2023/update-yacht-bodgan
radu2023 Sep 3, 2024
ba94465
update
MoiseFlori Sep 3, 2024
03d457d
Merge pull request #29 from radu2023/update_rent_yachts
radu2023 Sep 3, 2024
cb8d911
Merge pull request #30 from radu2023/development
radu2023 Sep 3, 2024
909666d
update
AndreeaDianaa Sep 3, 2024
1ff0925
Merge pull request #31 from radu2023/rent-yachts
radu2023 Sep 3, 2024
0318a86
Configure homepage and build script for GitHub Pages
radu2023 Sep 3, 2024
3d7e291
confirmă modificările
radu2023 Sep 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed assets/actions-config-step-1.png
Binary file not shown.
Binary file removed assets/actions-config-step-2.png
Binary file not shown.
Binary file removed assets/how-it-works.png
Binary file not shown.
Binary file removed assets/repo-settings.png
Binary file not shown.
Binary file removed assets/status.png
Binary file not shown.
276 changes: 162 additions & 114 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"name": "parcel-project-template",
"version": "2.0.0",
"description": "",
"homepage": "https://goitacademy.github.io/parcel-project-template",
"homepage": "https://radu2023.github.io/team-leader-yacht-site-/",
"scripts": {
"start": "parcel src/*.html",
"build": "parcel build src/*.html --public-url /parcel-project-template/"
"build": "parcel build src/*.html --public-url /team-leader-yacht-site-/"
},
"repository": {
"type": "git",
Expand Down
Binary file added src/image/about/about-desc.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/about/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/about/about-mob.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/about/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/about/about-tab.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/about/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/advantages/advantages-desc.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/advantages/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/advantages/advantages-mob.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/advantages/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/advantages/advantages-tab.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/advantages/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/hero/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/hero/hero-desc.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/hero/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/hero/hero-mob.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/hero/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/hero/hero-tab.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/hero/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions src/image/hero/icons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/price/arrow.jpg
Binary file added src/image/price/[email protected]
Binary file added src/image/price/belle.jpg
Binary file added src/image/price/[email protected]
Binary file added src/image/price/benetti.jpg
Binary file added src/image/price/[email protected]
Binary file added src/image/price/line.jpeg
Binary file added src/image/rent/rent-desk-1x.jpg
Binary file added src/image/rent/rent-desk-2x.jpg
Binary file added src/image/rent/rent-mob-1x.jpg
Binary file added src/image/rent/rent-mob-2x.jpg
Binary file added src/image/rent/rent-tab-1x.jpg
Binary file added src/image/rent/rent-tab-2x.jpg
Binary file added src/image/review/ihor.png
Binary file added src/image/review/[email protected]
Binary file added src/image/review/john.png
Binary file added src/image/review/[email protected]
Binary file added src/image/review/victoria.png
Binary file added src/image/review/[email protected]
Binary file removed src/images/logo.png
Diff not rendered.
35 changes: 31 additions & 4 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,41 @@
<html lang="ru">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/png" href="./image/hero/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Page title</title>
<title>YachtJet</title>

<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/modern-normalize/2.0.0/modern-normalize.min.css"
integrity="sha512-4xo8blKMVCiXpTaLzQSLSw3KFOVPWhm/TRtuPVc4WG6kUgjH6J03IBuG7JZPkcWMxJ5huwaBpOpnwYElP/m6wg=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>

<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap"
rel="stylesheet"
/>

<link rel="stylesheet" href="./sass/index.scss" />
<script type="module" src="./index.js"></script>
<script type="module" src="./js/mobile-menu.js"></script>
<script type="module" src="./js/carousel.js" ></script>

</head>

<body>
<h1>Example title</h1>
<!-- ❗️❗️❗️ Add partials like so for every page -->
<include src="./partials/example.html"></include>
<include src="./partials/header.html"></include>
<include src="./partials/mobile-menu.html"></include>
<include src="./partials/hero.html"></include>
<include src="./partials/about-us.html"></include>
<include src="./partials/our-yachts.html"></include>
<include src="./partials/advantages.html"></include>
<include src="./partials/rent-yachts.html"></include>
<include src="./partials/reviews.html"></include>
<include src="./partials/footer.html"></include>
</body>
</html>
39 changes: 39 additions & 0 deletions src/js/carousel.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@

export function rotateReviewsListSection() {
function rotateReviews() {
const reviewsList = document.querySelector('.reviews-list');
const firstItem = reviewsList.firstElementChild;
reviewsList.appendChild(firstItem);
}

function shouldRotateReviews() {
return window.innerWidth <= 1279;
}

// Store initial order of reviews
const initialReviewsOrder = Array.from(
document.querySelectorAll('.reviews-list li')
);

// Initial rotation
rotateReviews();

window.addEventListener('resize', function () {
const reviewsList = document.querySelector('.reviews-list');

if (shouldRotateReviews()) {
rotateReviews();
} else {
reviewsList.innerHTML = '';
initialReviewsOrder.forEach(function (item) {
reviewsList.appendChild(item);
});
}
});

setInterval(function () {
if (shouldRotateReviews()) {
rotateReviews();
}
}, 5000);
}
0 src/index.js → src/js/index.js
100755 → 100644
File renamed without changes.
15 changes: 15 additions & 0 deletions src/js/mobile-menu.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

const modalOpen = document.getElementsByClassName("modal-open")[0];
modalOpen.addEventListener('click', openModal, false);
function openModal() {
document.getElementById("mobile-menu").className = "mobile-menu-container is-open";
}

const modalClose = document.getElementsByClassName("modal-close");
for (let i = 0; i < modalClose.length; i++) {
modalClose[i].addEventListener('click', closeModal, false);
}
function closeModal() {
document.getElementById("mobile-menu").className = "mobile-menu-container";
}

52 changes: 52 additions & 0 deletions src/partials/about-us.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<section class="about-us-section" id="about">
<div class="container about-us-container">
<div class="about-us-section-section-one">
<h2 class="about-us-heading">
YachtJet fleet is here to take you on the ultimate adventure
</h2>
<ul class="about-us-list">
<li class="about-us-item-first">
From spacious decks to state-of-the-art technology, our yachts are
designed to provide the perfect blend of luxury and functionality.
</li>
<li class="about-us-item-second">
Take a look at our selection below and choose the yacht that matches
your needs and preferences.No matter which yacht you choose, our
experienced crew will ensure that your journey is smooth and
enjoyable. Book now and get ready for an unforgettable adventure on
the high seas.
</li>
</ul>
</div>
<div class="about-us-section-section-two">
<picture class="about-us-picture">
<source
srcset="
./image/about/about-desc.jpg 1x,
./image/about/[email protected] 2x
"
media="(min-width: 1280px)"
/>
<source
srcset="
./image/about/about-tab.jpg 1x,
./image/about/[email protected] 2x
"
media="(min-width: 768px)"
/>
<source
srcset="
./image/about/about-mob.jpg 1x,
./image/about/[email protected] 2x
"
media="(max-width: 767px)"
/>
<img
class="about-us-photo"
src="./image/about/about-mob.jpg"
alt="picture yacht"
/>
</picture>
</div>
</div>
</section>
53 changes: 53 additions & 0 deletions src/partials/advantages.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<section class="advantages-section">
<div class="big-container">

<h2 class="visually-hidden">Advantages</h2>

<div class="advantages-container">
<ol class="advantages-list">
<li class="advantage-box">
<span class="number">01</span>
<div class="middle-line"></div>
<p class="text">Swimming and water sports: try your hand at water skiing</p>
</li>
<li class="advantage-box">
<span class="number">02</span>
<div class="middle-line"></div>
<p class="text">Fishing: try to catch your own dinner</p>
</li>
<li class="advantage-box">
<span class="number">03</span>
<div class="middle-line"></div>
<p class="text">Sightseeing tours: take a shore or island tour, enjoy the views and sunsets from the water</p>
</li>
<li class="advantage-box">
<span class="number">04</span>
<div class="middle-line"></div>
<p class="text">Rest and relaxation: read a book or listen to music while enjoying the outdoor atmosphere.</p>
</li>
</ol>
</div>

<img
src="/src/image/advantages/advantages-mob.jpg"
srcset="
/src/image/advantages/advantages-mob.jpg 1x,
/src/image/advantages/[email protected] 2x,
/src/image/advantages/advantages-tab.jpg 768w,
/src/image/advantages/[email protected] 1536w,
/src/image/advantages/advantages-desc.jpg 1280w,
/src/image/advantages/[email protected] 2560w"
sizes="(max-width: 767px) 100vw,
(min-width: 768px) and (max-width: 1279px) 50vw,
(min-width: 1280px) 33vw"
alt="Advantages Image"
class="advantages-image"
/>
</div>
</section>






37 changes: 0 additions & 37 deletions src/partials/example.html

This file was deleted.

59 changes: 59 additions & 0 deletions src/partials/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
<footer class="site-footer">
<div class="footer-container">
<div class="tablet-desktop-container">
<div class="footer-and-sections-container">
<a href="#" class="footer-logo">yachtjet</a>
<ul class="site-sections-list-footer">
<li class="site-section-item"><a href="#">About</a></li>
<li class="site-section-item"><a href="#">Yachts</a></li>
<li class="site-section-item"><a href="#reviews">Reviews</a></li>
</ul>
</div>

<ul class="social-link-list-footer">
<li class="social-link-footer">
<a
class="social-link-footer-icon"
href="https://www.instagram.com/goitclub/"
target="_blank"
>
<svg class="footer-icon" width="24" height="24">
<use href="/src/image/hero/icons.svg#icon-instagram"></use>
</svg>
</a>
</li>
<li class="social-link-footer">
<a
class="social-link-footer-icon"
href="https://www.youtube.com/c/GoIT"
target="_blank"
>
<svg class="footer-icon" width="24" height="24">
<use href="/src/image/hero/icons.svg#icon-youtube"></use>
</svg>
</a>
</li>
<li class="social-link-footer">
<a
class="social-link-footer-icon"
href="https://www.facebook.com/goITclub/"
target="_blank"
>
<svg class="footer-icon" width="24" height="24">
<use href="/src/image/hero/icons.svg#icon-facebook"></use>
</svg>
</a>
</li>
</ul>
</div>

<p class="site-slogan">
No matter which yacht you choose, our experienced crew will ensure that
your journey is smooth and enjoyable.
</p>
<div class="policy-container">
<p class="adventures-privacy">2023. Yacht Adventures</p>
<p class="adventures-privacy">Privacy Police</p>
</div>
</div>
</footer>
47 changes: 47 additions & 0 deletions src/partials/header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<header class="header">
<nav class= " header-container">
<div class="mobile-nav">
<div class="logo-container">
<a href="./index.html" class="header-logo logo"> yachtjet </a>
</div>

<ul class="nav-list">
<li class="nav-item"><a class="nav-link" href="#about-us">About</a></li>
<li class="nav-item"><a class="nav-link" href="#our-yachts">Yachts</a></li>
<li class="nav-item"><a class="nav-link" href="#reviews">Reviews</a></li>
</ul>
<div class="social-icons">
<ul class="social-list">
<li class="social-item">
<a class="social-link" href="https://www.instagram.com/goitclub/">
<svg class="icon" width="24" height="24">
<use href="./image/hero/icons.svg#icon-instagram"></use>
</svg>
</a>
</li>
<li class="social-item">
<a class="social-link" href="https://www.youtube.com/c/GoIT">
<svg class="icon" width="24" height="24">
<use href="./image/hero/icons.svg#icon-youtube"></use>
</svg>
</a>
</li>
<li class="social-item">
<a class="social-link" href="https://www.facebook.com/goITclub/">
<svg class="icon" width="24" height="24">
<use href="./image/hero/icons.svg#icon-facebook"></use>
</svg>
</a>
</li>
</ul>
</div>

<button class="mobile-menu modal-open" type="button" >
<svg class="icon-hamburger-menu" width="28" height="28" aria-label="menu">
<use href="./image/hero/icons.svg#icon-menu"></use>
</svg>
</button>
</div>
</div>
</nav>
</header>
Loading