LinkBoard 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: d6caa758e45a96fceb7826273783856c317a82a0104a551903113a6280857337
4
+ data.tar.gz: 1329adfbe23e522c17fa92130fd73a894ec8fc21d8f0b63a982ccfd2b4c8ae0e
5
+ SHA512:
6
+ metadata.gz: 184f17dca7542b11f65cd18292e0367e2246c06ef1dc2c44389e4ccc5c1d65549f19ef38ebf44537e8faf2964cd0f92711f18473b6fef265c45131552d2ca8fc
7
+ data.tar.gz: f8a090c8a9f93d340e9ecbf2b8576be03b1d97183de236aa880c5687011e95a22bc1a3036cc661405d5d4f09b6df757f4233aa23507874b20c567a9f4d3b1e8f
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022 RyanxLoi
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,69 @@
1
+ # LinkBoard
2
+
3
+ LinkBoard is a landing page creator that you can use to create a page that is similar to LinkTree. You will have a single page with multiple links, directing users to any of your pages. This is great for conveniently sharing your social media or for promoting multiple products and services at once.
4
+
5
+ ## Why use LinkBoard
6
+ * **Free:** Sites like LinkTree are also free but usually come with restrictions that you need to pay for. Meanwhile, LinkBoard is completely free to use.
7
+ * **Customizable:** Edit your LinkBoard site's designs, links and features to your liking.
8
+ * **Minimal:** Start off with the essential files of your LinkBoard site and expand from there.
9
+
10
+ ![image](/preview.png)
11
+
12
+ ## Installation
13
+
14
+ Add this line to your Jekyll site's `Gemfile`:
15
+
16
+ ```ruby
17
+ gem "LinkBoard"
18
+ ```
19
+
20
+ And add this line to your Jekyll site's `_config.yml`:
21
+
22
+ ```yaml
23
+ theme: LinkBoard
24
+ ```
25
+
26
+ And then execute:
27
+
28
+ $ bundle
29
+
30
+ Or install it yourself as:
31
+
32
+ $ gem install LinkBoard
33
+
34
+ Once installed, run `bundle exec jekyll serve` to view your LinkBoard site.
35
+
36
+ ## Editing Your LinkBoard Site
37
+
38
+ ### Links and Profile Information
39
+
40
+ Your LinkBoard site loads data from your and `profile.yml` and `links.yml` files.
41
+
42
+ **profile.yml**
43
+
44
+ Your `profile.yml` file is where you can edit the title of your site as well as the footer text. You can also edit your display name, profile picture, and biography. Lastly, you can edit links to your social media profiles.
45
+
46
+ **links.yml**
47
+
48
+ `links.yml` is where you manage your buttons. To add a link, on a new line, start with a `-` followed by the `link_title` and `link_url` like below.
49
+
50
+ ```
51
+ - link_title: Title of the link
52
+ link url: https://UrlOfTheLink.com
53
+ ```
54
+
55
+ ####
56
+
57
+ ## Development
58
+
59
+ To set up your environment to develop this theme, run `bundle install`.
60
+
61
+ Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
62
+
63
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
64
+ To add a custom directory to your theme-gem, please edit the regexp in `LinkyBoard.gemspec` accordingly.
65
+
66
+ ## License
67
+
68
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
69
+
@@ -0,0 +1,8 @@
1
+ <div id="footer">
2
+ <a href={{site.data.profile.website}}><img class="social_icon" src="/assets/socialmedia/website.png"></a>
3
+ <a href="mailto:"{{site.data.profile.email}}><img class="social_icon" src="/assets/socialmedia/email.png"></a></a>
4
+ <a href={{site.data.profile.facebook}}><img class="social_icon" src="/assets/socialmedia/facebook.png"></a></a>
5
+ <a href={{site.data.profile.twitter}}><img class="social_icon" src="/assets/socialmedia/twitter.png"></a></a>
6
+ <a href={{site.data.profile.linkedin}}><img class="social_icon" src="/assets/socialmedia/linkedin.png"></a></a>
7
+ <p>{{site.data.profile.footer}}</p>
8
+ </div>
@@ -0,0 +1,14 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="utf-8">
6
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
7
+ <title>{{site.data.profile.title}}</title>
8
+ <meta name="description" content="">
9
+ <meta name="viewport" content="width=device-width, initial-scale=1">
10
+ <link rel="stylesheet" href="assets/theme.css">
11
+ <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap" rel="stylesheet">
12
+ </head>
13
+
14
+ </html>
@@ -0,0 +1,5 @@
1
+ <div id="links">
2
+ {% for link in site.data.links %}
3
+ <p><a href={{link.link_url}} target="_blank"><button>{{link.link_title}}</button></a></p>
4
+ {% endfor %}
5
+ </div>
@@ -0,0 +1,9 @@
1
+ <div>
2
+ <img id="profile_pic" src={{site.data.profile.profile_pic}}>
3
+ <h2 id="username">{{site.data.profile.display_name}}</h2>
4
+ <p id="description">{{site.data.profile.bio}}</p>
5
+ </div>
6
+
7
+ <div>
8
+
9
+ </div>
@@ -0,0 +1,15 @@
1
+ <!DOCTYPE html>
2
+
3
+ <body>
4
+
5
+ {% include head.html %}
6
+
7
+ {% include user.html %}
8
+
9
+ {% include links.html %}
10
+
11
+ {% include footer.html %}
12
+
13
+ </body>
14
+
15
+ </html>
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
data/assets/theme.css ADDED
@@ -0,0 +1,129 @@
1
+ @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');
2
+
3
+ a{
4
+ color: #FFFFFF
5
+ }
6
+
7
+ #profile_pic{
8
+ display: block;
9
+ margin: 10px auto auto auto;
10
+ width: 192px;
11
+ height: 192px;
12
+ border-radius: 50%;
13
+ }
14
+
15
+ #username{
16
+ color: #FFFFFF;
17
+ text-align: center;
18
+ font-family: 'Roboto', sans-serif;
19
+ }
20
+
21
+ #description{
22
+ color: #FFFFFF;
23
+ text-align: center;
24
+ font-family: 'Roboto', sans-serif;
25
+ }
26
+
27
+ .social_icon{
28
+ margin: auto;
29
+ width: 5%;
30
+ height: 5%;
31
+ }
32
+
33
+ .social_icon:hover{
34
+ transition-duration: 0.5s;
35
+ opacity: 50%;
36
+ }
37
+
38
+ button:hover{
39
+ background-color: #FFFFFF;
40
+ color: #000000;
41
+ cursor: pointer;
42
+ }
43
+
44
+ #footer{
45
+ color: #ffffff;
46
+ font-family: 'Roboto', sans-serif;
47
+ text-align: center;
48
+ }
49
+
50
+
51
+ /* Media queries*/
52
+ @media only screen and (max-width: 992px) {
53
+
54
+ body {
55
+ background-color: #00827F;
56
+ margin: auto;
57
+ width: 90%;
58
+ }
59
+
60
+ #links{
61
+ display: block;
62
+ margin: auto;
63
+ width: 100%;
64
+ text-align: center;
65
+ }
66
+
67
+ button{
68
+ border-width: 0px;
69
+ background-color: #FFFFFF;
70
+ border-color: #00827F;
71
+ padding: 10px 30px;
72
+ width: 90%;
73
+ color: #00827F;
74
+ font-size: 18px;
75
+ font-family: 'Roboto', sans-serif;
76
+ transition-duration: 0.4s;
77
+ box-shadow: 2px 2px;
78
+ }
79
+
80
+ .social_icon{
81
+ margin: auto;
82
+ width: 7.5%;
83
+ height: 7.5%;
84
+ }
85
+
86
+ }
87
+
88
+ @media only screen and (min-width: 993px) {
89
+
90
+ body {
91
+ background-color: #00827F;
92
+ margin: auto;
93
+ width: 50%;
94
+ }
95
+
96
+ #links{
97
+ display: block;
98
+ margin: auto;
99
+ width: 100%;
100
+ text-align: center;
101
+ }
102
+
103
+ button{
104
+ border-width: 0px;
105
+ background-color: #FFFFFF;
106
+ border-color: #00827F;
107
+ padding: 10px 30px;
108
+ width: 90%;
109
+ color: #00827F;
110
+ font-size: 18px;
111
+ font-family: 'Roboto', sans-serif;
112
+ transition-duration: 0.4s;
113
+ box-shadow: 2px 2px;
114
+ }
115
+
116
+ button:hover{
117
+ background-color: #FFFFFF;
118
+ color: #000000;
119
+ cursor: pointer;
120
+ }
121
+
122
+ .social_icon{
123
+ margin: auto;
124
+ width: 7.5%;
125
+ height: 7.5%;
126
+ }
127
+
128
+
129
+ }
metadata ADDED
@@ -0,0 +1,71 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: LinkBoard
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - RyanxLoi
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2022-03-11 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: jekyll
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '4.2'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '4.2'
27
+ description:
28
+ email:
29
+ - ryanloi@ryanloi.me
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - LICENSE.txt
35
+ - README.md
36
+ - _includes/footer.html
37
+ - _includes/head.html
38
+ - _includes/links.html
39
+ - _includes/user.html
40
+ - _layouts/default.html
41
+ - assets/capybara.jpg
42
+ - assets/socialmedia/email.png
43
+ - assets/socialmedia/facebook.png
44
+ - assets/socialmedia/linkedin.png
45
+ - assets/socialmedia/twitter.png
46
+ - assets/socialmedia/website.png
47
+ - assets/theme.css
48
+ homepage: https://github.com/RyanxLoi/LinkBoard-Jekyll
49
+ licenses:
50
+ - MIT
51
+ metadata: {}
52
+ post_install_message:
53
+ rdoc_options: []
54
+ require_paths:
55
+ - lib
56
+ required_ruby_version: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ required_rubygems_version: !ruby/object:Gem::Requirement
62
+ requirements:
63
+ - - ">="
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
66
+ requirements: []
67
+ rubygems_version: 3.1.2
68
+ signing_key:
69
+ specification_version: 4
70
+ summary: Create a site to place all of your links.
71
+ test_files: []