Skip to content

Commit f7e36d9

Browse files
authored
Merge pull request #12 from hazi/new-logo-and-favicon
新しいロゴとfaviconを配置
2 parents b900779 + 0b1bc67 commit f7e36d9

File tree

6 files changed

+32
-3
lines changed

6 files changed

+32
-3
lines changed

Diff for: _layouts/default.html

+5-2
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,14 @@
1616
<meta name="theme-color" content="#b41d23">
1717
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
1818
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
19-
<link rel="icon" type="image/x-icon" href="{{ '/assets/favicon.ico?v=' | append: site.github.build_revision | relative_url }}">
19+
20+
<link rel="icon" href="{{ '/assets/favicon.ico?v=' | append: site.github.build_revision | relative_url }}">
21+
<link rel="apple-touch-icon" sizes="180x180" href="{{ '/assets/apple-touch-icon.png?v=' | append: site.github.build_revision | relative_url }}">
2022
</head>
23+
2124
<body>
2225
<header class="page-header" role="banner">
23-
<h1 class="project-name">{{ page.title | default: site.title | default: site.github.repository_name }}</h1>
26+
<h1 class="project-name"><a href="/"><img class="page-header-logo" src="{{ '/assets/ruby-jp-white-big.svg?v=' | append: site.github.build_revision | relative_url }}" alt="{{ page.title | default: site.title | default: site.github.repository_name }}"></a></h1>
2427
<h2 class="project-tagline">{{ page.description | default: site.description | default: site.github.project_tagline }}</h2>
2528
<a href="{{ site.slack_invite_link }}" class="btn"><strong>ruby-jp Slack ワークスペースに参加する</strong></a>
2629
</header>

Diff for: assets/apple-touch-icon.png

8.07 KB
Loading

Diff for: assets/css/style.scss

+8-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,12 @@ body {
88
}
99

1010
.page-header {
11-
background-image: linear-gradient(120deg, #f26a6a, #A61401)
11+
background-color: #E2203C;
12+
background-image: linear-gradient(120deg, #ce2640, #e2203c, #f13955);
13+
14+
.page-header-logo {
15+
@include large { width: 12rem; }
16+
@include medium { width: 10rem; }
17+
@include small { width: 8rem; }
18+
}
1219
}

Diff for: assets/favicon.ico

17.5 KB
Binary file not shown.

Diff for: assets/ogp.png

13 KB
Loading

Diff for: assets/ruby-jp-white-big.svg

+19
Loading

0 commit comments

Comments
 (0)