Skip to content

Commit

Permalink
Update some data structure, custom scrollbar, and some UI . .
Browse files Browse the repository at this point in the history
  • Loading branch information
krlan2789 committed Nov 17, 2024
1 parent 99f600f commit b01cccb
Show file tree
Hide file tree
Showing 37 changed files with 577 additions and 196 deletions.
65 changes: 63 additions & 2 deletions package-lock.json

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

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"moment": "^2.30.1",
"vue": "^3.5.12",
"vue-clipboard3": "^2.0.0",
"vue-i18n": "^10.0.4",
"vue-router": "^4.4.5"
},
"devDependencies": {
Expand All @@ -41,4 +42,4 @@
"vite-plugin-vue-devtools": "^7.5.4",
"vue-tsc": "^2.1.10"
}
}
}
219 changes: 146 additions & 73 deletions public/data_user.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
}
},
"history": {
"title": "How Did I <span class=\"text-primary dark:text-primaryDark\">Reach</span> This Moment",
"description": "Having work experience in various fields.<br>Because as long as the final goal can be achieved the process can adapt to the current situation.",
"title": "Why am I Still <span class=\"text-primary dark:text-primaryDark\">Here</span> ?",
"description": "Having work experience in various fields.<br>As long as the goals can be achieved, the process can adapt to the current situation.",
"timeline": [
{
"id": 5,
Expand Down Expand Up @@ -115,77 +115,150 @@
}
]
},
"skill": {
"title": "There Are Many Things That Aren't My <span class=\"text-primary dark:text-primaryDark\">Ability</span>",
"description": "Some of the skills that I can do and how long I have used them.<br>I also use it quite often in work and personal projects.",
"topics": [
{
"name": "unity",
"title": "Unity3D",
"year": 2017
},
{
"name": "csharp",
"title": "C#",
"year": 2017
},
{
"name": "arduino",
"title": "Arduino",
"year": 2021
},
{
"name": "php",
"title": "PHP",
"year": 2018
},
{
"name": "postgresql",
"title": "PostgreSQL",
"year": 2021
},
{
"name": "vue",
"title": "Vue.js",
"year": 2023
},
{
"name": "expressjs",
"title": "Express.js",
"year": 2021
},
{
"name": "tailwind",
"title": "Tailwind CSS",
"year": 2023
}
]
},
"learn": {
"title": "Can't Learn All The <span class=\"text-primary dark:text-primaryDark\">Technology</span>",
"description": "There are many abilities that I can't do, so learning has no end.<br>Some of the technologies I'm studying.",
"topics": [
{
"name": "docker",
"title": "Docker",
"year": 2024
},
{
"name": "laravel",
"title": "Laravel",
"year": 2022
},
{
"name": "vue",
"title": "Vue.js",
"year": 2023
},
{
"name": "dotnet",
"title": ".NET MAUI",
"year": 2024
}
]
"ability": {
"tooltip": "Proficiency scale based on <a href=\"https://hr.nih.gov/working-nih/competencies/competencies-proficiency-scale\" class=\"lan-link-secondary underline\" target=\"_blank\">NIH Proficiency Scale</a>",
"skill": {
"title": "There Are Many Things That Aren't My <span class=\"text-primary dark:text-primaryDark\">Skills</span>",
"description": "Some of the skills that I can do,<br> also use it quite often in work and personal projects.",
"topics": [
{
"name": "csharp",
"title": "C#",
"year": 2017,
"level": "ADVANCED"
},
{
"name": "unity",
"title": "Unity3D",
"year": 2017,
"level": "ADVANCED",
"urlInfo": "https://unity.com/"
},
{
"name": "maxst",
"title": "Maxst",
"year": 2022,
"level": "NOVICE",
"urlInfo": "https://maxst.com/"
},
{
"name": "php",
"title": "PHP",
"year": 2018,
"level": "INTERMEDIATE"
},
{
"name": "postgresql",
"title": "PostgreSQL",
"year": 2021,
"level": "INTERMEDIATE"
},
{
"name": "mysql",
"title": "MySQL",
"year": 2018,
"level": "INTERMEDIATE"
},
{
"name": "tailwind",
"title": "Tailwind CSS",
"year": 2023,
"level": "INTERMEDIATE",
"urlInfo": "https://tailwindcss.com/"
},
{
"name": "node",
"title": "Node.js",
"year": 2021,
"level": "INTERMEDIATE"
},
{
"name": "javascript",
"title": "JavaScript",
"year": 2020,
"level": "INTERMEDIATE"
},
{
"name": "typescript",
"title": "TypeScript",
"year": 2023,
"level": "INTERMEDIATE"
},
{
"name": "expressjs",
"title": "Express.js",
"year": 2021,
"level": "NOVICE",
"urlInfo": "https://expressjs.com/"
},
{
"name": "cpp",
"title": "C++",
"year": 2016,
"level": "NOVICE"
},
{
"name": "arduino",
"title": "Arduino",
"year": 2021,
"level": "NOVICE",
"urlInfo": "https://www.arduino.cc/"
},
{
"name": "firebase",
"title": "Firebase",
"year": 2021,
"level": "NOVICE",
"urlInfo": "https://firebase.google.com/"
}
]
},
"learn": {
"title": "Can't Learn All The <span class=\"text-primary dark:text-primaryDark\">Technology</span>",
"description": "There are many skills that I can't do, so learning has no end.<br>Some interesting technologies that I learned about.",
"topics": [
{
"name": "vue",
"title": "Vue.js",
"year": 2023,
"level": "NOVICE",
"urlInfo": "https://vuejs.org/"
},
{
"name": "dotnet",
"title": ".NET MAUI",
"year": 2024,
"level": "BASIC",
"urlInfo": "https://dotnet.microsoft.com/en-us/apps/maui"
},
{
"name": "laravel",
"title": "Laravel",
"year": 2022,
"level": "NOVICE",
"urlInfo": "https://laravel.com/"
},
{
"name": "kotlin",
"title": "Kotlin",
"year": 2023,
"level": "NOVICE"
},
{
"name": "docker",
"title": "Docker",
"year": 2024,
"level": "BASIC",
"urlInfo": "https://www.docker.com/"
},
{
"name": "python",
"title": "Python",
"year": 2020,
"level": "NOVICE"
}
]
}
},
"portfolio": {
"title": "Can't Learn All The <span class=\"text-primary dark:text-primaryDark\">Technology</span>",
Expand Down
18 changes: 17 additions & 1 deletion src/assets/css/tailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,18 @@
font-family: "Roboto Mono", monospace;
}

*::-webkit-scrollbar {
@apply p-1 w-2;
}

*::-webkit-scrollbar-track {
@apply bg-tertiary dark:bg-tertiaryDark;
}

*::-webkit-scrollbar-thumb {
@apply rounded-full bg-primary dark:bg-primaryDark hover:bg-primary/90 dark:hover:bg-primaryDark/90;
}

button {
@apply outline-none;
}
Expand Down Expand Up @@ -256,12 +268,16 @@
@apply text-tertiary dark:text-tertiaryDark border-tertiary dark:border-tertiaryDark transition duration-1000 hover:duration-300 hover:border-primary dark:hover:border-primaryDark hover:bg-tertiary dark:hover:bg-tertiaryDark hover:text-primary dark:hover:text-primaryDark;
}

