Skip to content

Commit

Permalink
feat: seo keywords and robots.txt (#352)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeromanowicz committed Jun 28, 2023
1 parent 01e4e0b commit 40099d8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
<Meta
name="description"
:content="APP_DESCRIPTION"/>
<Meta
name="keywords"
:content="APP_KEYWORDS"/>
<Link
rel="apple-touch-icon"
sizes="180x180"
Expand Down Expand Up @@ -77,7 +80,7 @@ import TheHeader from '@/components/TheHeader'
import TheFooter from '@/components/TheFooter'
import { initializeStores } from '@/stores'
import { useWebSocket } from '@/stores/webSocket'
import { APP_CREATOR, APP_DESCRIPTION, APP_TITLE, APP_URL } from '@/utils/constants'
import { APP_CREATOR, APP_DESCRIPTION, APP_TITLE, APP_URL, APP_KEYWORDS } from '@/utils/constants'
await useAsyncData(() => initializeStores())
Expand Down
2 changes: 2 additions & 0 deletions src/public/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
User-agent: *
Allow: /
3 changes: 2 additions & 1 deletion src/utils/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ export const NUMBER_FRACTION_THRESHOLD = 100000
export const MAXIMUM_FRACTION_DIGITS = 20
export const APP_TITLE_SHORT = 'æScan'
export const APP_TITLE = 'æScan - æternity Blockchain Explorer'
export const APP_DESCRIPTION = 'æScan is a blockchain explorer, analytics platform, and decentralized Smart Contract navigation platform based on æternity'
export const APP_DESCRIPTION = 'æScan is a blockchain explorer, analytics platform, and decentralized Smart Contract navigation platform based on æternity.'
export const APP_KEYWORDS = 'aescan, aeternity, blockchain, explorer, search, crypto, currency'
export const APP_URL = 'https://aescan.io'
export const APP_CREATOR = '@aeternity'
export const MARKET_STATS_CACHE_TTL = 5 /* m */ * 60 /* s */ * 1000 /* ms */
Expand Down

0 comments on commit 40099d8

Please sign in to comment.