-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
executable file
·51 lines (41 loc) · 2.95 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
<!doctype html>
<html lang="en" ng-app="cdn">
<head>
<meta charset="UTF-8">
<title>සිංහල වෙබ් ෆොනුරූ CDN එකතුව</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="fonts/maname/fonts/webfonts/fonts.css">
<link rel="stylesheet" href="assets/css/app.css">
<script>
var fonts = ["Bhashitha","Bhashitha Sans","Dinamina Libre","Galle","Gemunu Libre","Kaputa","Malithi Libre","Maname","Motta Type One","Stick No Bills","Warna","Yaldevi"];
</script>
</head>
<body class="ng-cloak">
<div ng-controller="MainController" class="container">
<div class="header">
<h1> සිංහල වෙබ් ෆොනුරූ Sinhala Web Fonts</h1>
<h3>මෙය තවමත් අත්හදාබැලීමේ අවධියේ පවතින සේවාවකි. </br> මෙය නිතර වෙනස්විය හැකි අතර අවසන් භාවිතය සඳහා සූදානම් නැත. කරුණාකර සැලකිල්ලෙන් භාවිතා කරන්න.</h3>
</div>
<input type="text" ng-model="query" spellcheck="false" autocomplete="off" class="search" placeholder="search in {{ fonts.length }} web-fonts...">
<div class="list" ng-show="(fonts | filter:query).length">
<div class="list__item" ng-repeat="font in fonts | filter:query">
<link rel="stylesheet" href="{{ font | slug }}/fonts.css">
<h2 style="font-family:{{ font }}; font-size: 42px; font-weight: normal; ">දැරණියගලට ඉහල අහසේ දඟකරන වලාපෙළ මවනා සොඳුරු දසුන රාත්රිය උදාවත් සමග ක්ෂයවේ.
</h2>
<h2 class="list__title"><a href="//webfonts.lk/{{ font | slug }}/" target="_blank">{{ font }}</a></h2>
<div class="usage">
<label class="label-code" for="html-{{ $index }}"> HTML: </label>
<input id="html-{{ $index }}" type="text" ng-click="selectText($event)" class="input-code" readonly spellcheck="false" value="<link rel="stylesheet" href="//webfonts.lk/fonts/{{ font | slug }}/fonts.css">" />
<label class="label-code" for="css-{{ $index }}"> CSS: </label>
<input id="css-{{ $index }}" type="text" ng-click="selectText($event)" class="input-code" readonly spellcheck="false" value="body { font-family: "{{ font }}"; }" />
</div>
</div>
</div>
<div class="alert" ng-hide="(fonts | filter:query).length">
Web-font with name <strong>{{ query }}</strong> not found.
</div>
</div>
<script src="assets/js/angular.min.js"></script>
<script src="assets/js/app.js"></script>
</body>
</html>