No description
examples/images | ||
source | ||
.gitignore | ||
bootstrap.php | ||
composer.json | ||
config.php.example | ||
config.production.php | ||
package.json | ||
README.md | ||
webpack.mix.js |
SocialTree
A simple way to show your links
This is a very simple static site generator for listing the links for your social media channels.
Sounds great but how do I use it?
It's very simple, follow these steps.
- Install PHP and Node.js
- Download the Project as zip or clone it
- Run
composer install
andnpm install
- Edit the
config.php
file:-
The
author
is the displayed name -
The
imageName
should be the file name of the image you are using, the file itself should be placed insource/assets/images
-
The
design
refers to the style of your page the currently available styles are:- main
- blurywhite
- 98 (CSS taken from jdan/95.css)
-
List as much links as you like in the
links
array:- With the
platform
property you can give the link the color of the social media plaform of your choice, but this feature is optional, the link will be displayed in the themes color if unset. This is currently only supported by themes which dont look ugly with that:- blurywhite
The currently supported platforms are:
- YouTube, Pinterest, Twitter, TikTok, Telegram, Linkedin, Mastodon, Tumblr, Discord, Twitch, Instagram, Flickr, Deviantart, Spotify, Snapchat, Reddit, Soundcloud, VK, Steam
- You can give the link a different text if you want with the
text
property. It displays the platform set in theplatform
property normaly, but with that propery you can overwrite that. - If you don't want a platform color for a theme wich supports it. simply unset the
platform
property, but then you have to set thetext
property to get the link displayed. - Place the link in the
link
property, this property is needed.
- With the
-
- Compile the page with the command:
npm run prod
- Copy the
build_production
directory to your webserver.
TODO
- More themes
example.jpg by Yaka Bagus from Pexels: