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

header-hero #1683

Open
wants to merge 85 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
62f8d7f
Update package.json
MatacheAlexandru Apr 2, 2024
973a0da
Products
Iri20 Apr 8, 2024
32f6992
Add Contact Part
ellamm Apr 9, 2024
c5bf320
Add arrow and gap
ellamm Apr 9, 2024
a9e9f3e
create contacts section
ellamm Apr 9, 2024
67a4a30
footer 10.04.24/2
Gyongyie Apr 10, 2024
00067a5
footer - finish
Gyongyie Apr 10, 2024
43df354
test
Gyongyie Apr 10, 2024
7f480b8
test1
Gyongyie Apr 10, 2024
9c21967
test3
Gyongyie Apr 10, 2024
6cf17eb
Small updates
ellamm Apr 12, 2024
19f176f
Remove general files
ellamm Apr 12, 2024
01a9b46
Update more specific styling
ellamm Apr 13, 2024
43410bb
update arrow color on hover
ellamm Apr 13, 2024
65d679f
test1
MatacheAlexandru Apr 14, 2024
b94cd20
test1 commit
MatacheAlexandru Apr 14, 2024
c862007
Merge branch 'main' of https://github.com/MatacheAlexandru/Project-Te…
MatacheAlexandru Apr 14, 2024
2195927
test costumers
MatacheAlexandru Apr 14, 2024
b6177bb
test costumers 2
MatacheAlexandru Apr 14, 2024
40fe93e
test costumers contacts
MatacheAlexandru Apr 14, 2024
ae7bc66
test costumers-contacs-footer
MatacheAlexandru Apr 14, 2024
845b1b9
test commit costumers contacts footer 2
MatacheAlexandru Apr 14, 2024
f240705
Change body to section styling
ellamm Apr 14, 2024
f073c6a
footer 14.04.24
Gyongyie Apr 14, 2024
37ee82f
commit in main white new settings about coding
MatacheAlexandru Apr 14, 2024
5094bff
test-3
MatacheAlexandru Apr 14, 2024
4151dd5
4 task in working
MatacheAlexandru Apr 14, 2024
f130754
header-hero latest version
rroxi1107 Apr 14, 2024
419a11e
test5
MatacheAlexandru Apr 15, 2024
2105d4d
products
Iri20 Apr 15, 2024
1927208
am adaugat stiluri pentru laptop
Iri20 Apr 15, 2024
f2820bd
Update products.css
Iri20 Apr 15, 2024
caf7f95
Add background
ellamm Apr 16, 2024
214c8cf
remove index modifications
ellamm Apr 16, 2024
9b3c0f9
remove index changes
ellamm Apr 16, 2024
5e670aa
commit products
MatacheAlexandru Apr 16, 2024
edaba2a
a
IonescuIBogdan Apr 17, 2024
cb0e558
update modal
ellamm Apr 17, 2024
1a353f0
commit-final test
MatacheAlexandru Apr 18, 2024
d73f1e1
test12
MatacheAlexandru Apr 18, 2024
0224850
refresh project
MatacheAlexandru Apr 18, 2024
467f1f3
Merge remote-tracking branch 'upstream/main'
Gyongyie Apr 18, 2024
5e163b4
18.04.24
Gyongyie Apr 18, 2024
f55709c
Merge pull request #8 from Gyongyie/main
MatacheAlexandru Apr 18, 2024
fc0a3c2
refresh project in main
MatacheAlexandru Apr 18, 2024
f7304f7
Merge branch 'main' of https://github.com/MatacheAlexandru/Project-Te…
MatacheAlexandru Apr 18, 2024
5430a80
18.04.24/2
Gyongyie Apr 18, 2024
d1f8553
refresh project in main 2
MatacheAlexandru Apr 18, 2024
a542586
Merge branch 'main' into main
MatacheAlexandru Apr 18, 2024
efb2904
Merge pull request #9 from Gyongyie/main
MatacheAlexandru Apr 18, 2024
c378891
test 13
MatacheAlexandru Apr 18, 2024
167f7c7
test14
MatacheAlexandru Apr 18, 2024
fa297ad
18.04.24/3
Gyongyie Apr 18, 2024
1f3b8dd
Merge branch 'main' of https://github.com/Gyongyie/Project-TeamWork
Gyongyie Apr 18, 2024
3cad8cd
18.04.24/4
Gyongyie Apr 18, 2024
967fb9e
Merge pull request #10 from Gyongyie/main
MatacheAlexandru Apr 18, 2024
4f5b920
Merge remote-tracking branch 'upstream/main'
IonescuIBogdan Apr 18, 2024
4468b9f
gallery commit
IonescuIBogdan Apr 18, 2024
85cf118
Merge pull request #11 from IonescuIBogdan/main
MatacheAlexandru Apr 18, 2024
cbac92f
Merge pull request #12 from ellamm/contacts
MatacheAlexandru Apr 18, 2024
a6d7e6c
commit test
MatacheAlexandru Apr 18, 2024
115b0ef
Merge branch 'main' of https://github.com/ellamm/Project-TeamWork
ellamm Apr 18, 2024
18933af
remove space between sections
ellamm Apr 18, 2024
35564db
remove modal
ellamm Apr 18, 2024
910b3c1
remove from index.scss
ellamm Apr 18, 2024
56b13d4
Merge pull request #13 from ellamm/contact_update
MatacheAlexandru Apr 18, 2024
d5f06b4
1
simonacatrini Apr 18, 2024
581e14e
2
simonacatrini Apr 18, 2024
b7e2907
Merge pull request #14 from simonacatrini/main
MatacheAlexandru Apr 18, 2024
053baf6
commit 4 tasks
MatacheAlexandru Apr 18, 2024
a132da4
products
Iri20 Apr 18, 2024
37d650d
Update index.html
Iri20 Apr 18, 2024
9994edc
Merge pull request #16 from Iri20/main
MatacheAlexandru Apr 18, 2024
45de25e
commit 5 tasks
MatacheAlexandru Apr 18, 2024
f507f75
Update
DumLiviu Apr 18, 2024
816f765
Merge pull request #20 from DumLiviu/main
MatacheAlexandru Apr 18, 2024
c43d66f
update
rroxi1107 Apr 18, 2024
265850c
Merge pull request #21 from rroxi1107/main
MatacheAlexandru Apr 18, 2024
59bba60
commit 7 tasks
MatacheAlexandru Apr 18, 2024
4c0b773
update 14:30
rroxi1107 Apr 19, 2024
9f852f5
Merge pull request #22 from rroxi1107/main
MatacheAlexandru Apr 19, 2024
3f6927e
Modificare Modal JavaS
DumLiviu Apr 19, 2024
4ba392b
Update Contacts
DumLiviu Apr 19, 2024
234728c
Merge pull request #23 from DumLiviu/main
MatacheAlexandru Apr 19, 2024
6eb8aa9
Final project
MatacheAlexandru Apr 19, 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
171 changes: 87 additions & 84 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://github.com/MatacheAlexandru/Project-TeamWork.git",
"scripts": {
"start": "parcel src/*.html",
"build": "parcel build src/*.html --public-url /parcel-project-template/"
"build": "parcel build src/*.html --public-url /Project-TeamWork/"
},
"repository": {
"type": "git",
Expand Down
13 changes: 13 additions & 0 deletions src/about-modal.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
document.addEventListener('DOMContentLoaded', function() {
const openModalBtn = document.querySelector(".read-more-btn");
const closeModalBtn = document.querySelector(".close-btn");
const modal = document.querySelector("[data-modal-target]");

openModalBtn.addEventListener("click", function() {
modal.classList.remove("hidden-modal");
});

closeModalBtn.addEventListener("click", function() {
modal.classList.add("hidden-modal");
});
});
54 changes: 54 additions & 0 deletions src/header-hero.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
// (() => {
// const mobileMenu = document.querySelector('.js-menu-container');
// const openMenuBtn = document.querySelector('.js-open-menu');
// const closeMenuBtn = document.querySelector('.js-close-menu');

// const toggleMenu = () => {
// const isMenuOpen =
// openMenuBtn.getAttribute('aria-expanded') === 'true' || false;
// openMenuBtn.setAttribute('aria-expanded', !isMenuOpen);
// mobileMenu.classList.toggle('is-open');

// const scrollLockMethod = !isMenuOpen
// ? 'disableBodyScroll'
// : 'enableBodyScroll';
// bodyScrollLock[scrollLockMethod](document.body);
// };


// openMenuBtn.addEventListener('click', toggleMenu);
// closeMenuBtn.addEventListener('click', toggleMenu);

// // Close the mobile menu on wider screens if the device orientation changes
// window.matchMedia('(min-width: 768px)').addEventListener('change', e => {
// if (!e.matches) return;
// mobileMenu.classList.remove('is-open');
// openMenuBtn.setAttribute('aria-expanded', false);
// bodyScrollLock.enableBodyScroll(document.body);
// });
// })();

document.addEventListener("DOMContentLoaded", function() {
const mobileMenu = document.querySelector('.js-menu-container');
const openMenuBtn = document.querySelector('.js-open-menu');
const closeMenuBtn = document.querySelector('.js-close-menu');

const toggleMenu = () => {
const isMenuOpen = openMenuBtn.getAttribute('aria-expanded') === 'true' || false;
openMenuBtn.setAttribute('aria-expanded', !isMenuOpen);
mobileMenu.classList.toggle('is-open');

const scrollLockMethod = !isMenuOpen ? 'disableBodyScroll' : 'enableBodyScroll';
bodyScrollLock[scrollLockMethod](document.body);
};

openMenuBtn.addEventListener('click', toggleMenu);
closeMenuBtn.addEventListener('click', toggleMenu);


window.matchMedia('(min-width: 768px)').addEventListener('change', () => {
mobileMenu.classList.remove('is-open');
openMenuBtn.setAttribute('aria-expanded', false);
bodyScrollLock.enableBodyScroll(document.body);
});
});
Binary file added src/images/about-modal-bg.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/images/about-section-bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/images/advantages-icon1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions src/images/advantages-icon2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/images/advantages-icon3.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/images/arrow-right 3 (1).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions src/images/arrow-right.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/images/contacts-section-divider.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/images/cow png.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading