|
5 | 5 | {{ partial "page_header.html" . }}
|
6 | 6 |
|
7 | 7 | <div class="page-intro page-intro__home">
|
8 |
| - <div class="container"> |
9 |
| - |
10 |
| - <div class="page-intro__header"> |
11 |
| - |
12 |
| - <h1 class="page-intro__title">Let's Take a Tour of Dgraph</h1> |
13 |
| - <p class="page-intro__subtitle" style="max-width: 520px;">An interactive tutorial with real queries and real results, |
14 |
| - designed to run on Chrome on your machine.</p> |
15 |
| - |
16 |
| - <a href="{{ range first 1 .Site.Menus.main }}{{ .URL }}{{ end }}" class="button button--primary"> |
17 |
| - <span>Get Started</span> |
18 |
| - <i class="fas fa-arrow-right"></i> |
19 |
| - </a> |
20 |
| - |
21 |
| - </div> |
22 |
| - |
| 8 | + <div class="container"> |
| 9 | + <div class="page-intro__header"> |
| 10 | + <h1 class="title_small">DGRAPH TOUR</h1> |
| 11 | + <h1 class="page-intro__title">Let's Take a Tour of Dgraph</h1> |
| 12 | + <p class="page-intro__subtitle">An interactive tutorial with real queries and real results, designed to run on Chrome on your machine.</p> |
23 | 13 | </div>
|
| 14 | + </div> |
24 | 15 | </div>
|
25 | 16 |
|
26 |
| - <section class="page-body pt-0"> |
27 |
| - |
28 |
| - <div class="section--large lesson-tiles-container"> |
29 |
| - <div class="container" data-context='graphql'> |
30 |
| - |
31 |
| - <h1>Which Language Suits You?</h1> |
32 |
| - |
33 |
| - <div class="lesson-tiles-switcher"> |
34 |
| - <div data-context='graphql'> |
35 |
| - <p>GraphQL</p> |
36 |
| - <span>Dgraph's Generated API</span> |
37 |
| - </div> |
38 |
| - <div data-context='dql'> |
39 |
| - <p>DQL</p> |
40 |
| - <span>Dgraph's Query Language</span> |
41 |
| - </div> |
42 |
| - </div> |
43 |
| - <div class="lesson-tiles"> |
44 |
| - {{ range .Site.Menus.main }} |
45 |
| - <div class="tile lesson-tiles__tile" data-context='{{ if in .Identifier "graphql" }}graphql{{ else }}dql{{ end }}'> |
46 |
| - |
47 |
| - <p> |
48 |
| - {{ .Name }} |
49 |
| - <span> {{ index $.Site.Params.menudesc .Identifier }}</span> |
50 |
| - </p> |
| 17 | + <section class="page-body pt-0"> |
| 18 | + <div class="section--large lesson-tiles-container" style="margin-bottom: 0px !important"> |
| 19 | + <div class="container" data-context="graphql"> |
| 20 | + <h2 class="main-title">Which Language Suits You?</h2> |
51 | 21 |
|
52 |
| - <div class="lesson-tiles__link"> |
53 |
| - <a href="{{ .URL }}" class="button button--secondary"> |
54 |
| - <span>Start</span> |
55 |
| - <i class="fas fa-arrow-right"></i> |
56 |
| - </a> |
57 |
| - <span class="status" data-course="{{ .Identifier }}">{{ with .Params.time }}{{ . }}{{ end }}</span> |
58 |
| - </div> |
59 |
| - |
60 |
| - </div> |
61 |
| - {{ end }} |
62 |
| - |
63 |
| - </div> |
64 |
| - |
65 |
| - </div> |
66 |
| - </div><div class="section"> |
67 |
| - <div class="container"> |
68 |
| - <div class="w-100 text-center"> |
69 |
| - <h2 class="mb-5">Stay in the Loop with Dgraph</h2> |
| 22 | + <div class="lesson-tiles-switcher"> |
| 23 | + <div data-context="graphql"> |
| 24 | + <p style="font-weight: normal">GraphQL</p> |
| 25 | + <span>Dgraph's Generated API</span> |
| 26 | + </div> |
| 27 | + <div data-context="dql"> |
| 28 | + <p style="font-weight: normal">DQL</p> |
| 29 | + <span>Dgraph's Query Language</span> |
70 | 30 | </div>
|
71 |
| - <div class="row"><a href="https://discuss.dgraph.io/" class="col-md-4 large-card"> |
72 |
| - <div class="connect-graphic"><img src='{{ relURL "/images/discuss.png" }}' class="w-100"></div> |
73 |
| - <h3 class="mt-4">Discuss Forum</h3> |
74 |
| - <p>Be part of the community passionate about building smarter apps.</p> |
75 |
| - <div class="link"><span>Join now</span><i class="fa fa-arrow-right" aria-hidden="true"></i></div></a><a href="https://dgraph.io/docs/" target="_blank" class="col-md-4 large-card"> |
76 |
| - <div class="connect-graphic"><img src='{{ relURL "/images/docs.png" }}' class="w-100"></div> |
77 |
| - <h3 class="mt-4">Dgraph Docs</h3> |
78 |
| - <p>Get detailed information on how to get started with Dgraph.</p> |
79 |
| - <div class="link"><span>Get started</span><i class="fa fa-arrow-right" aria-hidden="true"></i></div></a><a href="http://cloud.dgraph.io" target="_blank" class="col-md-4 large-card"> |
80 |
| - <div class="connect-graphic"><img src='{{ relURL "/images/dgraph-cloud.png" }}' class="w-100"></div> |
81 |
| - <h3 class="mt-4">Dgraph Cloud</h3> |
82 |
| - <p>Fully managed GraphQL backend in one click. The fastest way to build apps.</p> |
83 |
| - <div class="link"><span>Try free</span><i class="fa fa-arrow-right" aria-hidden="true"></i></div></a></div> |
84 | 31 | </div>
|
85 | 32 | </div>
|
86 |
| - </section> |
87 |
| - |
88 |
| - <div class="section--jepsen section--small"> |
89 |
| - <div class="container"> |
90 |
| - <div class="row d-flex align-items-center"> |
91 |
| - <div class="col-md-6 pr-5"> |
92 |
| - <h2 class="mb-3">Need to learn GraphQL? <br>Meet<span class="text-gradient pl-2">Dgraph Learn</span></h2> |
93 |
| - <p> |
94 |
| - <just>Starting out with GraphQL? New to the world of graph databases? Dgraph has you covered! Dgraph Learn can take you from beginner to adept in less than four hours. Find the course that’s right for you.</just> |
95 |
| - </p><a href="https://dgraph.io/learn" class="button button--primary"><span>Teach me</span><i class="fa fa-arrow-right" aria-hidden="true"></i></a> |
| 33 | + </div> |
| 34 | + <div class="section--large lesson-tiles-container tiles-container"> |
| 35 | + <div class="container container-narrow" data-context="graphql"> |
| 36 | + <div class="lesson-tiles" style="all: unset !important"> |
| 37 | + {{ $counter := 1 }} {{ range .Site.Menus.main }} |
| 38 | + <div class="tile" data-context='{{ if in .Identifier "graphql" }}graphql{{ else }}dql{{ end }}'> |
| 39 | + <div class="meta"> |
| 40 | + <div> |
| 41 | + <p class="tile-counter">{{ $counter }}</p> |
| 42 | + <p class="tile-name">{{ .Name }}</p> |
| 43 | + <p class="tile-time">{{ with .Params.time }}<i class="fa-regular fa-clock" style="margin-right: 7px"></i>{{ . }}{{ end }}</p> |
| 44 | + <script src="https://kit.fontawesome.com/37543023ae.js" crossorigin="anonymous"></script> |
| 45 | + </div> |
| 46 | + <span class="tile-description">{{ index $.Site.Params.menudesc .Identifier }}</span> |
| 47 | + {{ $counter = add $counter 1 }} |
| 48 | + </div> |
| 49 | + <div class="lesson-tiles__link"> |
| 50 | + <a href="{{ .URL }}" class="button button--primary-custom lesson-button"> |
| 51 | + <span>Start</span> |
| 52 | + </a> |
96 | 53 | </div>
|
97 |
| - <div class="col-lg-6 d-flex justify-content-center"><img src='{{ relURL "/images/learn-illustration.svg" }}'></div> |
98 | 54 | </div>
|
| 55 | + {{ end }} |
99 | 56 | </div>
|
100 |
| - </div> |
101 |
| - |
102 |
| - {{ partial "page_footer.html" . }} |
| 57 | + </div> |
| 58 | + </div> |
| 59 | + </section> |
103 | 60 |
|
| 61 | + {{ partial "page_footer.html" . }} |
104 | 62 | </body>
|
105 | 63 |
|
106 | 64 | {{ partial "footer.html" . }}
|
0 commit comments