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

Part4 #3

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
.idea
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/runConfigurations.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# Galeev_Artur
# Galeev_Artur
13 changes: 13 additions & 0 deletions dist/app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// Если нужен такого рода импорт, придется поставить rollup scss plugin
// В остальных случаях все стили подтянет gulp, просто по маске src/styles/**/*.less и скомпилирует их в единый css файл
// import './styles/layout.scss';

function changeTheme() {
let bodyCardClassList = document.querySelector("body").classList;
bodyCardClassList.toggle("dark-theme");
bodyCardClassList.toggle("light-theme");
}

document.addEventListener("DOMContentLoaded", function (event) {
document.body.addEventListener('click', changeTheme);
});
Binary file added dist/assets/face.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 dist/assets/git-logo.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 dist/assets/tg-logo.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 dist/assets/vk-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
55 changes: 55 additions & 0 deletions dist/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Curriculum vitae</title>
<!-- inject:css -->
<link rel="stylesheet" href="./style.css">
<!-- endinject -->
</head>
<body class="light-theme">
<div class="main-card">
<section class="left-part-wrapper">
<div class="left-part_main">
<div class="left-part_photo">
<img class="left-part_photo-img" src="assets/face.jpg" alt="photo"/>
</div>
<div class="left-part_employee-FIO">
Alex Smith
</div>
<div class="left-part_employee-speciality">
Web Designer
</div>
<div class="left-part_social-networks">
<a href="https://www.vk.com/coradead">
<img class="left-part_social-networks-img" src="assets/vk-logo.png" height="24" alt="vk-logo">
</a>
<a href="https://www.telegram.me/coradead">
<img class="left-part_social-networks-img" src="assets/tg-logo.png" height="24" alt="telegram-logo">
</a>
<a href="https://www.github.com/coradead">
<img class="left-part_social-networks-img" src="assets/git-logo.png" height="24" alt="github-logo">
</a>
</div>
<div class="left-part_download">
<button class="left-part_download-button">
Download CV
</button>
</div>
<footer class="left-part_copyright">
&#169 2021 All rights reserved.
</footer>
</div>
</section>
<section class="right-part-wrapper">
<div class="right-part_main">
<div class="right-part_employee-name">Alex Smith</div>
<div class="right-part_employee-position">Web Designer</div>
</div>
</section>
</div>
<!-- inject:js -->
<script src="./app.js"></script>
<!-- endinject -->
</body>
</html>
Loading