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

Black and white #7

Draft
wants to merge 35 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
5fcd02d
init
Valdas-Stonkus Jan 15, 2022
e0ad5df
nav added
Valdas-Stonkus Jan 15, 2022
450192b
written start script
Valdas-Stonkus Jan 15, 2022
c3dc5b6
side nav added
Valdas-Stonkus Jan 16, 2022
fd1558e
menu links created
Valdas-Stonkus Jan 16, 2022
a4e80c4
welcome section created
Valdas-Stonkus Jan 16, 2022
1484821
welcome buttons added
Valdas-Stonkus Jan 22, 2022
0923225
buttons added
Valdas-Stonkus Jan 22, 2022
af73b0b
welcome wrapper added
Valdas-Stonkus Jan 23, 2022
70f63d6
welcome section corrected
Valdas-Stonkus Jan 23, 2022
c4eb8d1
work title, description and filter created
Valdas-Stonkus Jan 23, 2022
791e43e
work card container
Valdas-Stonkus Jan 23, 2022
8f311aa
coments deleted
Valdas-Stonkus Jan 23, 2022
2792b13
removed white lines
Valdas-Stonkus Jan 23, 2022
b4d0bb9
change welcome margin style
Valdas-Stonkus Jan 29, 2022
90f779a
change to run dev
Valdas-Stonkus Jan 29, 2022
4adc313
work cards in progress
Valdas-Stonkus Feb 5, 2022
d26ce60
cards in progress
Valdas-Stonkus Feb 5, 2022
e6e13c0
configure package.json
Valdas-Stonkus Feb 5, 2022
6fcb524
add work cards part I
Valdas-Stonkus Feb 5, 2022
62d4bf0
Add work cards to DOM
Valdas-Stonkus Feb 6, 2022
3720abe
Merge pull request #6 from MrStonkus:cards-container
Valdas-Stonkus Feb 6, 2022
71c3e3c
changes
Valdas-Stonkus Feb 6, 2022
ede0edd
Merge branch 'black-and-white' of https://github.com/MrStonkus/portfo…
Valdas-Stonkus Feb 6, 2022
91d6184
style update
Valdas-Stonkus Jun 7, 2022
5b2054f
update from main
Valdas-Stonkus Jun 7, 2022
fbb4ad2
Package update
Valdas-Stonkus Jun 7, 2022
c440f36
add one "npm start" functionality by npm-run-all
Valdas-Stonkus Jun 7, 2022
f25abf1
correct titles
Valdas-Stonkus Jun 7, 2022
b507856
add tag buttons
Valdas-Stonkus Jun 9, 2022
fec5971
Delete .vscode directory
Valdas-Stonkus Jun 11, 2022
16577fe
install
Valdas-Stonkus Jun 11, 2022
5b701c8
Merge branch 'black-and-white' of https://github.com/MrStonkus/portfo…
Valdas-Stonkus Jun 11, 2022
6e5dcc0
Merge branch 'main' of https://github.com/MrStonkus/portfolio into bl…
Valdas-Stonkus Jun 15, 2022
629c73c
workspace update
Valdas-Stonkus Jun 15, 2022
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
13 changes: 13 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [{
"type": "pwa-chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:5500",
"webRoot": "${workspaceFolder}"
}]
}
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# portfolio
This is my personal portfolio. Made from scratch without any library or framework. Just HTML and CSS

This is personal portfolio. Made from scratch without any library or framework. Just HTML CSS and vanilla Javascript.This is my personal portfolio. Made from scratch without any library or framework. Just HTML and CS

`npm start` *to start SASS to CSS converter and watch for changes*
10 changes: 10 additions & 0 deletions classes/work.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
function Work(params) {
this.image = params.image
this.image.src = `../src/work-card-images/${params.image.src}`
this.title = params.title
this.tags = params.tags
this.description = params.description

}

export default Work;
42 changes: 42 additions & 0 deletions database/works_db.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
// work cards data
// you can add more objects to add more work cards
// FIXME before production review all works data!
let woksData = [
{
title: 'Cash register',
tags: ['JavaScipt', 'React'],
description: 'This is card description text. This is card description text. This is card description text.',
image: {
src: 'cash-register.png',
alt: 'Code of cash register',
},
},
{
title: 'Doze calculator',
tags: ['JavaScipt'],
description: 'This is card description text. This is card description text. This is card description text.',
image: {
src: 'doze-calculator.png',
alt: 'Code of doze calculator',
},
},
{
title: 'INR application',
tags: ['JavaScipt', 'HTML&CSS', 'Quasar'],
description: 'This is card description text. This is card description text. This is card description text.',
image: {
src: 'inr-app.png',
alt: 'image text1',
},
},
{
title: 'To-Do app',
tags: ['Python'],
description: 'This is card description text. This is card description text. This is card description text.',
image: {
src: 'to-do.png',
alt: 'image text1',
},
},
]
export default woksData;
11 changes: 11 additions & 0 deletions helpers/dom_helpers.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// insert html before the first child of the given element
function insertToDom(divClass, htmlTemplate, dataArr) {
dataArr.forEach((item) => {
const html = htmlTemplate(item)
document
.querySelector(divClass)
.insertAdjacentHTML('beforeend', html)
})
}

export default insertToDom;
Loading