-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2a539b9
commit 8a8321b
Showing
17 changed files
with
492 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
module.exports = [ | ||
{ | ||
name: "Udemy", | ||
desc: "Online Courses - Learn Anything, On Your Schedule", | ||
link: "https://www.udemy.com/", | ||
tags: ["פלטפורמת הלימודים הגדולה בעולם"], | ||
color: "#e95252", | ||
}, | ||
{ | ||
name: "Coursera", | ||
desc: "Build Skills with Online Courses from Top Institutions", | ||
link: "https://www.coursera.org/", | ||
tags: ["חלק מהקורסים בחינם"], | ||
color: "#4689c6", | ||
}, | ||
{ | ||
name: "Codecademy", | ||
desc: "Learn to code - for Free", | ||
link: "https://www.codecademy.com/", | ||
tags: ["חלק מהקורסים בחינם", "לימוד אינטראקטיבי"], | ||
color: "#6101e4", | ||
}, | ||
{ | ||
name: "Khan Academy", | ||
desc: "Free Online Courses, Lessons & Practice", | ||
link: "https://www.khanacademy.org/", | ||
tags: ["בחינם"], | ||
color: "#2db08e", | ||
}, | ||
{ | ||
name: "To Code", | ||
desc: "קורסים מקצועיים למפתחים אונליין ובעברית", | ||
link: "https://www.tocode.co.il/", | ||
tags: ["עברית", "וובינרים"], | ||
color: "#ef5816", | ||
}, | ||
{ | ||
name: "Webmaster", | ||
desc: "תיכנות ובניית אתרים", | ||
link: "https://webmaster.org.il/", | ||
tags: ["עברית"], | ||
color: "#e65000", | ||
}, | ||
{ | ||
name: "המרכז לחינוך סייבר", | ||
desc: "המרכז לחינוך סייבר", | ||
link: "https://cyber.org.il/", | ||
tags: ["עברית", "קורסים מקוונים", "ספרים דיגטליים"], | ||
color: "#2b9cc6", | ||
}, | ||
{ | ||
name: "Udacity", | ||
desc: "Learn the Latest Tech Skills; Advance Your Career", | ||
link: "https://www.udacity.com/", | ||
tags: [], | ||
color: "#01b3e4", | ||
}, | ||
{ | ||
name: "Edx", | ||
desc: "Free Online Courses by Harvard, MIT, & more", | ||
link: "https://www.edx.org/", | ||
tags: ["בחינם"], | ||
color: "#b72667", | ||
}, | ||
{ | ||
name: "Myco", | ||
desc: "פיתוח ותכנות", | ||
link: | ||
"https://www.myco.co.il/category/Developing-and-Programming-Category/", | ||
tags: ["עברית"], | ||
color: "#f1582c", | ||
}, | ||
{ | ||
name: "", | ||
desc: "", | ||
link: "", | ||
tags: [], | ||
color: "#", | ||
}, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
<template> | ||
<g-link | ||
:to="link" | ||
:style="`border-top: 3px solid ${color}`" | ||
class="m-4 w-84 h-48 flex justify-center bg-custom-bg-card-2 rounded-md transform hover:-translate-y-1 ease-in duration-100" | ||
> | ||
<div class="py-2 px-4 w-full flex flex-col justify-between"> | ||
<div class="h-20"> | ||
<div | ||
:class="{ 'flex-row-reverse': isHebrew(name) }" | ||
class="flex justify-center items-center" | ||
> | ||
<img | ||
:src="`https://www.google.com/s2/favicons?domain=${link}`" | ||
alt="Platform logo" | ||
class="m-1" | ||
/> | ||
<h1 | ||
:style="`color: ${color}`" | ||
class="m-1 text-2xl text-custom-text-primary" | ||
> | ||
{{ name }} | ||
</h1> | ||
</div> | ||
<p class="px-4 text-center text-xs text-custom-gray-1">{{ desc }}</p> | ||
</div> | ||
|
||
<ul class="rtl flex flex-wrap -mx-2 text-xs p-4"> | ||
<li | ||
v-for="tag in tags" | ||
:key="tag" | ||
class="m-1 px-3 py-1 text-xxs bg-custom-bg-card-3 rounded-full text-custom-gray-1" | ||
> | ||
{{ tag }} | ||
</li> | ||
</ul> | ||
</div> | ||
</g-link> | ||
</template> | ||
|
||
<script> | ||
import IsraelFlagIcon from "~/components/UI/IsraelFlagIcon"; | ||
export default { | ||
name: "LearningPlatformCard", | ||
components: { IsraelFlagIcon }, | ||
props: { | ||
name: String, | ||
desc: String, | ||
link: String, | ||
color: String, | ||
tags: Array, | ||
}, | ||
computed: { | ||
direction() { | ||
return this.hebrew ? "rtl" : "ltr"; | ||
}, | ||
}, | ||
methods: { | ||
isHebrew(text) { | ||
const HEBREW = RegExp("[\u0590-\u05FF]"); | ||
return HEBREW.test(text); | ||
}, | ||
}, | ||
}; | ||
</script> | ||
|
||
<style lang="scss" scoped> | ||
.bg { | ||
background: repeating-linear-gradient( | ||
45deg, | ||
var(--bg-card-2), | ||
var(--bg-card-2) 10px, | ||
#03a87c70 10px, | ||
#03a87c70 20px | ||
); | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
<template> | ||
<svg | ||
height="80" | ||
viewBox="0 0 512 512" | ||
width="80" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<path | ||
d="m512 120v347c0 24.902344-20.097656 45-45 45h-422c-24.902344 0-45-20.097656-45-45v-347l31.199219-30h453.199219zm0 0" | ||
fill="#deecf1" | ||
/> | ||
<path | ||
d="m512 120v347c0 24.902344-20.097656 45-45 45h-211v-422h228.402344zm0 0" | ||
fill="#c6e2e7" | ||
/> | ||
<path | ||
d="m512 45v75h-512v-75c0-24.902344 20.097656-45 45-45h422c24.902344 0 45 20.097656 45 45zm0 0" | ||
fill="#ec5569" | ||
/> | ||
<path | ||
d="m512 45v75h-256v-120h211c24.902344 0 45 20.097656 45 45zm0 0" | ||
fill="#e63950" | ||
/> | ||
<g fill="#deecf1"> | ||
<path | ||
d="m89.972656 60c0 8.285156-6.71875 15-15 15-8.285156 0-15-6.714844-15-15s6.714844-15 15-15c8.28125 0 15 6.714844 15 15zm0 0" | ||
/> | ||
<path | ||
d="m149.972656 60c0 8.285156-6.71875 15-15 15-8.285156 0-15-6.714844-15-15s6.714844-15 15-15c8.28125 0 15 6.714844 15 15zm0 0" | ||
/> | ||
<path | ||
d="m210.972656 60c0 8.285156-6.71875 15-15 15-8.285156 0-15-6.714844-15-15s6.714844-15 15-15c8.28125 0 15 6.714844 15 15zm0 0" | ||
/> | ||
</g> | ||
<path | ||
d="m437 75h-151c-8.289062 0-15-6.710938-15-15s6.710938-15 15-15h151c8.289062 0 15 6.710938 15 15s-6.710938 15-15 15zm0 0" | ||
fill="#c6e2e7" | ||
/> | ||
<path | ||
d="m256 452h-181c-8.289062 0-15-6.710938-15-15s6.710938-15 15-15h181c8.289062 0 15 6.710938 15 15s-6.710938 15-15 15zm0 0" | ||
fill="#a8d3d8" | ||
/> | ||
<path | ||
d="m271 407v30c0 8.402344-6.597656 15-15 15s-15-6.597656-15-15v-30c0-8.402344 6.597656-15 15-15s15 6.597656 15 15zm0 0" | ||
fill="#392e6e" | ||
/> | ||
<path | ||
d="m271 407v30c0 8.402344-6.597656 15-15 15v-60c8.402344 0 15 6.597656 15 15zm0 0" | ||
fill="#463b85" | ||
/> | ||
<path | ||
d="m416.601562 185.300781c-3.601562-2.699219-8.101562-3.902343-12.601562-3-32.699219 6.597657-63.398438 21-88 41.101563-26.398438 21.300781-47.101562 48.898437-60 80.699218-9.601562 23.398438-15 49.199219-15 75.898438v27c0 8.402344 6.597656 15 15 15 .902344 0 2.101562 0 3-.300781 20.101562-3.898438 39.300781-11.097657 57-20.699219 19.5-10.5 36.898438-24.300781 52.199219-40.800781 3.601562-3.898438 4.800781-9.597657 3-15l-4.5-13.199219h15.398437c5.402344 0 10.503906-3 13.203125-7.5 17.398438-30.601562 26.699219-65.097656 26.699219-100.5v-27c0-4.5-2.101562-8.699219-5.398438-11.699219zm0 0" | ||
fill="#54469d" | ||
/> | ||
<path | ||
d="m416.601562 185.300781c3.296876 3 5.398438 7.199219 5.398438 11.699219v27c0 35.402344-9.300781 69.898438-26.699219 100.5-2.699219 4.5-7.800781 7.5-13.199219 7.5h-15.402343l4.5 13.199219c1.800781 5.402343.601562 11.101562-3 15-15.300781 16.5-32.699219 30.300781-52.199219 40.800781-17.699219 9.601562-36.898438 16.800781-57 20.699219-.898438.300781-2.097656.300781-3 .300781v-117.898438c12.898438-31.800781 33.601562-59.402343 60-80.703124 24.601562-20.097657 55.300781-34.5 88-41.097657 4.5-.902343 9 .300781 12.601562 3zm0 0" | ||
fill="#463b85" | ||
/> | ||
</svg> | ||
</template> |
Oops, something went wrong.