diff --git a/bin/svgs.js b/bin/svgs.js index 5eb596c..13300fd 100644 --- a/bin/svgs.js +++ b/bin/svgs.js @@ -15,5 +15,7 @@ module.exports = [ {id:'fa-eye-slash', src:'node_modules/font-awesome-svg-png/white/svg/eye-slash.svg', title: 'Hide Sensitive Content'}, {id:'fa-hashtag', src:'node_modules/font-awesome-svg-png/white/svg/hashtag.svg', title: 'Hashtag'}, {id:'fa-lock', src:'node_modules/font-awesome-svg-png/white/svg/lock.svg', title: 'Locked'}, - {id:'fa-envelope', src:'node_modules/font-awesome-svg-png/white/svg/envelope.svg', title: 'Sealed Envelope'} + {id:'fa-envelope', src:'node_modules/font-awesome-svg-png/white/svg/envelope.svg', title: 'Sealed Envelope'}, + {id:'fa-user-times', src:'node_modules/font-awesome-svg-png/white/svg/user-times.svg', title: 'Stop Following'}, + {id:'fa-user-plus', src:'node_modules/font-awesome-svg-png/white/svg/user-plus.svg', title: 'Follow'} ] \ No newline at end of file diff --git a/routes/_components/AccountProfile.html b/routes/_components/AccountProfile.html new file mode 100644 index 0000000..3fd60d9 --- /dev/null +++ b/routes/_components/AccountProfile.html @@ -0,0 +1,127 @@ +
+
+ + + + + +
+
+
+ + \ No newline at end of file diff --git a/routes/accounts/[accountId].html b/routes/accounts/[accountId].html index 6c46807..cc58f77 100644 --- a/routes/accounts/[accountId].html +++ b/routes/accounts/[accountId].html @@ -11,6 +11,9 @@ dynamicIcon="#fa-user" > {{#if $isUserLoggedIn}} + {{#if $currentAccountProfile}} + + {{/if}} {{else}} @@ -30,6 +33,7 @@ import HiddenFromSSR from '../_components/HiddenFromSSR' import DynamicPageBanner from '../_components/DynamicPageBanner.html' import { showAccountProfile } from './_actions/[accountId]' + import AccountProfile from '../_components/AccountProfile.html' export default { oncreate() { @@ -50,7 +54,8 @@ LazyTimeline, FreeTextLayout, HiddenFromSSR, - DynamicPageBanner + DynamicPageBanner, + AccountProfile } } \ No newline at end of file diff --git a/templates/2xx.html b/templates/2xx.html index 8d4fc82..fb59b73 100644 --- a/templates/2xx.html +++ b/templates/2xx.html @@ -81,6 +81,8 @@ body.offline,body.theme-hotpants.offline,body.theme-majesty.offline,body.theme-o Hashtag Locked Sealed Envelope +Stop Following +Follow