アドベントカレンダー

ソフメアドベントカレンダーとは

活動履歴

アドベントカレンダーカレンダーリスト

<tr>
    <td class="date color">${日付}</td>
    <td class="title"><a href="_${リンク}_">${タイトル}</a></td>
    <td class="icon"><img src="icon/${アイコンファイル}" class="icon" /></td>
    <td class="author">${担当者}</td>
</tr>

アドベントカレンダーリストアイコン追加

アドベントカレンダーリスト全体

<section class="probootstrap-section">
    <div class="container">
        <div class="row">
            <div class="col-md-12">${アドベントカレンダーの説明}</div>
        </div>
        <div class="row calendar-date">
            <table>
                <thead>
                    <tr>
                        <th class="date">日付</th>
                        <th class="title">タイトル</th>
                        <th class="icon"></th>
                        <th class="author">担当</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td class="date color">${日付}</td>
                        <td class="title">
                            <a href="${ページへのリンク}">${記事タイトル}</a>
                        </td>
                        <td class="icon">
                            <img
                                src="icon/${アイコンファイル名}"
                                class="icon"
                            />
                        </td>
                        <td class="author">${担当者}</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
</section>

アドベントカレンダー記事作成

  1. md 形式の記事を提出してもらう。 md 以外の場合は人力にて md に変換し、保存しておく。不明点などは執筆者に確認をとる。
  2. md 記法にミスなどがある場合は修正する。(知識が必要)
  3. 記事に誤字や権利的に問題が無いか確認する。
  4. md 形式の記事を html に変換する。
  5. 変換したものを所定の場所に張り付けする。

     <section class="probootstrap-section">
         <div class="container">
             <div class="item">${ここに記事を入れる}</div>
         </div>
     </section>
    
  6. タイトルを書く。
  7. 担当者を書く。
  8. 確認をする。スマホ表示も忘れずに。
<section class="probootstrap-slider flexslider">
    <ul class="slides">
        <li style="background-image: url(/img/person_1.jpg);" class="overlay2">
            <div class="container">
                <div class="row">
                    <div class="col-md-12 text-center">
                        <div
                            class="slides-text probootstrap-animate"
                            data-animate-effect="fadeIn"
                        >
                            <h2>${記事タイトル}</h2>
                            <p>{担当者}</p>
                        </div>
                    </div>
                </div>
            </div>
        </li>
    </ul>
</section>

アドベントカレンダー記事内画像

  1. 画像を提出してもらう。
  2. 画像を圧縮する。大きすぎる場合はリサイズする。縦 500 弱くらいが望ましいかと。
  3. 指定のディレクトリに画像を置く。 img/_担当者名_/_ファイル名_ とする。担当者名は略名でも可。
  4. リンクを記事内に張り付ける。
  5. 以下の処理をする。

     <img src="${画像リンク}" alt="${画像説明}" class="img-responsive" />
    
    • クラスを追加する。
      • 追加しないと、スマホで表示したときにデザインが崩れる。
    • alt属性に説明を書く。
  6. 問題なく描画されているか、確認する。

前日までにやっておいた方が良い事

メモ