Skip to content

Commit

Permalink
Add default layout and Google Analytics tag
Browse files Browse the repository at this point in the history
  • Loading branch information
drinkius committed Dec 24, 2023
1 parent 817e5a9 commit f1c1f2a
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 15 deletions.
18 changes: 16 additions & 2 deletions .vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,20 @@ import { defineConfig } from 'vitepress'

// https://vitepress.dev/reference/site-config
export default defineConfig({
head: [
[
'script',
{ async: '', src: 'https://www.googletagmanager.com/gtag/js?id=G-RFQYG2SH52' }
],
[
'script',
{},
`window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'TAG_ID');`
]
],
title: "Scalind Docs",
description: "Guides & info",
themeConfig: {
Expand All @@ -13,9 +27,9 @@ export default defineConfig({

sidebar: [
{
text: 'Examples',
text: 'Documentation',
items: [
{ text: 'Markdown Examples', link: '/markdown-examples' },
{ text: 'Overview', link: '/overview' },
{ text: 'Runtime API Examples', link: '/api-examples' }
]
}
Expand Down
23 changes: 10 additions & 13 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,19 @@ layout: home

hero:
name: "Scalind Docs"
text: "Guides & info"
tagline: My great project tagline
text: "How to deploy rollups and app chains in seconds"
tagline: Docs & tutorials
actions:
- theme: brand
text: Markdown Examples
link: /markdown-examples
- theme: alt
text: API Examples
link: /api-examples
text: Documentation
link: /overview

features:
- title: Feature A
details: Lorem ipsum dolor sit amet, consectetur adipiscing elit
- title: Feature B
details: Lorem ipsum dolor sit amet, consectetur adipiscing elit
- title: Feature C
details: Lorem ipsum dolor sit amet, consectetur adipiscing elit
- title: Deploy in seconds
details: Launch on top of any L1
- title: Add dApps
details: Choose from a marketplace of available services, deploy and reskin as needed
- title: Avoid vendor locks
details: There is an option to host the rollup entirely yourself
---

File renamed without changes.

0 comments on commit f1c1f2a

Please sign in to comment.