Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
LEGALISE PIRACY authored Feb 11, 2023
1 parent db0e5b2 commit ef8f6fb
Show file tree
Hide file tree
Showing 32 changed files with 2,796 additions and 11 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
5 changes: 5 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
ErrorDocument 404 /404.html

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.html [NC,L]
179 changes: 179 additions & 0 deletions .replit
Original file line number Diff line number Diff line change
@@ -0,0 +1,179 @@
hidden=[".config"]

# hosting is currently hardcoded for this language
# [hosting]
# route = "/"
# directory= "/"

[nix]
channel = "stable-21_11"

[languages.html]
pattern = "**/*.html"
[languages.html.languageServer]
start = "vscode-html-language-server --stdio"
[languages.html.languageServer.initializationOptions]
provideFormatter = true
[languages.html.languageServer.configuration.html]
customData = [ ]
autoCreateQuotes = true
autoClosingTags = true
mirrorCursorOnMatchingTag = false

[languages.html.languageServer.configuration.html.completion]
attributeDefaultValue = "doublequotes"

[languages.html.languageServer.configuration.html.format]
enable = true
wrapLineLength = 120
unformatted = "wbr"
contentUnformatted = "pre,code,textarea"
indentInnerHtml = false
preserveNewLines = true
indentHandlebars = false
endWithNewline = false
extraLiners = "head, body, /html"
wrapAttributes = "auto"
templating = false
unformattedContentDelimiter = ""

[languages.html.languageServer.configuration.html.suggest]
html5 = true

[languages.html.languageServer.configuration.html.validate]
scripts = true
styles = true

[languages.html.languageServer.configuration.html.hover]
documentation = true
references = true

[languages.html.languageServer.configuration.html.trace]
server = "off"

[languages.javascript]
pattern = "**/{*.js,*.jsx,*.ts,*.tsx,*.mjs,*.cjs}"
[languages.javascript.languageServer]
start = "typescript-language-server --stdio"

[languages.css]
pattern = "**/{*.less,*.scss,*.css}"
[languages.css.languageServer]
start = "vscode-css-language-server --stdio"
[languages.css.languageServer.configuration.css]
customData = [ ]
validate = true

[languages.css.languageServer.configuration.css.completion]
triggerPropertyValueCompletion = true
completePropertyWithSemicolon = true

[languages.css.languageServer.configuration.css.hover]
documentation = true
references = true

[languages.css.languageServer.configuration.css.lint]
# Configure linting
# ignore = don't show any warning or error
# warning = show yellow underline
# error = show red underline
argumentsInColorFunction = "error" # Invalid number of parameters
boxModel = "ignore" # Do not use width or height when using padding or border
compatibleVendorPrefixes = "ignore" # When using a vendor-specific prefix make sure to also include all other vendor-specific properties"
duplicateProperties = "warning" # Do not use duplicate style definitions
emptyRules = "warning" # Do not use empty rulesets
float = "ignore" # Avoid using 'float'. Floats lead to fragile CSS that is easy to break if one aspect of the layout changes.
fontFaceProperties = "warning" # @font-face rule must define 'src' and 'font-family' properties
hexColorLength = "error" # Hex colors must consist of three, four, six or eight hex numbers
idSelector = "ignore" # Selectors should not contain IDs because these rules are too tightly coupled with the HTML.
ieHack = "ignore" # IE hacks are only necessary when supporting IE7 and older
important = "ignore" # Avoid using !important. It is an indication that the specificity of the entire CSS has gotten out of control and needs to be refactored.
importStatement = "ignore" # Import statements do not load in parallel
propertyIgnoredDueToDisplay = "warning" # Property is ignored due to the display
universalSelector = "ignore" # The universal selector (*) is known to be slow
unknownAtRules = "warning" # Unknown at-rule
unknownProperties = "warning" # Unknown property.
validProperties = [ ] # add some properties that the linter doesn't know about
unknownVendorSpecificProperties = "ignore" # Unknown vendor specific property.
vendorPrefix = "warning" # When using a vendor-specific prefix also include the standard property
zeroUnits = "ignore" # No unit for zero needed

[languages.css.languageServer.configuration.css.trace]
server = "off"

[languages.css.languageServer.configuration.scss]
validate = true

