Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
eniehack committed Dec 7, 2024
1 parent 2147605 commit 7987131
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 33 deletions.
25 changes: 8 additions & 17 deletions src/lib/Header.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
class="inline-flex rounded-md dark:text-neutral-200 focus:outline-none"
aria-label="menu"
aria-expanded={is_navbar_toggled}

data-target="navbar-content"
tabindex="0"
onclick={() => (is_navbar_toggled = !is_navbar_toggled)}
Expand Down Expand Up @@ -49,27 +48,19 @@
</button>
</div>
<div class="hidden md:flex">
<a href="/about" class="p-2 dark:text-neutral-200">about</a
>
<a href="/contribute" class="p-2 dark:text-neutral-200"
>このサイトに貢献する</a
>
<a
href="https://github.com/eniehack/itf-vendingmachine"
class="p-2 dark:text-neutral-200">GitHub</a
<a href="/about" class="p-2 dark:text-neutral-200">about</a>
<a href="/contribute" class="p-2 dark:text-neutral-200">このサイトに貢献する</a>
<a href="https://github.com/eniehack/itf-vendingmachine" class="p-2 dark:text-neutral-200"
>GitHub</a
>
</div>
</div>
{#if is_navbar_toggled}
<div id="navbar-content" class="md:hidden flex flex-col block">
<a href="/about" class="p-2 dark:text-neutral-200">about</a
>
<a href="/contribute" class="p-2 dark:text-neutral-200"
>このサイトに貢献する</a
>
<a
href="https://github.com/eniehack/itf-vendingmachine"
class="p-2 dark:text-neutral-200">GitHub</a
<a href="/about" class="p-2 dark:text-neutral-200">about</a>
<a href="/contribute" class="p-2 dark:text-neutral-200">このサイトに貢献する</a>
<a href="https://github.com/eniehack/itf-vendingmachine" class="p-2 dark:text-neutral-200"
>GitHub</a
>
</div>
{/if}
Expand Down
14 changes: 10 additions & 4 deletions src/routes/about/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@
<section class="p-4">
<h1 class="text-xl font-semibold">地図、自販機データの出典</h1>
<p class="p-3">
地図データ、自動販売機データ共に<a class="text-sky-500 hover:underline" href="https://openstreetmap.org">OpenStreetMap</a
地図データ、自動販売機データ共に<a
class="text-sky-500 hover:underline"
href="https://openstreetmap.org">OpenStreetMap</a
>を利用しています。 OSMの提供するデータはODbLの下にライセンスされます。 詳細は<a
class="text-sky-500 hover:underline" href="https://www.openstreetmap.org/copyright">こちら</a
class="text-sky-500 hover:underline"
href="https://www.openstreetmap.org/copyright">こちら</a
>をご覧ください
</p>
</section>
Expand All @@ -26,9 +29,12 @@
Google Analyticsではそれぞれのアクセスを匿名化した上で収集されます。 Google
Analyticsの問題があると感じる場合は、Adblockerの導入やブラウザの設定によりcookieを無効化することで回避できます。
Google Analyticsに関しての詳細は<a
class="text-sky-500 hover:underline" href="https://marketingplatform.google.com/about/analytics/terms/jp/"
class="text-sky-500 hover:underline"
href="https://marketingplatform.google.com/about/analytics/terms/jp/"
>Google アナリティクス利用規約</a
>や<a class="text-sky-500 hover:underline" href="https://policies.google.com/technologies/partner-sites">Google ポリシーと規約</a
>や<a
class="text-sky-500 hover:underline"
href="https://policies.google.com/technologies/partner-sites">Google ポリシーと規約</a
>などをご確認ください。
</p>
</section>
Expand Down
25 changes: 16 additions & 9 deletions src/routes/contribute/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@
</script>

<article class="prose">
<h1 class="p-5 text-2xl font-bold">
このサイトへ貢献する
</h1>
<h1 class="p-5 text-2xl font-bold">このサイトへ貢献する</h1>
<section class="p-4">
<h2 class="text-xl font-semibold">自動販売機の報告</h2>
<p class="p-3">
このサイトでは、自動販売機のデータ、地図データを<a class="text-sky-500 hover:underline" href="https://openstreetmap.org/"
>OpenStreetMap</a
このサイトでは、自動販売機のデータ、地図データを<a
class="text-sky-500 hover:underline"
href="https://openstreetmap.org/">OpenStreetMap</a
>から取得しています。
OpenStreetMapにユーザ登録をして、自動販売機のデータを追加することもできます。
</p>
Expand All @@ -23,17 +22,25 @@
<section class="p-4">
<h2 class="text-2xl font-semibold">開発に参加する</h2>
<p class="p-3">
このサイトは<a class="text-sky-500 hover:underline" href="https://github.com/eniehack/itf-vendingmachine">GitHub</a
このサイトは<a
class="text-sky-500 hover:underline"
href="https://github.com/eniehack/itf-vendingmachine">GitHub</a
>にて、オープンソースソフトウェアとして公開されています。 Pull Request歓迎です。
</p>
</section>
<section class="p-4">
<h2 class="text-2xl font-semibold">バグ等の報告、機能の提案</h2>
<p class="p-3">
<a class="text-sky-500 hover:underline" href="https://github.com/eniehack/itf-vendingmachine/issues">GitHubのissue</a
<a
class="text-sky-500 hover:underline"
href="https://github.com/eniehack/itf-vendingmachine/issues">GitHubのissue</a
>から、または、Twitterハッシュタグ
<a class="text-sky-500 hover:underline" href="https://twitter.com/hashtag/itf_vendingmachine_map">#itf_vendingmachinemap</a>
、<a class="text-sky-500 hover:underline"
<a
class="text-sky-500 hover:underline"
href="https://twitter.com/hashtag/itf_vendingmachine_map">#itf_vendingmachinemap</a
>
、<a
class="text-sky-500 hover:underline"
href="https://twitter.com/hashtag/%E7%AD%91%E6%B3%A2%E5%A4%A7%E5%AD%A6%E8%87%AA%E8%B2%A9%E6%A9%9FMap"
>#筑波大学自販機Map</a
> を付けて投稿してください。
Expand Down
4 changes: 1 addition & 3 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@ export default {
extend: {}
},
darkMode: 'selector',
plugins: [
import('@tailwindcss/typography'),
]
plugins: [import('@tailwindcss/typography')]
};

0 comments on commit 7987131

Please sign in to comment.