-
Notifications
You must be signed in to change notification settings - Fork 97
Expand file tree
/
Copy pathindex.twig
More file actions
190 lines (165 loc) · 6.13 KB
/
index.twig
File metadata and controls
190 lines (165 loc) · 6.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta charset="utf-8" />
<title>Welcome to Craft CMS</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover" />
<meta name="referrer" content="origin-when-cross-origin" />
<style>
html,
body {
font-size: 16px;
-webkit-text-size-adjust: 100%;
height: 100%;
font-family: system-ui, BlinkMacSystemFont, -apple-system, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}
body {
margin: 0;
padding: 0;
background-color: hsl(212, 60%, 97%);
color: hsl(209, 18%, 30%);
display: flex;
}
h1 {
margin-top: 0;
}
h2 {
margin-top: 24px;
font-size: 1em;
}
h2:first-child {
margin-top: 0;
}
p {
line-height: 1.4em;
margin-bottom: 1.4em;
}
ul {
line-height: 1.3em;
padding-left: 20px;
margin-bottom: 0;
}
ul li {
margin-bottom: 0.35em;
}
a {
color: #0B69A3;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.go {
color: #0B69A3;
}
.go:after {
padding-left: 4px;
content: '→';
text-decoration: none !important;
}
small {
color: hsl(211, 11%, 59%);
}
code {
display: inline-block;
color: #EF4E4E;
padding: 0 2px;
background: hsl(212, 60%, 97%);
border-radius: 3px;
line-height: 1.3;
font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
font-size: 0.9em;
}
#container {
flex-grow: 1;
}
#modal {
background: #fff;
}
#aside {
background: hsl(212, 60%, 97%);
}
.content {
padding: 35px;
padding-left: calc(35px + env(safe-area-inset-left));
padding-right: calc(35px + env(safe-area-inset-right));
}
@media (min-width:768px) {
#modal {
display: flex;
}
#main {
width: 50%;
overflow: auto;
}
#aside {
width: 50%;
overflow: auto;
}
}
@media (min-width:768px) and (min-height: 376px) {
body {
background-color: hsl(212, 50%, 93%);
background-image: url("{{ view.getAssetManager().getPublishedUrl('@app/web/assets/installer/dist', true, 'images/installer-bg.png') }}");
background-repeat: no-repeat;
background-size: cover;
background-position: center center;
}
#container {
display: flex;
padding: 24px;
align-items: center;
justify-content: center;
}
#modal {
height: 100%;
max-width: 800px;
max-height: 525px;
border-radius: 4px;
overflow: auto;
box-shadow: 0 25px 100px rgba(0, 0, 0, 0.5);
}
#aside {
overflow: auto;
}
}
</style>
</head>
<body class="ltr">
<div id="container">
<div id="modal">
<div id="main">
<div class="content">
<h1>Welcome</h1>
<p>Thanks for installing Craft CMS!</p>
<p>You’re looking at the <code>index.twig</code> template file located in your
<code>templates/</code> folder. Once you’re ready to start building out your site’s
front end, you can replace this with something custom.</p>
<p>If you’re new to Craft CMS, take some time to check out the resources on the right
when you get a chance—especially
<a href="https://craftcms.com/discord" target="_blank">Discord</a>
and <a href="http://craftcms.stackexchange.com/" target="_blank">Stack Exchange</a>.
The Craft community is full of smart, friendly, and helpful people!</p>
<p><span class="go"><a href="{{ cpUrl('') }}">Go to your control panel</a></span></p>
</div>
</div>
<div id="aside">
<div class="content">
<h2>Popular Resources</h2>
<ul>
<li><a href="https://craftcms.com/docs/getting-started-tutorial/" target="_blank">Tutorial</a><br><small>Learn the basics.</small></li>
<li><a href="https://craftcms.com/docs/5.x/" target="_blank">Documentation</a><br><small>Read the official docs.</small></li>
<li><a href="https://craftcms.com/guides" target="_blank">Knowledge Base</a><br><small>Find answers to common problems.</small></li>
<li><a href="https://craftcms.com/newsletter/subscribe" target="_blank">Newsletter</a><br><small>Get official news and community updates.</small></li>
<li><a href="https://craftcms.com/events" target="_blank">Events</a><br><small>Upcoming community events.</small></li>
<li><a href="https://craftcms.com/discord" target="_blank">Discord</a><br><small>Meet the community.</small></li>
<li><a href="http://craftcms.stackexchange.com/" target="_blank">Stack Exchange</a><br><small>Get help and help others.</small></li>
<li><a href="https://craftquest.io/" target="_blank">CraftQuest</a><br><small>Watch unlimited video lessons and courses.</small></li>
</ul>
</div>
</div>
</div>
</div>
</body>
</html>