Skip to content

Commit

Permalink
change position of language button and add tp/sp for page not found
Browse files Browse the repository at this point in the history
  • Loading branch information
goldstargloww committed Mar 29, 2024
1 parent 7a545df commit 7452ea8
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 8 deletions.
9 changes: 8 additions & 1 deletion site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,17 @@
<script src="/site/lang.js"></script> <!-- this guy's only for the local copy -->
<script src="/pk.js"></script>
<script src="/site/pk.js"></script> <!-- this guy's only for the local copy -->
</head>
<body>

<button onclick="toggleLang();" class="float">
<span class="txt-en">language</span>
<span class="txt-tp">toki</span>
<span class="txt-sp">󱥬</span>
</button>

<div class="main">
<button onclick="toggleLang();" class="center">🌐</button>

<h1 class="center">
<span class="txt-en">starglowwOS</span>
<span class="txt-tp">kulupu mun Kosomo</span>
Expand Down
9 changes: 7 additions & 2 deletions site/members/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>starglowwOS</title>
<title>c:/sgos/members</title>
<link href="/style.css" rel="stylesheet" type="text/css" media="all">
<link href="/site/style.css" rel="stylesheet" type="text/css" media="all"> <!-- this guy's only for the local copy -->
<script src="/lang.js"></script>
Expand All @@ -13,9 +13,14 @@
</head>
<body>

<button onclick="toggleLang();" class="float">
<span class="txt-en">language</span>
<span class="txt-tp">toki</span>
<span class="txt-sp">󱥬</span>
</button>

<div class="main">

<button onclick="toggleLang();" class="center">🌐</button>
<h1 class="center">
<span class="txt-en">c:/sgos/members</span>
<span class="txt-tp">c:/sgos/jan mi</span>
Expand Down
27 changes: 24 additions & 3 deletions site/not_found.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,35 @@
<title>[sgOS] page not found</title>
<link href="/style.css" rel="stylesheet" type="text/css" media="all">
<link href="/site/style.css" rel="stylesheet" type="text/css" media="all"> <!-- this guy's only for the local copy -->
<script src="/lang.js"></script>
<script src="/site/lang.js"></script> <!-- this guy's only for the local copy -->
</head>
<body>

<button onclick="toggleLang();" class="float">
<span class="txt-en">language</span>
<span class="txt-tp">toki</span>
<span class="txt-sp">󱥬</span>
</button>

<div class="main">
<h1 class="center">page not found</h1>
<p class="center">the page you're looking for isn't here.</p>
<h1 class="center">
<span class="txt-en">page not found</span>
<span class="txt-tp">lipu ni li lon ala</span>
<span class="txt-sp">󱤪󱥁󱤧󱤬󱤂</span>
</h1>
<p class="center">
<span class="txt-en">the page you're looking for isn't here.</span>
<span class="txt-tp">lipu pi wile sina li lon ma ni ala.</span>
<span class="txt-sp">󱤪󱥍󱦗󱥷󱥞󱦘󱤧󱤬󱤰󱥁󱤂</span>
</p>
<p class="center">
<br>
<button onclick="javascript:history.back()">go back</button>
<button onclick="javascript:history.back()">
<span class="txt-en">go back</span>
<span class="txt-tp">o tawa weka</span>
<span class="txt-sp">󱥄󱥩󱥶</span>
</button>
</p>

</div>
Expand Down
8 changes: 6 additions & 2 deletions site/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,12 @@ button:hover {
background-color: #0F0F0F;
}

button.center {
margin: 1em 50%;
button.float {
position: fixed;
bottom: 1em;
right: 1em;
text-align: center;
width: 8em;
}

h1 {
Expand Down

0 comments on commit 7452ea8

Please sign in to comment.