Skip to content

Commit

Permalink
add landing page site
Browse files Browse the repository at this point in the history
  • Loading branch information
biosbob committed Jan 2, 2024
1 parent c06cbbe commit 025dec5
Show file tree
Hide file tree
Showing 7 changed files with 118 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
uses: actions/upload-pages-artifact@v2
with:
# Upload docs
path: 'docs'
path: './site'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
13 changes: 13 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/Thumbs.db": true,
".vscode": true,
".history": true
},
"explorerExclude.backup": {}
}
Binary file added site/images/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added site/images/image-land.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added site/images/image-port.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
70 changes: 70 additions & 0 deletions site/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
<!DOCTYPE html>
<html>
<title>The EM Programming Language</title>
<meta name="description" content="The OpenEM project (sponsored by The EM Foundation) promotes, sustains, and evolves EM - a novel programming language and runtime for broad use within embedded systems targeting resource-constrained MCUs">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/png" href="images/favicon.png">

<style>
@media (orientation: landscape) {
.landscape {
display: block;
}
.portrait {
display: none;
}
}
@media (orientation: portrait) {
.landscape {
display: none;
}
.portrait {
display: block;
}
}
html, body {
margin: 0;
padding: 0;
}
svg {
display: block;
position: absolute;
top: 5%;
left: 5%;
height: 90%;
width: 90%;
}

</style>

<body style="background-color: hsl(165, 25%, 18%)">

<!-- imagemapper.noc.io -->

<svg class="landscape" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 637 450">
<image xlink:href="images/image-land.png"></image>
<a xlink:href="https://docs.openem.org/intro/" target="_blank">
<rect x="367" y="54" fill="#fff" opacity="0" width="145" height="52"></rect>
</a>
<a xlink:href="https://blog.openem.org/post-001/" target="_blank">
<rect x="367" y="115" fill="#fff" opacity="0" width="145" height="50"></rect>
</a>
<a xlink:href="https://linkedin.com/company/the-em-foundation/about/?viewAsMember=true" target="_blank">
<rect x="470" y="400" fill="#fff" opacity="0" width="167" height="50"></rect>
</a>
</svg>

<svg class="portrait" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 262 529">
<image xlink:href="images/image-port.png"></image>
<a xlink:href="https://docs.openem.org/intro/" target="_blank">
<rect x="52" y="352" fill="#fff" opacity="0" width="156" height="50"></rect>
</a>
<a xlink:href="https://blog.openem.org/post-001/" target="_blank">
<rect x="54" y="410" fill="#fff" opacity="0" width="154" height="50"></rect>
</a>
<a xlink:href="https://linkedin.com/company/the-em-foundation/about/?viewAsMember=true" target="_blank">
<rect x="131" y="479" fill="#fff" opacity="0" width="131" height="50"></rect>
</a>
</svg>

</body>
34 changes: 34 additions & 0 deletions site/license/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<!DOCTYPE html>
<html>
<title>Amended MIT License</title>
<body>
<pre>
Amended MIT License with Additional Restrictions

Copyright (c) 2023 - The EM Foundation

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

Additional Restrictions:

The Software may not be used in the in-store brand display market
through June, 2026.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
</pre>
</body>
</html>

0 comments on commit 025dec5

Please sign in to comment.