Skip to content

Commit

Permalink
from html css only into vue js data
Browse files Browse the repository at this point in the history
  • Loading branch information
masdzub committed Nov 17, 2023
1 parent b066c08 commit ecbb363
Show file tree
Hide file tree
Showing 5 changed files with 408 additions and 474 deletions.
14 changes: 14 additions & 0 deletions assets/darkmode.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
const themeToggle = document.getElementById("theme-toggle");
const htmlElement = document.documentElement;

themeToggle.addEventListener("click", () => {
if (htmlElement.classList.contains("dark")) {
htmlElement.classList.remove("dark");
htmlElement.style.colorScheme = "light";
themeToggle.innerHTML = '<i class="far fa-sun"></i>';
} else {
htmlElement.classList.add("dark");
htmlElement.style.colorScheme = "dark";
themeToggle.innerHTML = '<i class="far fa-moon"></i>';
}
});
207 changes: 207 additions & 0 deletions assets/data.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,207 @@


// script.js
new Vue({
el: '#app',
data: {
fullName: 'Dzubayyan Ahmad',
jobTitle: 'Senior Technical Support Specialist',
email: '[email protected]',
phoneNumber: '+62 881 08 000 81 80',
website: 'https://masdzub.com',
gravatarURL: 'https://www.gravatar.com/avatar/509d3b6019d078eb39f42d51e7024abc?s=300',
description: 'Technical Support Specialist, Half Sysadmin based in Yogyakarta, Indonesia',

skillsData: {
basic: [
'Linux Server',
'CMS Wordpress',
'Networking',
'Webserver',
'cPanel & WHM'
],
automationAndScripting: [
'Ansible',
'Bash',
'Python',
'Docker',
'PHP',
'NodeJS',
'NuxtJS'
],
extra: [
'Photoshop',
'Word Office',
'Power Point'
]
},
experiences: [
{
title: 'Sr. Technical Support Specialist',
company: '@DomaiNesia',
companyLink: 'https://domainesia.com',
startDate: '2022/10',
endDate: 'Present',
description: 'Render technical advice, support, and assistance to various organizations and consumers for technical and software problems, also deal with end-users directly and effectively communicate answers in an understandable manner.'
},
{
title: 'Technical Support Specialist',
company: '@DomaiNesia',
companyLink: 'https://domainesia.com',
startDate: '2019/03',
endDate: '2022/10',
description: 'Render technical advice, support, and assistance to various organizations and consumers for technical and software problems, also deal with end-users directly and effectively communicate answers in an understandable manner.'
},
{
title: 'System Administrator',
company: '@Manage Server Indonesia',
companyLink: '#',
startDate: '2020/04',
endDate: '2021/13',
description: 'Manage and maintenance server infrastructure and our server client.'
},
{
title: 'Linux System Administrator',
company: '@Teras Code Digital',
companyLink: 'https://terascode.com',
startDate: '2018/07',
endDate: '2019/06',
description: 'Managed daily activities to include user support and system administration task, Managed the day to day IT troubleshooting for users both locally and remotely.'
},
{
title: 'Training Development Staff',
company: '@Teras Code Digital',
companyLink: 'https://terascode.com',
startDate: '2018/04',
endDate: '2019/16',
description: 'Identify training and development needs within an organisation through job analysis, appraisal schemes and regular consultation with business managers and human resources departments.'
},
{
title: 'Assistant Lecture',
company: '@Amikom University Of Yogyakarta',
companyLink: 'https://amikom.ac.id',
startDate: '2017/09',
endDate: '2018/07',
description: 'Supervise the work of students, provide advice on study skills and help them with learning pro, Teach as a member of a teaching team within an established programme of study.'
},
{
title: 'Photographer',
company: '@Albatros Photography',
companyLink: '#',
startDate: '2016/04',
endDate: '2016/09',
description: 'Take photos of clients or objects in studio environments.'
},
// Add other experiences as needed...
],
certifications: [
{
title: 'cPanel Professional Certification (CPP) From cPanel',
validationLink: 'https://university.cpanel.net/certificate/290f-0d9e-c6ab-4dad',
startDate: '2020',
endDate: 'Now'
},
{
title: 'cPanel & WHM Sales Professional (CPSP) From cPanel',
validationLink: 'https://university.cpanel.net/certificate/c886-aa62-89f1-53e1',
startDate: '2021',
endDate: 'Now'
},
{
title: 'cPanel & WHM Administrator Certification (CWA) From cPanel',
validationLink: 'https://university.cpanel.net/certificate/dc80-bac7-81fa-28e9',
startDate: '2020',
endDate: 'Now'
},
{
title: 'cPanel & WHM System Administrator I (CWSA-1) From cPanel',
validationLink: 'https://university.cpanel.net/certificate/091d-3432-a27e-47c6',
startDate: '2020',
endDate: 'Now'
},
{
title: 'cPanel & WHM Sales Professional (CPSP) From cPanel',
validationLink: 'https://university.cpanel.net/certificate/c886-aa62-89f1-53e1',
startDate: '2021',
endDate: 'Now'
},
{
title: 'cPanel & WHM Sales Professional (CPSP) From cPanel',
validationLink: 'https://university.cpanel.net/certificate/c886-aa62-89f1-53e1',
startDate: '2021',
endDate: 'Now'
},
{
title: 'cPanel & WHM System Administrator II (CWSA-2) From cPanel',
validationLink: 'https://university.cpanel.net/certificate/ce77-1003-fc3c-f92c',
startDate: '2020',
endDate: 'Now'
},
{
title: 'LiteSpeed Certification From cPanel',
validationLink: 'https://university.cpanel.net/certificate/c552-b77a-6697-ddcd',
startDate: '2021',
endDate: 'Now'
},
{
title: 'Imunify360 Certification From cPanel',
validationLink: 'https://university.cpanel.net/certificate/c026-abac-3df2-2f95',
startDate: '2023',
endDate: 'Now'
},
{
title: 'JetBackup 4 Certification From cPanel',
validationLink: 'https://university.cpanel.net/certificate/042d-7426-83dd-2ccf',
startDate: '2023',
endDate: 'Now'
},
{
title: 'JetBackup 5 Certification From cPanel',
validationLink: 'https://university.cpanel.net/certificate/0e8c-2ac3-ae9b-a1ea',
startDate: '2023',
endDate: 'Now'
},
{
title: 'cPanel Certified Partner Accreditation (CPCP) From cPanel',
validationLink: 'https://university.cpanel.net/certificate/1ddf-2e94-4bdf-3673',
startDate: '2023',
endDate: 'Now'
},
// Add other certifications as needed...
],
educations: [
{
field: 'Informatics Engineering',
institution: 'University of Amikom Yogyakarta',
startDate: '2016',
endDate: '2019'
},
{
field: 'Computer and Network Engineering',
institution: 'SMK Negeri 1 Boyolali',
startDate: '2013',
endDate: '2016'
},
// Add other education items as needed...
],
interests: [
'Music',
'Podcast',
'Kdrama',
'Anime',
'Video Games',
'Blogging',
'Reading'
],
interestClass: 'inline-flex mr-2 text-xs font-semibold text-opacity-70 text-black border px-1 rounded border-purple-100 bg-purple-50 dark:border-gray-900 dark:bg-gray-600'
},
methods: {
getInterestClasses(index) {
return {
[this.interestClass]: true
};
}
}
});


53 changes: 53 additions & 0 deletions assets/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@


.toggle-button {
position: fixed;
top: 20px;
right: 20px;
z-index: 999;
cursor: pointer;
font-size: 20px;
}

.dark {
background-color: #1a202c;
color: white;
transition: background-color 1s, color 0.5s;
/* Efek transisi */
}

/* Add styles for the preloader */
.preloader {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #ffffff;
/* Change this to your desired background color */
display: flex;
justify-content: center;
align-items: center;
z-index: 9999;
}

.loader {
border: 4px solid #f3f3f3;
/* Light grey */
border-top: 4px solid #3498db;
/* Blue */
border-radius: 50%;
width: 50px;
height: 50px;
animation: spin 2s linear infinite;
}

@keyframes spin {
0% {
transform: rotate(0deg);
}

100% {
transform: rotate(360deg);
}
}
Loading

0 comments on commit ecbb363

Please sign in to comment.