This repository has been archived by the owner on Nov 27, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
129 lines (98 loc) · 4.18 KB
/
index.html
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
<!doctype html>
<html lang="en" dir="ltr">
<head>
<meta charset="UTF-8">
<title>DS-42 - Allied Electronics and Automation</title>
<!--DS42 sass-->
<link rel="stylesheet" href="scss/ds-42.css">
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Lato" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<!--<script src="js/push-notifications.js"></script>-->
<link rel="manifest" href="./manifest.json">
<link rel="shortcut icon" href="./images/favicon.ico" />
<link rel="shortcut icon" href="./images/favicon.svg" />
<link rel="icon" type="image/favicon.svg" href="./images/favicon.svg">
<link rel="icon" type="image/x-icon" href="./images/favicon.svg">
<link rel="icon" href="./images/favicon.svg" />
<!--Icon Font-->
<link rel="stylesheet" href="styles/icon-style.css">
<!-- reuse same icon for Safari -->
<link rel="apple-touch-icon" href="./images/app-images/images/icons/icon-192x192.png">
<meta name="Description" content="DS 42 is a design system for Allied Electronics & Automation. It is in it's infancy but it is growing with support.">
<script>
$(function(){
$("#ds42-nav").load("nav.html");
});
</script>
<meta name="theme-color" content="#001d2c"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<div class="ds42-main-grid">
<a class="toggle open" href="#ds42-nav"><img src="images/menu.svg" alt="menu icon"/></a>
<div id="ds42-nav">
<!--NAV will display here-->
</div>
<div class="prog-bar">
<div class="progress-container">
<div class="progress-bar" id="myBar"></div>
</div>
</div>
<div class="ds42-body">
<div class="ds42-body"> <div class="page-grid">
<div class="page-overview blue-gradient">
<div>
<h2>Design System 42</h2>
<p>The ultimate answer to a consistent and scalable design language, user experience, and digital identity is... Design System 42.</p>
<p>We challenge ourselves every day to make consistent, useful products that help make our users lives better. We acknowledge that this is a continually moving goal that we must adapt to over time, and we accept this challenge as a way to strive to be better tomorrow than we are today.</p>
</div>
</div>
<div class="page-content">
<h1>Getting Started</h1>
<div class="four-column-layout">
<a href="ds-foundations-overview.html">
<div class="overview-section-cta">
<img alt="Foundations Overview" src="./images/foundations-graphic.svg">
<h4>Foundations</h4>
<p class="overview-section-desc">The guidelines and usage of the basic building blocks of DS42.</p>
</div>
</a>
<a href="ds-components.html">
<div class="overview-section-cta">
<img alt="Components Overview" src="./images/components-graphic.svg">
<h4>Components</h4>
<p class="overview-section-desc">A collection of DS42 components including code and guidelines.</p>
</div>
</a>
<a href="resources.html">
<div class="overview-section-cta">
<img alt="Resources" src="./images/resources-graphic.svg">
<h4>Resources</h4>
<p class="overview-section-desc">Download fonts, icon packs, design kits, etc.</p>
</div>
</a>
</div>
</div>
</div>
</div>
</div>
<script>
// When the user scrolls the page, execute myFunction
window.onscroll = function() {myFunction()};
function myFunction() {
var winScroll = document.body.scrollTop || document.documentElement.scrollTop;
var height = document.documentElement.scrollHeight - document.documentElement.clientHeight;
var scrolled = (winScroll / height) * 100;
document.getElementById("myBar").style.width = scrolled + "%";
}
</script>
<script>
if('serviceWorker' in navigator) {
navigator.serviceWorker
.register('/sw.js')
//.then(function() { console.log("Service Worker Registered"); });
.then(reg => {reg.update();});
}
</script>
</body>
</html>