forked from bearsunday/bearsunday.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
24 lines (24 loc) · 946 Bytes
/
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
---
layout: index
title: BEAR.Sunday
category: Index
---
<div class="jumbotron">
<img src="./images/BEAR-logo.png">
<p>
BEAR.Sunday is a resource orientated framework with a <strong>REST</strong> centered architecture, implementing <strong>Dependency Injection</strong> and <strong>Aspect Orientated</strong> Programming' at its core.
</p>
<a class="intl btn btn-primary" id="learn" href="/manuals/1.0/en/index.html">
Learn more »
</a>
<script>
window.addEventListener('DOMContentLoaded', (event) => {
const links = document.getElementsByClassName('intl');
const locale = window.navigator.language;
if (locale.startsWith('ja')) {
for(let i = 0; i < links.length; i++) {
links[i].setAttribute('href', links[i].getAttribute('href').replace('/en/', '/ja/'));
}
}
}); </script>
</div>