[languages.css.languageServer.configuration.scss.completion]
triggerPropertyValueCompletion = true
completePropertyWithSemicolon = true

[languages.css.languageServer.configuration.scss.hover]
documentation = true
references = true

[languages.css.languageServer.configuration.scss.lint]
# Configure linting
# ignore = don't show any warning or error
# warning = show yellow underline
# error = show red underline
argumentsInColorFunction = "error" # Invalid number of parameters
boxModel = "ignore" # Do not use width or height when using padding or border
compatibleVendorPrefixes = "ignore" # When using a vendor-specific prefix make sure to also include all other vendor-specific properties"
duplicateProperties = "warning" # Do not use duplicate style definitions
emptyRules = "warning" # Do not use empty rulesets
float = "ignore" # Avoid using 'float'. Floats lead to fragile CSS that is easy to break if one aspect of the layout changes.
fontFaceProperties = "warning" # @font-face rule must define 'src' and 'font-family' properties
hexColorLength = "error" # Hex colors must consist of three, four, six or eight hex numbers
idSelector = "ignore" # Selectors should not contain IDs because these rules are too tightly coupled with the HTML.
ieHack = "ignore" # IE hacks are only necessary when supporting IE7 and older
important = "ignore" # Avoid using !important. It is an indication that the specificity of the entire CSS has gotten out of control and needs to be refactored.
importStatement = "ignore" # Import statements do not load in parallel
propertyIgnoredDueToDisplay = "warning" # Property is ignored due to the display
universalSelector = "ignore" # The universal selector (*) is known to be slow
unknownAtRules = "warning" # Unknown at-rule
unknownProperties = "warning" # Unknown property.
validProperties = [ ] # add some properties that the linter doesn't know about
unknownVendorSpecificProperties = "ignore" # Unknown vendor specific property.
vendorPrefix = "warning" # When using a vendor-specific prefix also include the standard property
zeroUnits = "ignore" # No unit for zero needed"

[languages.css.languageServer.configuration.less]
validate = true

[languages.css.languageServer.configuration.less.completion]
triggerPropertyValueCompletion = true
completePropertyWithSemicolon = true

[languages.css.languageServer.configuration.less.hover]
documentation = true
references = true

[languages.css.languageServer.configuration.less.lint]
# Configure linting
# ignore = don't show any warning or error
# warning = show yellow underline
# error = show red underline
argumentsInColorFunction = "error" # Invalid number of parameters
boxModel = "ignore" # Do not use width or height when using padding or border
compatibleVendorPrefixes = "ignore" # When using a vendor-specific prefix make sure to also include all other vendor-specific properties"
duplicateProperties = "warning" # Do not use duplicate style definitions
emptyRules = "warning" # Do not use empty rulesets
float = "ignore" # Avoid using 'float'. Floats lead to fragile CSS that is easy to break if one aspect of the layout changes.
fontFaceProperties = "warning" # @font-face rule must define 'src' and 'font-family' properties
hexColorLength = "error" # Hex colors must consist of three, four, six or eight hex numbers
idSelector = "ignore" # Selectors should not contain IDs because these rules are too tightly coupled with the HTML.
ieHack = "ignore" # IE hacks are only necessary when supporting IE7 and older
important = "ignore" # Avoid using !important. It is an indication that the specificity of the entire CSS has gotten out of control and needs to be refactored.
importStatement = "ignore" # Import statements do not load in parallel
propertyIgnoredDueToDisplay = "warning" # Property is ignored due to the display
universalSelector = "ignore" # The universal selector (*) is known to be slow
unknownAtRules = "warning" # Unknown at-rule
unknownProperties = "warning" # Unknown property.
validProperties = [ ] # add some properties that the linter doesn't know about
unknownVendorSpecificProperties = "ignore" # Unknown vendor specific property.
vendorPrefix = "warning" # When using a vendor-specific prefix also include the standard property
zeroUnits = "ignore" # No unit for zero needed"

