Skip to content

Commit

Permalink
Add template logo/style/html/etc. files to quickly setup teaser site …
Browse files Browse the repository at this point in the history
…for DojoCon Japan
  • Loading branch information
yasulab committed May 7, 2024
1 parent 6e28a77 commit c034568
Show file tree
Hide file tree
Showing 19 changed files with 180 additions and 0 deletions.
33 changes: 33 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
title: DojoCon Japan - CoderDojo Conference
title_short: DojoCon Japan
title_long: DojoCon Japan - 年1回の CoderDojo カンファレンス
description: DojoCon Japan とは、日本の CoderDojo コミュニティメンバーが全国から集まる年に1度のカンファレンスです。
url: https://dojocon.coderdojo.jp
link_to_youtube: https://youtube.com/@DojoConJapan
link_to_twitter: https://twitter.com/DojoConJapan
link_to_facebook: https://facebook.com/DojoConJapan
link_to_github: https://github.com/coderdojo-japan/dojocon.coderdojo.jp
link_to_coderdojo: https://coderdojo.jp
link_to_decadojo: https://decadojo.coderdojo.jp
link_to_privacy: https://coderdojo.jp/privacy
copyright: DojoCon Japan & <a href='https://coderdojo.jp/'>CoderDojo Japan</a>

# Build settings
plugins:
- jekyll-sitemap # This must be LAST to include contents generated by gems above

# Feed settings: https://github.com/jekyll/jekyll-feed
feed:
path: /feed.xml
posts_limit: 1000

exclude:
- .sass-cache/
- .jekyll-cache/
- Gemfile
- Gemfile.lock
- Rakefile

sass:
style: compressed
sourcemap: always
9 changes: 9 additions & 0 deletions browserconfig.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/img/mstile-150x150.png"/>
<TileColor>#ffffff</TileColor>
</tile>
</msapplication>
</browserconfig>
Binary file added favicon.ico
Binary file not shown.
Binary file added img/android-chrome-192x192.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 added img/android-chrome-256x256.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 added img/apple-touch-icon.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 added img/coderdojo.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 added img/cover-photo.webp
Binary file not shown.
Binary file added img/cover.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/favicon-16x16.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 added img/favicon-192x192.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 added img/favicon-32x32.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 added img/favicon.ico
Binary file not shown.
Binary file added img/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 added img/logo.webp
Binary file not shown.
Binary file added img/mstile-150x150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 31 additions & 0 deletions img/safari-pinned-tab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
85 changes: 85 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
---
---
<!DOCTYPE html>

<html lang="ja" dir="ltr">
<head>
<meta charset="utf-8">
<title>{{ site.title_long }}</title>

<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]-->
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0">

<title>{{ site.title_long }}</title>
<meta name="description" content="{{ site.description }}">
<meta property="og:type" content="website" />
<meta property="og:site_name" content="{{ site.title }}" />
<meta property="og:title" content="{{ site.title }}" />
<meta property="og:description" content="{{ site.description }}" />
<meta property="og:url" content="{{ site.url }}">
<meta property="og:image" content="{{ site.url }}/img/cover.jpg">
<meta property="fb:admins" content="715330868" />
<meta property="fb:app_id" content="805184859580207" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@DojoConJapan" />

<link rel='canonical' href='{{ site.url }}' />
<link rel='shortlink' href='{{ site.url }}' />
<link rel="manifest" href="/site.webmanifest">
<link rel="icon" href="/favicon.ico"><!-- 32×32 -->
<link rel="apple-touch-icon" href="/apple-touch-icon.png"><!-- 180×180 -->

<style type="text/css">
@import"https://fonts.googleapis.com/css2?family=Space+Mono&display=swap";
html { scroll-behavior:smooth }
body {
font-family:"Roboto","Noto Sans JP",sans-serif;
margin:0;
text-align:center;
color:#046;
padding-top:60px;
}
.container {
text-align: center;
font-size: 4vw;
font-family: 'Space Mono';
}

.cursor::after{
content:"_";
animation: blink 1s infinite
}
@keyframes blink{
0% { opacity:0 }
50% { opacity:0 }
51% { opacity:1 }
100% { opacity:1 }
}
</style>
</head>

<body>
<div class='container'>
<div style='margin-top: 1.0em;'>
<img src="/img/logo.webp" loading="lazy" width='50%'
alt="CoderDojo Logo"
title="CoderDojo Logo" />
</div>
<div style="margin-top: 1.0em;">DojoCon Japan 20xx</div>
<div style="margin-top: 0.0em;">"TODO: Set theme here"</div>
<div style="margin-top: 0.5em;">20xx年oo月xx日(oo日)開催決定!</div>
<div style="margin-top: 0.5em;">【開催場所 (もし決まっていれば)】</div>
<div style="margin-top: 0.5em;" class="cursor">SAVE THE DATE</div>
<div style='margin-top: 2.0em;'>
<img src="/img/cover-photo.webp" loading="lazy" width='100%'
alt="DojoCon Japan Cover Photo"
title="DojoCon Japan Cover Photo" />
</div>
<div style='margin-top: 2.0em; margin-bottom: 0.5em; font-size: 55%;'>
<a href='https://dojocon.coderdojo.jp/' style='text-decoration: none;'>
&raquo; 過去の開催事例を見る
</a>
</div>
</div>
</body>
</html>
22 changes: 22 additions & 0 deletions site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
---

{
"name": "{{ site.title_short }}",
"short_name": "{{ site.title_short }}",
"icons": [
{
"src": "/img/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/img/android-chrome-256x256.png",
"sizes": "256x256",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}

0 comments on commit c034568

Please sign in to comment.