-
Notifications
You must be signed in to change notification settings - Fork 1
/
resources.html
148 lines (140 loc) · 5.86 KB
/
resources.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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
---
title: Resources
vue: true
js:
- resources.vue.js
permalink: /resources/
redirect_to: "http://bettertogetherassociation.org/resources/"
---
<!--Main layout-->
<main class="mt-5 pt-5">
<div class="container">
<section class="" id="mailing">
<!-- Heading and Introductory Paragraph -->
<div class="row justify-content-center wow fadeIn">
<div class="col-md-10 col-lg-9 col-xl-8">
<h1 class="h1 text-center my-4">
<strong>
Resources
</strong>
</h1>
<p class="lead m-3">
<strong>
Check out these books, websites, promo codes, and tools recomended by other freelancers.
</strong>
</p>
<p class="note">
<em>
* Some of the websites and books use affiliate links to help raise money,
you can support this project by clicking the links!
Also, content on this page is publically editable, if you see
something amiss please
<a href="mailto:{{ site.email }}">email us</a>.
</em>
</p>
</div><!--.col-->
</div><!-- .row -->
<!-- Lists of Resources - Populated using JavaScript and Vue -->
<div id="main">
<div class="resources">
<h2 class="display-4 text-center font-weight-bold" id="books">📖 Books</h2>
<div class="books row wow fadeIn" v-if="books">
<div class="book col-md-6 col-lg-4 mb-3"
v-for="book in books">
<div class="card flex-fill">
<div class="card-body">
<a :href="book.link" class="cover float-right mb-2 ml-2">
<img :src="book.cover" :alt="book.title" v-if="book.cover">
</a>
<p>
<strong>(( book.title ))</strong>
</p>
<p class="desc">
(( book.description ))
<br>
</p>
</div>
<div class="card-footer">
<a :href="book.link" v-if="book.link">Buy on Amazon</a>
</div>
</div><!-- .card -->
</div><!-- .book --><!-- .col-* -->
</div><!-- .books --><!-- .row -->
<p v-else>Loadings...</p>
<div class="card callout mb-3">
<div class="card-body">
<p>
<strong>Got more resources?</strong>
Resources on this page come from a public Google Spreadsheet, feel free to add or edit!
</p>
<p class="mb-0">
<a :href="workbookEditURL" class="btn btn-primary ml-0">View Spreadsheet</a>
</p>
</div>
</div>
<h2 class="display-4 text-center font-weight-bold" id="websites">💻 Websites</h2>
<ul class="websites" v-if="websites">
<li class="site"
v-for="website in websites"
v-bind:style="{ listStyleImage: 'url(' + website.icon + ')' }">
<p>
<a :href="website.link" target="_blank">(( prettyLink( website.link ) ))</a>
<br>
(( website.description ))
<br>
<small v-if="website.referralLink">[<a :href="website.referralLink">Referral Link</a>]</small>
</p>
</li>
</ul>
<p v-else>Loadings...</p>
<h2 class="display-4 text-center font-weight-bold" id="promos">💸 Promo Codes</h2>
<div class="promos row mb-3" v-if="promos">
<div class="promo col-md-6 col-lg-4 mb-3" v-for="promo in promos">
<div class="card">
<div class="card-body">
<h4 class="title">
<a :href="promo.link" target="_blank">(( promo.name ))</a>
</h4>
<p class="promocode">
<input type="text" class="form-control text-center" readonly onclick="select()" :value="promo.code">
</p>
<p>
(( promo.description ))
</p>
</div>
</div>
</div>
</div>
<p v-else>Loadings...</p>
<h2 class="display-4 text-center font-weight-bold" id="tools">🛠 Tools</h2>
<p class="filter">
<label for="filter">Filter Tools</label>
<input type="text" class="form-control" name="filter" value="" v-model="search">
</p>
<ul class="tools" v-if="tools">
<li class="site mb-4"
v-for="tool in tools"
v-bind:style="{ listStyleImage: 'url(' + tool.icon + ')' }"
v-if="tool.link"
v-show="tool.filtered()">
<p class="mb-2">
<a :href="tool.link" target="_blank"><strong>(( tool.name ))</strong></a>
–
(( tool.description ))
<br>
<small v-if="tool.referralLink">[<a :href="tool.referralLink">
<template v-if="tool.referralText">(( tool.referralText ))</template>
<template v-else>Referral Link</template>
</a>]</small>
</p>
<div class="tags" v-if="tool.tags">
<span class="badge badge-light mr-2 font-weight-normal" v-for="tag in tool.tags">(( tag ))</span>
</div>
</li>
</ul>
<p v-else>Loadings...</p>
</div><!-- .resources -->
</div><!-- #main -->
</section>
</div><!-- .container -->
</main>