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

CV #6

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

CV #6

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
104 changes: 104 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache

# Next.js build output
.next

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and *not* Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port
34 changes: 34 additions & 0 deletions .htmlhintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"doctype-first": true,
"doctype-html5": true,
"head-script-disabled": true,
"style-disabled": true,
"title-require": true,

"attr-lowercase": ["viewBox", "preserveAspectRatio"],
"attr-no-duplication": true,
"attr-no-unnecessary-whitespace": true,
"attr-unsafe-chars": true,
"attr-value-double-quotes": true,
"attr-value-not-empty": false,
"alt-require": true,
"input-requires-label": false,

"tags-check": false,
"tag-pair": true,
"tag-self-close": false,
"tagname-lowercase": true,
"empty-tag-not-self-closed": false,
"src-not-empty": true,
"href-abs-or-rel": false,

"id-class-ad-disabled": false,
"id-class-value": false,
"id-unique": true,

"inline-script-disabled": false,
"inline-style-disabled": true,

"space-tab-mixed-disabled": "space",
"spec-char-escape": true
}
1 change: 1 addition & 0 deletions .stylelintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.css
12 changes: 12 additions & 0 deletions .stylelintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module.exports = {
extends: ["stylelint-config-standard",
"stylelint-config-rational-order"],
plugins: ["stylelint-order", "stylelint-scss"],
rules: {
"indentation": 4,
"at-rule-no-unknown": [true, {
"ignoreAtRules": ["include", "mixin", "extend", "use"],
}],
"number-leading-zero": ["never"],
}
};
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"scss.validate": false,
"css.validate": false,
"less.validate": false,
}
1 change: 0 additions & 1 deletion README.md

This file was deleted.

Binary file added assets/img/github-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 assets/img/museum.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 assets/img/photo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/img/rs_school_js.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 assets/img/slider.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 assets/img/video-player.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 36 additions & 0 deletions console.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
// Самооценка:
const headerStyle = 'font-weight: bold; font-size: 28px; color: gray;';
const subheaderStyle = 'font-weight: bold; font-size: 18px; color: #6d6d6d;'

const alertStyle = 'font-weight: bold; font-size: 30px; color: red;';

console.log('%c Самооценка 140 / 150:', headerStyle);

console.log('✔ - вёрстка валидная +10');
console.log('✔ - вёрстка семантическая +20');
console.log(' В коде страницы присутствуют следующие семантические теги HTML5: (24 балла)');
console.log(' - header +2;');
console.log(' - nav +2;');
console.log(' - main +2;');
console.log(' - section +2;');
console.log(' - h1 +2;');
console.log(' - h2 +2;');
console.log(' - h3 +2;');
console.log(' - h4 +2;');
console.log(' - em +2;');
console.log(' - code +2;');
console.log(' - article +2;');
console.log(' - footer +2;');
console.log('✔ - для оформления СV используются css-стили +10');
console.log('✔ - контент размещается в блоке, который горизонтально центрируется на странице. Фоновый цвет, если он есть, тянется во всю ширину страницы +10');
console.log('✔ - вёрстка адаптивная +10');
console.log('✔ - есть адаптивное бургер-меню, при кликах по пунктам меню реализована плавная прокрутка по якорям +10');
console.log('✔ - на странице СV присутствует изображение - фото +10');
console.log('✔ - контакты для связи и перечень навыков оформлены в виде списка ul > li +10');
console.log('✔ - CV содержит контакты для связи, краткую информацию о себе, перечень навыков, информацию об образовании и уровне английского +10');
console.log('✔ - CV содержит пример кода с подсветкой кода +10');
console.log('✔ - CV содержит изображения-ссылки на выполненные проекты, у каждого проекта есть название, небольшое описание, указан перечень используемых технологий +10');
console.log('✔ - CV выполнено на английском языке +10');
console.log('✔ - выполнены требования к Pull Request +10');
console.log('❌ - есть видеорезюме автора CV на английском языке');
console.log('❓ - дизайн, оформление, качество выполнения CV не ниже чем в примерах CV, приведённых в материалах к заданию');
21 changes: 21 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
const { src, dest, watch: gulpWatch } = require('gulp');
const sass = require('gulp-sass')(require('sass'));
const autoprefixer = require('gulp-autoprefixer');

function scss() {
return src('./scss/styles.scss')
.pipe(sass({
indentWidth: 4,
}))
.pipe(autoprefixer({
overrideBrowserslist: ['last 2 versions'],
}))
.pipe(dest('./'));
}

function watch() {
gulpWatch('./scss/**/*.scss', scss);
}

exports.build = scss;
exports.watch = watch;
Loading