Skip to content

Commit

Permalink
Update new icon and json data . .
Browse files Browse the repository at this point in the history
  • Loading branch information
krlan2789 committed Apr 8, 2024
1 parent 06b52d5 commit 66d747b
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 4 deletions.
8 changes: 4 additions & 4 deletions public/data_user.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@
]
},
"learn": {
"title": "Trying to Obtain New <span class=\"text-primary\">Abiliti</span>es",
"description": "New technology is always available, so learning has no end.<br>Some of the technologies I'm studying.",
"title": "Can't Learn All The <span class=\"text-primary\">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": "maxst",
Expand All @@ -154,8 +154,8 @@
"year": 2023
},
{
"name": "kotlin",
"year": 2023
"name": "xamarin",
"year": 2024
}
]
},
Expand Down
10 changes: 10 additions & 0 deletions src/components/icons/Icon.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
<template v-if="isContains(('' + techName).toLowerCase().replace(' ', ''), csharpKeys)">
<CSharpIcon class="text-[#512BD4]"></CSharpIcon>
</template>
<template v-if="isContains(('' + techName).toLowerCase().replace(' ', ''), dotnetKeys)">
<DotnetIcon class="text-[#512BD4]"></DotnetIcon>
</template>
<template v-if="isContains(('' + techName).toLowerCase().replace(' ', ''), xamarinKeys)">
<XamarinIcon class="text-[#3498DB]"></XamarinIcon>
</template>
<template v-if="isContains(('' + techName).toLowerCase().replace(' ', ''), maxstKeys)">
<MaxstIcon class=""></MaxstIcon>
</template>
Expand Down Expand Up @@ -111,6 +117,8 @@ export default {
AndroidstudioIcon: defineAsyncComponent(() => importSVGIcon("Androidstudio")),
ArduinoIcon: defineAsyncComponent(() => importSVGIcon("Arduino")),
CSharpIcon: defineAsyncComponent(() => importSVGIcon("Csharp")),
XamarinIcon: defineAsyncComponent(() => importSVGIcon("Xamarin")),
DotnetIcon: defineAsyncComponent(() => importSVGIcon("Dotnet")),
CodeigniterIcon: defineAsyncComponent(() => importSVGIcon("Codeigniter")),
FirebaseIcon: defineAsyncComponent(() => importSVGIcon("Firebase")),
AppleIcon: defineAsyncComponent(() => importSVGIcon("Apple")),
Expand Down Expand Up @@ -149,6 +157,8 @@ export default {
androidStudioKeys: ["androidstudio", "androidstudioide"],
arduinoKeys: ["arduino", "arduinoide"],
csharpKeys: ["csharp", "c#"],
dotnetKeys: ["dotnet", ".net"],
xamarinKeys: ["xamarin"],
codeigniterKeys: ["codeigniter", "ci"],
firebaseKeys: ["firebase"],
appleKeys: ["apple", "ios", "macos"],
Expand Down
16 changes: 16 additions & 0 deletions src/components/icons/svg/Dotnet.svg.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<template>
<svg role="img" width="100%" class="fill-current" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<title>.NET</title>
<path
d="M24 8.77h-2.468v7.565h-1.425V8.77h-2.462V7.53H24zm-6.852 7.565h-4.821V7.53h4.63v1.24h-3.205v2.494h2.953v1.234h-2.953v2.604h3.396zm-6.708 0H8.882L4.78 9.863a2.896 2.896 0 0 1-.258-.51h-.036c.032.189.048.592.048 1.21v5.772H3.157V7.53h1.659l3.965 6.32c.167.261.275.442.323.54h.024c-.04-.233-.06-.629-.06-1.185V7.529h1.372zm-8.703-.693a.868.829 0 0 1-.869.829.868.829 0 0 1-.868-.83.868.829 0 0 1 .868-.828.868.829 0 0 1 .869.829Z"
/>
</svg>
</template>

<script>
export default {
name: "DotnetIcon",
};
</script>

<!-- #512BD4 -->
16 changes: 16 additions & 0 deletions src/components/icons/svg/Xamarin.svg.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<template>
<svg role="img" width="100%" class="fill-current" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<title>Xamarin</title>
<path
d="M6.925 1.323a1.904 1.904 0 00-1.609.93L.241 11.07a1.918 1.918 0 000 1.862l5.075 8.816c.326.56.96.929 1.609.93h10.15a1.904 1.904 0 001.609-.93l5.075-8.816a1.918 1.918 0 000-1.862l-5.075-8.816a1.904 1.904 0 00-1.609-.93zm.092 5.157a.22.22 0 01.043 0h1.75a.23.23 0 01.192.114l2.97 5.292a.228.228 0 01.028.086.228.228 0 01.028-.086l2.963-5.292a.231.231 0 01.198-.114h1.751c.155.002.271.197.199.334L14.239 12l2.9 5.179c.08.138-.04.342-.199.34h-1.75a.232.232 0 01-.2-.12l-2.962-5.292A.228.228 0 0112 12.02a.228.228 0 01-.028.086l-2.97 5.292a.231.231 0 01-.192.12H7.06c-.16.002-.278-.202-.199-.34L9.761 12l-2.9-5.186c-.07-.125.015-.307.156-.334Z"
/>
</svg>
</template>

<script>
export default {
name: "XamarinIcon",
};
</script>

<!-- #3498DB -->

0 comments on commit 66d747b

Please sign in to comment.