Finally Network Development - New Theme // Hashtag Nav // core-theme-functions
Finally Network is a website builder platform on top of the Steem blockchain. The aim is to provide an easy to use interface for Steem users to turn their Steem blog into a website presence they're proud to share.
Github PR - finallynetwork/pull/19
New Theme 'Make'
This update introduces a new theme. 'Make' theme was created for @dayleeo who was the first user to support Finally. One of the ideas I have with Finally is creating theme for specific users which can then be shared with the community. @dayleeo mentioned she was planning to discontinue her website https://eatthingsmakestuff.com/ and move it entirely to the Steem blockchain. After reading this I thought Finally could be a potential alternative.
Finally aims to be a simple site builder first and offer advanced customisations secondary. I created a stripped down version of the original site ontop of the Finally platform.
One issue I have noticed is using data stored in account settings. As the number of apps built on-top of the blockchain increases the account settings data may not be as relevant. The about blurb, display photo and cover photo may work better in different sizes across different sites. Finally 'make' theme uses the cover photo as a full screen background image where as on Steemit it is a thin wide banner. It looks like many of these settings may need to be stored separately as custom json operations.
With 'Make' theme comes the ability to add a list of hashtags that can be used as Navigation. The dashboard has been updated. While this navigation is a simple start it should allow a user to make a simple site that can focus on more than a single type of content.
Core Theme Functions
As Amos mentioned in the previous post many of the current 'themes' have a heavy amount of duplicate code. I made these themes using previous code from a number of projects. Lens was from https://photofeed.club, Campfire was from Themeforest (an adaption of a theme I sell) and hckr was quickly put together from scratch. With this in mind and the aim to get the platform of the ground as quickly as possible I had left all of the code in separate files
make-theme.js . All of these themes integrate with the blockchain in the same way and much of the code can be combined.
With this update I created a core-functions module and used that for the new theme. I also adapted hckr to use the same core functions. I opted for passing template files into the functions that pull data from the blockchain. I'm not sure if this is the best way. The alternative is to create a wrapper around the most commonly used functions.
Thanks for all of the support and ideas in the previous posts. I appreciate any thoughts or feedback you might have. If you're interested in getting more involved please message. Github issues/feature-requests welcome.