[gitHubImport]
requiredFiles = [".replit", "replit.nix", ".config"]
79 changes: 79 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="The better unblocked games website." />
<meta name="keywords" content="front-end web developer, unblocked, games, google sites, unblocked games mom, ublocked, code, coding, programmer, development, javascript, jquery, bootstrap, sass, less, git" />
<meta name="author" content="3kh0" />
<meta content="3kh0" property="og:title" />
<meta content="The better unblocked games website." property="og:description" />
<meta content="/images/logo.png" property="og:image" />
<title>Error | 3kh0</title>
<link href="/images/logo.png" rel="icon" />
<link href="/css/index.css" rel="stylesheet" />
</head>
<body>
<div class="navbar">
<div class="navitems">
<img onclick="location.href='https://www.youtube.com/watch?v=dQw4w9WgXcQ'" src="/images/logo.png" class="navlogo" draggable="false" />
<a href="/"><div class="navitem">Home</div></a>
<a href="/projects.html"><div class="navitem">Projects</div></a>
<a href="/extras.html"><div class="navitem">Extras</div></a>
<a href="/blog/index.html"><div class="navitem">Blog</div></a>
<a href="/settings.html"><div class="navitem">Settings</div></a>
<a href="/about.html"><div class="navitem">About</div></a>
</div>
</div>

<div class="title">404 Error</div>
<div class="message">This page does not exist!</div>
<center>
<button class="button" onclick="statsForNerds()">Stats for nerds</button>
</center>

<div id="sfn" style="display: none;" class="message">
Please make a issue about this happening on the <a href="https://github.com/3kh0/3kh0.github.io/issues">Github issue tracker</a>
Requested URL: <span id="full">Fetching...</span><br />
Referrer: <span id="ref">Fetching...</span><br />
Title: <span id="title">Fetching...</span><br />
Screen height: <span id="height">Fetching...</span><br />
Screen width: <span id="width">Fetching...</span><br />
Window height: <span id="winheight">Fetching...</span><br />
Window width: <span id="winwidth">Fetching...</span><br />
Cookies: <span id="cookie">Fetching...</span><br />
User agent: <span id="ua">Fetching...</span><br />
OS platform: <span id="plat">Fetching...</span><br />
Online: <span id="online">Fetching...</span><br />
Error code: 404<br />
</div>

<script>
function statsForNerds() {
var x = document.getElementById("sfn");
if (x.style.display === "none") {
x.style.display = "block";
console.log("[ℹ️] Showing the stats for nerds!");
} else {
x.style.display = "none";
console.log("[ℹ️] Hiding the stats for nerds!");
}
}
document.getElementById("full").innerText = window.location.href;
document.getElementById("ref").innerHTML = document.referrer;
document.getElementById("title").innerText = document.title;
document.getElementById("height").innerHTML = screen.height + "px";
document.getElementById("width").innerHTML = screen.width + "px";
document.getElementById("winheight").innerHTML = window.innerHeight + "px";
document.getElementById("winwidth").innerHTML = window.innerWidth + "px";
document.getElementById("cookie").innerText = navigator.cookieEnabled;
document.getElementById("ua").innerHTML = navigator.userAgent;
document.getElementById("plat").innerHTML = navigator.platform;
document.getElementById("online").innerHTML = navigator.onLine;
</script>

<footer>© 3kh0 2023</footer>

<script src="/js/index.js"></script>
</body>
</html>
22 changes: 22 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Contributing Guidelines

Thank you for wanting to contribute to our project. Before you do though, please give this document a short read so you get along with the people you're working with. Here are some quick tooltips that will help.

1. Try and find a common ground. <br>
Sometimes, you'll disagree with your fellow devs. That's alright, happens all the time. Thing is, that disagreement has to be resolved somewhere. Try and find a middle ground that helps both parties.

2. Join the Discord (No, really) <br>
We coordinate most of our work and stuff in the Discord, so please join. You can find the invite in the [ReadMe.](./README.md)

3. Be nice. <br>
Being nice goes a long way. So, try and do that.

4. Comment your code. <br>
Someone may need to do a last minute fix, and they can't do that if they can't find where to do that! Be sure to comment code that can't have it purpose discerned quickly.

5. Try and tackle older issues<br>
Sometimes, we'll have a backlog of issues that need to be fixed. Do everyone a favor and start going through those. It's a quick way to make everyone like you a little bit more.

That's it. And don't forget, <i>to have fun.</i>

**This repository hosts the UI for 3kh0 v4! If you want to contibute a game, make a pull request on [https://github.com/3kh0/3kh0-Assets](https://github.com/3kh0/3kh0-Assets)!**
Loading

0 comments on commit ef8f6fb

Please sign in to comment.