.lan-text-danger {
@apply text-danger dark:text-danger border-danger dark:border-danger transition duration-1000 hover:duration-300 hover:border-tertiary dark:hover:border-tertiaryDark hover:bg-danger dark:hover:bg-danger hover:text-tertiary dark:hover:text-tertiaryDark;
}

.lan-link-primary {
@apply transition duration-1000 text-primary dark:text-primaryDark hover:duration-300 hover:text-secondaryDark dark:hover:text-secondaryDark;
}

.lan-50-to-100 {
@apply opacity-50 transition duration-1000 hover:duration-300 hover:opacity-100;
@apply opacity-100 sm:opacity-50 transition duration-1000 hover:duration-300 hover:opacity-100;
}

.lan-button-primary {
Expand Down
4 changes: 4 additions & 0 deletions src/components/CardProfileComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@
</svg>
</span>
{{ data.socialMedia.email }}
<span class="h-full aspect-square">
<NewTabIcon></NewTabIcon>
</span>
</a>
</transition>

Expand All @@ -93,6 +96,7 @@ import { inject } from 'vue';
import SocialMediaComponent from "./SocialMediaComponent.vue";
import DataUserSymbol from '@/helper/symbols/DataUserSymbol';
import NamePartSymbol from '@/helper/symbols/NamePartSymbol';
import NewTabIcon from './icons/NewTabIcon.vue';
const data = inject(DataUserSymbol);
const namePart = inject(NamePartSymbol);
Expand Down
Loading

0 comments on commit b01cccb

Please sign in to comment.