Skip to content

Commit

Permalink
organize constants
Browse files Browse the repository at this point in the history
  • Loading branch information
yuheiy committed May 29, 2024
1 parent 1b7f0a0 commit 6e132d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ export const siteLang = 'ja';
export const siteRegion = 'JP';
export const siteEmail = '[email protected]';
export const siteTwitterId = '_yuheiy';
export const siteGithubId = 'yuheiy';
export const siteDescription =
'フロントエンドウェブ開発者。HTMLやWAI-ARIA、CSS設計、レスポンシブデザイン、Jamstack、シングルページアプリケーション、アクセシビリティ、インターフェースデザインが関心領域。';
6 changes: 3 additions & 3 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
import appleTouchIconImage from '../assets/apple-touch-icon.png';
import faviconImage from '../assets/favicon.svg';
import { siteEmail, siteLang, siteRegion, siteTitle, siteTwitterId } from '../consts';
import { siteEmail, siteGithubId, siteLang, siteRegion, siteTitle, siteTwitterId } from '../consts';
interface BaseProps {
isHome?: false | undefined;
Expand Down Expand Up @@ -109,8 +109,8 @@ const canonicalURL = (() => {
>&#x2003;/&#x2003;<a href="https://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a>
</p>
<p>
<a href="https://x.com/_yuheiy">Twitter</a>&#x2003;<a href="https://github.com/yuheiy"
>GitHub</a
<a href={`https://x.com/${siteTwitterId}`}>Twitter</a>&#x2003;<a
href={`https://github.com/${siteGithubId}`}>GitHub</a
>&#x2003;<a href={`mailto:${siteEmail}`}>メール</a>
</p>
</div>
Expand Down

0 comments on commit 6e132d3

Please sign in to comment.