-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
218 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
import { h } from 'hyperapp' | ||
import { version } from '../../package.json' | ||
import Logo from 'components/Logo' | ||
|
||
export default () => | ||
<footer> | ||
<div class='container wide'> | ||
Powered by dat-medium v.{ version } | ||
</div> | ||
<Logo size='20px' /> v.{ version } | ||
</footer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,48 @@ | ||
import { h } from 'hyperapp' | ||
|
||
export default ({ size = '60px' } = {}) => | ||
export default ({ size = '60px', className = '' } = {}) => | ||
<svg | ||
x='0px' | ||
y='0px' | ||
class={className} | ||
width={size} | ||
height={size} | ||
viewBox='0 0 60 60' | ||
viewBox='0 0 40 40' | ||
> | ||
<path | ||
d='M 30,0 3.875,15 3.875,45 30,60 56.125,45 l 0,-30 z m -16.44727,16.50635 9.09864,0 0,1.09033 7.35449,19.94238 7.35449,-19.82373 0,-1.20898 9.33692,0 0,1.74414 -1.2002,0.15869 c -0.29075,0.0264 -0.51524,0.13236 -0.67383,0.31738 -0.14537,0.18502 -0.21826,0.37647 -0.21826,0.57471 l 0,21.64746 c 0,0.19823 0.0729,0.38968 0.21826,0.5747 0.15859,0.18503 0.38308,0.29096 0.67383,0.31739 l 1.2002,0.15869 0,1.74414 -10.24854,0 0,-1.74414 2.16064,-0.15869 c 0.29075,-0.0265 0.50893,-0.13236 0.6543,-0.31739 0.15859,-0.18502 0.23779,-0.37647 0.23779,-0.5747 l 0,-22.38086 -9.33691,25.17578 -2.02197,0 -9.01953,-24.79931 0,22.00439 c 0,0.19824 0.0724,0.38968 0.21777,0.5747 0.15859,0.18503 0.38357,0.29096 0.67432,0.31739 l 2.31934,0.15869 0,1.74414 -8.78175,0 0,-1.74414 2.31934,-0.15869 c 0.29075,-0.0265 0.50212,-0.13236 0.63428,-0.31739 0.14537,-0.18502 0.21777,-0.37646 0.21777,-0.5747 l 0,-21.64746 c 0,-0.19824 -0.0724,-0.38969 -0.21777,-0.57471 -0.13216,-0.18502 -0.34353,-0.29095 -0.63428,-0.31738 l -2.31934,-0.15869 z ' | ||
fill='#2aca4b' /> | ||
<g | ||
transform='translate(0,-1012.3621)' | ||
style=''> | ||
<path | ||
fill='#2aca4b' | ||
d='M 20 0 L 2.5839844 10 L 2.5839844 30 L 20 40 L 37.416016 30 L 37.416016 10 L 20 0 z M 11.291016 12.5 L 20 17.5 L 28.708984 12.5 L 28.708984 27.5 L 11.291016 27.5 L 11.291016 12.5 z ' | ||
transform='translate(0,1012.3621)' | ||
id='polygon4191' /> | ||
</g> | ||
<g | ||
style='display:inline'> | ||
<path | ||
fill='#000000' | ||
opacity='0.3' | ||
d='M 37.416667,30 20,40 2.583333,30 Z' | ||
id='polygon4191-7' | ||
/> | ||
<path | ||
fill='#000000' | ||
opacity='0.3' | ||
d='M 37.416667,30 20,40 37.416667,10 Z' | ||
id='polygon4191-7-5' | ||
/> | ||
<path | ||
fill='#ffffff' | ||
opacity='0.3' | ||
d='M 2.583333,10 20,0 37.416667,10 Z' | ||
id='polygon4191-7-3' | ||
/> | ||
<path | ||
fill='#ffffff' | ||
opacity='0.3' | ||
d='M 2.583333,10 20,0 2.583333,30 Z' | ||
id='polygon4191-7-5-5' | ||
/> | ||
</g> | ||
</svg> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters