Skip to content

Commit

Permalink
changed logo
Browse files Browse the repository at this point in the history
  • Loading branch information
anjin committed Jul 25, 2016
1 parent 95706ab commit a681922
Show file tree
Hide file tree
Showing 6 changed files with 86 additions and 8 deletions.
Binary file added app/assets/images/.DS_Store
Binary file not shown.
Binary file added app/assets/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/assets/images/logo_b.png
Binary file not shown.
32 changes: 25 additions & 7 deletions app/assets/stylesheets/main.sass
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,33 @@ a


.header
padding: 15px 40px
margin-bottom: 30px
padding: 10px 20px
position: relative

.header-logo
transition: all 0.2s ease-in-out
&:hover
opacity: 0.5
img
background-color: #7292b0
left: -20px
padding: 15px 16px 9px
position: absolute
top: -20px
&:hover svg
stroke: #eeaf3a
svg
stroke: #fff
transition: all 0.2s ease-in-out
width: 40px

.st0
fill: none
stroke-width: 10
stroke-miterlimit: 10
.st1
fill: none
stroke-width: 5
stroke-linejoin: bevel
stroke-miterlimit: 10

.header-nav
float: right
li
Expand All @@ -82,7 +100,7 @@ a
a
box-shadow: 0 -1px 0 0 rgba(#7292b0,0.3) inset, 0 2px 0 0 rgba(#7292b0,0.3)
color: #7292b0
font-size: 11px
font-size: 10px
letter-spacing: 0.075em
text-decoration: none
text-transform: uppercase
Expand Down Expand Up @@ -221,7 +239,7 @@ button, input[type="submit"]
height: 100%
textarea
height: 100%
width: 85%
width: 84.5%
input[type="submit"]
height: 100%
vertical-align: top
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/_header.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<header class="header">
<a href="/" class="header-logo"><%= image_tag "logo_b.png" %></a>
<a href="/" class="header-logo"><%= render 'layouts/logo' %></a>
<ul class="header-nav">
<% if logged_in? %>
<li><%= link_to "Sign out", logout_path, method: :delete %>
Expand Down
60 changes: 60 additions & 0 deletions app/views/layouts/_logo.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 839.8 1080" style="enable-background:new 0 0 839.8 1080;" xml:space="preserve">

<path class="st0" d="M406.9,866.2C259.4,855.4,143,732.3,143,582.1c0-144,106.9-263.1,245.7-282.2"/>
<path class="st0" d="M455.8,298.5c144.3,14,257.1,135.6,257.1,283.5c0,154.2-122.6,279.8-275.6,284.7"/>
<path class="st0" d="M389.3,334.2c-0.8-42.1-1.2-70.2-1.3-75.5l0-0.9l0.8-0.3c3.1-1.1,6.2-4,9.3-8.7h-11c-3.5-0.3-14.6-0.2-19.8,5.4c-2,2.2-2.9,5-3,8.8l-0.1,14.6l-15.7-0.1l0.1-14.6c0-8.8,2.8-16.3,7.9-21.8c10.7-11.5,31.5-10.4,31.5-10.4h17.1c-1.2-11.7-3.7-39.8-3.6-74.5c0.1-30.4,5-61,6.7-70.8 M438.7,830.4c-4.1,73.2-9,127.9-14.7,141.9c-0.5,1.2-0.9,2-1.4,2.6l-1,1.2l-1-1.2c-6.2-7.8-11.5-65.2-15.8-144.3 M437.1,85.5c1.6,9.8,6.3,40.4,6.2,70.8c-0.1,34.7-2.8,62.7-4.1,74.4h18c0,0,14.9-0.2,19.8-5.4c2-2.2,2.9-5,3-8.8l0.1-14.6l15.7,0.1l-0.1,14.6c0,8.8-2.8,16.3-7.9,21.8c-10.7,11.5-28,10.7-31.5,10.5h-10.1c2.3,3.7,5.5,7.6,9.2,9l0.8,0.3l0,0.9c-0.1,5.3-0.5,33.2-1.4,75.2"/>
<line class="st1" x1="431.9" y1="48.2" x2="447.1" y2="54.3"/>
<line class="st1" x1="434.8" y1="60.5" x2="446.6" y2="65.3"/>
<line class="st1" x1="433" y1="71" x2="443.9" y2="75.4"/>
<line class="st1" x1="426.9" y1="79.7" x2="438.4" y2="84.4"/>
<line class="st1" x1="421.8" y1="100" x2="442.2" y2="108.3"/>
<line class="st1" x1="423" y1="111.6" x2="441.5" y2="119.2"/>
<line class="st1" x1="420.2" y1="121.7" x2="443.1" y2="131"/>
<line class="st1" x1="424.4" y1="134.6" x2="443.1" y2="142.2"/>
<line class="st1" x1="425.6" y1="146.3" x2="442.9" y2="153.3"/>
<line class="st1" x1="423.5" y1="156.6" x2="443.9" y2="164.9"/>
<line class="st1" x1="424.1" y1="168" x2="443" y2="175.7"/>
<line class="st1" x1="425.6" y1="179.8" x2="442.6" y2="186.7"/>
<line class="st1" x1="425.6" y1="191" x2="442.2" y2="197.7"/>
<line class="st1" x1="420.7" y1="200.2" x2="441.6" y2="208.7"/>
<line class="st1" x1="423" y1="212.3" x2="439.8" y2="219.1"/>
<line class="st1" x1="422.2" y1="223.2" x2="440" y2="230.4"/>
<line class="st1" x1="438.8" y1="252.3" x2="456.1" y2="259.3"/>
<line class="st1" x1="437.5" y1="262.9" x2="455.9" y2="270.4"/>
<line class="st1" x1="436.6" y1="273.8" x2="455.8" y2="281.5"/>
<line class="st1" x1="435.4" y1="284.5" x2="455.5" y2="292.6"/>
<line class="st1" x1="434.3" y1="295.2" x2="456.1" y2="304"/>
<line class="st1" x1="433.2" y1="305.9" x2="455.5" y2="315"/>
<line class="st1" x1="432" y1="316.7" x2="454.9" y2="325.9"/>
<line class="st1" x1="430.9" y1="327.4" x2="446.4" y2="333.7"/>
<line class="st1" x1="420.8" y1="837.8" x2="437.9" y2="844.7"/>
<line class="st1" x1="421.4" y1="849.2" x2="437.2" y2="855.6"/>
<line class="st1" x1="421.7" y1="860.5" x2="436.3" y2="866.5"/>
<line class="st1" x1="421.7" y1="871.7" x2="435.8" y2="877.4"/>
<line class="st1" x1="421.4" y1="882.8" x2="435" y2="888.3"/>
<line class="st1" x1="421.3" y1="893.9" x2="434.1" y2="899.1"/>
<line class="st1" x1="421.6" y1="905.2" x2="433.2" y2="909.9"/>
<line class="st1" x1="421" y1="916.2" x2="432.2" y2="920.7"/>
<line class="st1" x1="421.4" y1="927.5" x2="431.1" y2="931.4"/>
<line class="st1" x1="421.7" y1="938.8" x2="429.8" y2="942.1"/>
<line class="st1" x1="413.4" y1="334.2" x2="405.1" y2="249.4"/>
<line class="st1" x1="439.1" y1="249.6" x2="430.2" y2="334.2"/>
<path class="st1" d="M421.6,830.6v143.5"/>
<line class="st0" x1="398.1" y1="248.8" x2="445.7" y2="248.8"/>
<line class="st0" x1="398.1" y1="230.7" x2="445.7" y2="230.7"/>
<ellipse class="st0" cx="422.7" cy="60.9" rx="25.1" ry="28.7"/>
<line class="st0" x1="480.3" y1="334.2" x2="370.5" y2="334.2"/>
<line class="st0" x1="377.2" y1="830.6" x2="468.2" y2="830.6"/>
<path class="st0" d="M340.1,707.8h59.7l24.3,25.7 M292.6,773.8l-26-24.3V390.9h49.7l24.3,25.7"/>
<path class="st0" d="M462.1,774.5l-26.6-25V390.9h135.1l24.3,25.6 M509.1,707.8h61.6l24.3,25.9 M509.1,544.9h56.6l24.3,25.7"/>
<path class="st0" d="M290.9,773.8V415.2h49.7v316.9H424v41.7H290.9z"/>
<path class="st0" d="M459.8,773.8V415.2h135.1v41.7h-85.4v112.3h80.5v41.7h-80.5v121.2h85.4v41.7H459.8z"/>
<line class="st0" x1="266.6" y1="390.9" x2="290.9" y2="415.2"/>
<line class="st0" x1="435.5" y1="390.9" x2="459.8" y2="415.2"/>
<path class="st0" d="M404.3,178.5h-367v447.6c0,98.6,16.3,170.2,69.6,231.3c61.3,70.4,202.3,139.4,275.1,166.8c24.2,9.1,39.4,22.1,39.4,22.1s15.2-13,39.4-22.1c72.8-27.4,213.7-96.5,275.1-166.8c53.3-61.1,69.6-132.7,69.6-231.3V178.5H443.7" />
<line class="st0" x1="576" y1="314.2" x2="711.6" y2="178.5"/>
<line class="st0" x1="76.1" y1="814.1" x2="161.6" y2="728.5"/>
<line class="st0" x1="250" y1="829.6" x2="168.3" y2="911.4"/>
<line class="st0" x1="804.6" y1="275" x2="676" y2="403.6"/>

</svg>

0 comments on commit a681922

Please sign in to comment.