-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathabout.html
121 lines (112 loc) · 3.52 KB
/
about.html
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>About Page</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.9.1/css/bulma.min.css">
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"
integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css2?family=Merriweather&display=swap" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.6.1/vue.js"></script>
</head>
<body>
<nav class="navbar" role="navigation" aria-label="main navigation">
<div class="navbar-brand">
<a class="navbar-item" href="https://bulma.io">
<img src="https://upload.wikimedia.org/wikipedia/commons/9/95/Vue.js_Logo_2.svg" width="148" height="36">
</a>
</div>
<div class="navbar-menu">
<div class="navbar-end">
<a class="navbar-item" href="/index.html">
HOME
</a>
<a class="navbar-item" href="/pokemon.html">
POKEMON
</a>
<a class="navbar-item" href="/about.html">
ABOUT
</a>
<a class="navbar-item" href="/animation.html">
ANIMATION
</a>
<a class="navbar-item" href="/conditional.html">
CONDITION
</a>
</div>
</div>
</nav>
<!-- Hero del producto -->
<section class="hero is-white is-fullheight" id="app">
<div class="hero-body">
<div class="container">
<div class="columns is-vcentered reverse-columns">
<div class="column
is-10-mobile
is-10-tablet
is-5-desktop
is-5-widescreen
is-5-fullhd " data-aos="fade-down">
<h1 class="title titled is-1 mb-6">
About
</h1>
<div class="buttons">
<p id="counterValue" class="mr-3">
Counter Value - {{ counter }}
</p>
<button class="button is-yellow" id="counterBtn" @click="incrementCounter">Counter <span
id="counterValue"></span></button>
</div>
</div>
<div data-aos="fade-right" class="column
is-10-mobile
is-10-tablet
is-4-desktop
is-7-widescreen
is-4-fullhd is-offset-1-fullhd">
<figure class="image is-square">
<img src="../images/pattern.jpg">
</figure>
</div>
</div>
</div>
</div>
<p v-for="(currency, index) in currencyValues" class="has-text-primary-dark m-3">
{{ currency | currencyFilter }}
</p>
<p class="has-text-centered has-text-bold has-text-primary is-size-2 has-text-weight-bold">
{{ currencyContent }}
</p>
</section>
<script>
let app = new Vue({
el: "#app",
data() {
return {
name: 'James',
counter: 1,
currencyValues: [10, 50, 100, 200, 500, 2000]
}
},
computed: {
// a computed getter
currencyContent() {
return this.currencyValues.length > 0 ? 'Yes' : 'No'
}
},
filters: {
currencyFilter(value) {
return '$ ' + value
}
},
methods: {
incrementCounter() {
// console.log('Counter incremented', this.counter)
this.counter += 1;
}
}
});
</script>
</body>
</html>