Cristiano Magro
2025-01-07 43396a07d57044b6d0ea2d7e70320f93a1a0836b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<template>
    <ul>
        <learning-resource v-for="res in storedResouces" :key="res.id" :title="res.title" :description="res.description"
            :link="res.link">
        </learning-resource>
    </ul>
</template>
 
<script>
import LearningResource from './components/learning-resource/LearningResource.vue';
 
export default {
    components: {
        LearningResource: LearningResource,
    },
    data() {
        return {
            storedResouces: [
                {
                    id: 'official-guide',
                    title: 'Official Guide',
                    description: 'The official Vue.js documentation',
                    link: 'https://vuejs.org'
                },
                {
                    id: 'google',
                    title: 'Google',
                    description: 'Learn to google...',
                    link: 'https://google.com'
                },
            ]
        }
    }
}
</script>
 
<style>
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
 
* {
    box-sizing: border-box;
}
 
html {
    font-family: 'Roboto', sans-serif;
}
 
body {
    margin: 0;
}
</style>