Skip to content

Commit 3f0a93e

Browse files
authored
Merge pull request #18 from foreseecode/off-topic/update-docs
Adding convenience pages for docs
2 parents fc8daf8 + 129dd69 commit 3f0a93e

File tree

2 files changed

+216
-1
lines changed

2 files changed

+216
-1
lines changed

mobile/iOS/current/index.html

Lines changed: 215 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,215 @@
1+
<!doctype html>
2+
<html lang="en-US" class="no-js">
3+
<head>
4+
<meta charset="utf-8">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6+
<meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">
7+
<link rel="icon" href="/favicon.ico">
8+
<link rel="mask-icon" href="/favicon.svg" color="#333333">
9+
<title>iOS SDK Documentation</title>
10+
<style>
11+
body {
12+
font-family: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
13+
margin: 0;
14+
padding: 40px;
15+
background-color: #f5f5f7;
16+
color: #1d1d1f;
17+
line-height: 1.47059;
18+
}
19+
20+
.container {
21+
max-width: 980px;
22+
margin: 0 auto;
23+
background-color: white;
24+
border-radius: 12px;
25+
padding: 40px;
26+
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
27+
}
28+
29+
.header {
30+
text-align: center;
31+
margin-bottom: 60px;
32+
}
33+
34+
.title {
35+
color: #1d1d1f;
36+
font-size: 48px;
37+
font-weight: 600;
38+
letter-spacing: -.003em;
39+
line-height: 1.08365;
40+
margin: 0 0 16px 0;
41+
}
42+
43+
.subtitle {
44+
color: #6e6e73;
45+
font-size: 21px;
46+
font-weight: 400;
47+
letter-spacing: .011em;
48+
line-height: 1.381;
49+
margin: 0;
50+
}
51+
52+
.navigation {
53+
display: grid;
54+
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
55+
gap: 24px;
56+
margin-top: 40px;
57+
}
58+
59+
.nav-item {
60+
display: block;
61+
text-decoration: none;
62+
background-color: #f5f5f7;
63+
border-radius: 12px;
64+
padding: 24px;
65+
transition: all 0.3s ease;
66+
border: 1px solid #d2d2d7;
67+
}
68+
69+
.nav-item:hover {
70+
background-color: #e8e8ed;
71+
transform: translateY(-2px);
72+
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
73+
}
74+
75+
.nav-item-title {
76+
color: #1d1d1f;
77+
font-size: 24px;
78+
font-weight: 600;
79+
margin: 0 0 8px 0;
80+
}
81+
82+
.nav-item-description {
83+
color: #6e6e73;
84+
font-size: 16px;
85+
margin: 0;
86+
}
87+
88+
@media only screen and (max-width: 1068px) {
89+
.container {
90+
margin: 20px;
91+
padding: 30px;
92+
}
93+
94+
.title {
95+
font-size: 40px;
96+
}
97+
98+
.navigation {
99+
grid-template-columns: 1fr;
100+
gap: 16px;
101+
}
102+
}
103+
104+
@media only screen and (max-width: 735px) {
105+
body {
106+
padding: 20px;
107+
}
108+
109+
.container {
110+
margin: 0;
111+
padding: 20px;
112+
}
113+
114+
.title {
115+
font-size: 32px;
116+
letter-spacing: .004em;
117+
line-height: 1.125;
118+
}
119+
120+
.subtitle {
121+
font-size: 19px;
122+
}
123+
124+
.nav-item {
125+
padding: 20px;
126+
}
127+
128+
.nav-item-title {
129+
font-size: 20px;
130+
}
131+
}
132+
</style>
133+
</head>
134+
<body data-color-scheme="auto">
135+
<noscript>
136+
<style>
137+
.noscript {
138+
font-family: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
139+
margin: 92px auto 140px auto;
140+
text-align: center;
141+
width: 980px;
142+
}
143+
144+
.noscript-title {
145+
color: #111;
146+
font-size: 48px;
147+
font-weight: 600;
148+
letter-spacing: -.003em;
149+
line-height: 1.08365;
150+
margin: 0 auto 54px auto;
151+
width: 502px;
152+
}
153+
154+
@media only screen and (max-width: 1068px) {
155+
.noscript {
156+
margin: 90px auto 120px auto;
157+
width: 692px;
158+
}
159+
160+
.noscript-title {
161+
font-size: 40px;
162+
letter-spacing: 0;
163+
line-height: 1.1;
164+
margin: 0 auto 45px auto;
165+
width: 420px;
166+
}
167+
}
168+
169+
@media only screen and (max-width: 735px) {
170+
.noscript {
171+
margin: 45px auto 60px auto;
172+
width: 87.5%;
173+
}
174+
175+
.noscript-title {
176+
font-size: 32px;
177+
letter-spacing: .004em;
178+
line-height: 1.125;
179+
margin: 0 auto 35px auto;
180+
max-width: 330px;
181+
width: auto;
182+
}
183+
}
184+
</style>
185+
<div class="noscript">
186+
<h1 class="noscript-title">This page requires JavaScript.</h1>
187+
<p>Please turn on JavaScript in your browser and refresh the page to view its content.</p>
188+
</div>
189+
</noscript>
190+
191+
<div class="container">
192+
<div class="header">
193+
<h1 class="title">iOS SDK Documentation</h1>
194+
<p class="subtitle">Comprehensive documentation for all iOS SDK modules</p>
195+
</div>
196+
197+
<nav class="navigation">
198+
<a href="EXPCore/documentation/expcore" class="nav-item">
199+
<h2 class="nav-item-title">EXPCore</h2>
200+
<p class="nav-item-description">Core functionality and base framework components for the iOS SDK</p>
201+
</a>
202+
203+
<a href="EXPPredictive/documentation/exppredictive" class="nav-item">
204+
<h2 class="nav-item-title">EXPPredictive</h2>
205+
<p class="nav-item-description">Predictive analytics and machine learning features</p>
206+
</a>
207+
208+
<a href="EXPSurveyManagement/documentation/expsurveymanagement" class="nav-item">
209+
<h2 class="nav-item-title">EXPSurveyManagement</h2>
210+
<p class="nav-item-description">Survey creation, management, and response handling</p>
211+
</a>
212+
</nav>
213+
</div>
214+
</body>
215+
</html>

scripts/redirect.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
(function() {
2-
var path = window.location.pathname.replace('/mobile/android/latest/', '/mobile/android/7.4.1/');
2+
var path = window.location.pathname.replace('/mobile/android/latest/', '/mobile/android/7.5.2/');
33
if (window.location.pathname.startsWith('/public-packages/mobile/android/latest/')) {
44
window.location.href = path;
55
}

0 commit comments

Comments
 (0)