This commit is contained in:
Juli 2024-07-11 22:38:01 +03:00
parent b86126c7d3
commit db815b6cc5
14 changed files with 99 additions and 422 deletions

View file

@ -1,7 +0,0 @@
steps:
update:
image: golang
commands:
- ls
- pwd
- ls /

View file

@ -1,11 +0,0 @@
<link rel="stylesheet" href="/static/style/pages.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap">
<?php
$url = "https://c00eaa0f-943f-4b6b-b6ee-5b7de51f4b30-00-27nfej08x45xr.kirk.replit.dev/getposts-yon.php";
$content = file_get_contents($url);
if ($content !== false) {
echo $content;
} else {
echo "Failed to fetch content from the URL.";
}
?>

View file

@ -1,15 +1,9 @@
<?php include "../static/commons/header.php"; ?>
<link rel="stylesheet" href="/static/style/posts.css">
<img src="https://media1.tenor.com/m/kbbJOE4dIJkAAAAC/working-on.gif"></img>
<div class="main">
<div class="julis_side">
<h1>Juli's posts</h1>
<iframe frameBorder="0" src="/posts/julisposts.php" ></iframe>
</div>
<div class="idios_side">
<h1>Yons's posts</h1>
<iframe frameBorder="0" src="/posts/idiotposts.php" ></iframe>
</div>
<br><br>
This site page is currently... not working<br>
why are all blog platforms so hard to use
</div>
</div>

View file

@ -1,11 +0,0 @@
<link rel="stylesheet" href="/static/style/pages.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap">
<?php
$url = "https://c00eaa0f-943f-4b6b-b6ee-5b7de51f4b30-00-27nfej08x45xr.kirk.replit.dev/getposts-juli.php";
$content = file_get_contents($url);
if ($content !== false) {
echo $content;
} else {
echo "Failed to fetch content from the URL.";
}
?>

View file

@ -1,64 +0,0 @@
<?php include "../../static/commons/header.php";?>
<link rel="stylesheet" href="/static/style/posts.css">
<div class="main">
<?php
// Start output buffering
ob_start();
// Check if post ID is provided
if(isset($_GET['post'])) {
// Get the post ID
$postid = $_GET['post'];
} else {
// ID not provided, return error message and exit
http_response_code(404);
echo '<h1>404 Not Found: No post ID provided</h1>';
exit(); // Exit after sending error message
}
// Construct the URL
$url = "https://c00eaa0f-943f-4b6b-b6ee-5b7de51f4b30-00-27nfej08x45xr.kirk.replit.dev/pageinfo/$postid.json";
try {
// Make the HTTP request and retrieve the response
$response = file_get_contents($url);
// Check if there's a valid response
if ($response === false) {
// Error fetching data, return 404
http_response_code(404);
echo '404 Not Found: Error fetching data';
} else {
// Decode the JSON response
$jsonData = json_decode($response, true);
// Check if JSON decoding was successful
if ($jsonData === null) {
http_response_code(500);
echo '500 Internal Server Error: Error parsing JSON';
} else {
// Output the title as <h1>
echo '<h1>' . $jsonData['title'] . '</h1>';
echo '<h3>By ' . $jsonData['author'] . '</h3>';
// Output the content
echo htmlspecialchars_decode($jsonData['content']);
// Output the author as <h2>
}
}
} catch (Exception $e) {
// Handle exceptions, such as invalid URLs or server errors
http_response_code(500); // Internal Server Error
echo '500 Internal Server Error: ' . $e->getMessage();
}
// Flush the output buffer
ob_end_flush();
?>
</div>
<?php include "../../static/commons/footer.php"; ?>

View file

@ -11,6 +11,8 @@
<a alt="Itch" target="_blank" href="https://julimiro.itch.io/"><img alt="Itch" title="Itch.io" width=50px height=50px src="/static/assets/icons/itch.svg"/></img></a>
<a alt="Replit" target="_blank" href="https://replit.com/@Julimiro"><img alt="Replit" title="Replit" width=50px height=50px src="/static/assets/icons/replit.svg"/></img></a>
</div>
<br>
<br>
<details>
<summary>My game</summary>
<h2>My game</h2>

Binary file not shown.

After

Width:  |  Height:  |  Size: 267 B

View file

@ -12,11 +12,12 @@
<div class="footer_images">
<a target="_blank"href="https://www.codecademy.com/learn/learn-css"><img src="/static/assets/buttons/csshard.gif"></a>
<a target="_blank"href="https://www.linux.org/"><img src="/static/assets/buttons/linux.gif"></a>
<img src="/static/assets/buttons/paws.gif">
<a target="_blank" href="https://www.furaffinity.net/"><img src="/static/assets/buttons/paws.gif"></a>
<a target="_blank" href="https://www.php.net/"><img src="/static/assets/buttons/php.gif"></a>
<a target="_blank" href="https://www.linux.org/"><img src="/static/assets/buttons/powered_linux.gif"></a>
<a href='https://www.humanrightscareers.com/issues/trans-rights-101-definition-examples-significance/'><img src="/static/assets/buttons/transrights.gif"></a>
<a href="https://breadtf.com/"><img src="/static/assets/buttons/gayweb.gif"></a>
<a target="_blank" href='https://www.humanrightscareers.com/issues/trans-rights-101-definition-examples-significance/'><img src="/static/assets/buttons/transrights.gif"></a>
<a target="_blank" href=""><img src="/static/assets/buttons/flag-pan.gif"></a>
<a target="_blank" href="https://breadtf.com/"><img src="/static/assets/buttons/gayweb.gif"></a>
<a target="_blank" href='https://transfem.social/@x86overflow'><img src="/static/assets/buttons/boykisser.gif"></a>
<!-- <a target="_blank" href="https://ubuntu.com/"><img src="/static/buttons/ubuntu.gif"></a> -->
</div>

View file

@ -1,139 +0,0 @@
body {
background-color: rgb(0, 27, 41);
/* */
color: rgb(255, 255, 255);
font-family: "Roboto Mono", monospace
}
.container {
position: relative
}
.header {
position: relative;
left: 50%;
top: 0%;
transform: translateX(-50%);
text-align: center
}
.header ul {
text-decoration: none;
list-style-type: none
}
.header h1 {
font-size: 3em
}
.header a {
font-size: 1.25em;
margin: 2px;
color: rgb(255, 255, 255);
text-decoration: none
}
.button {
font-family: "Roboto Mono", monospace;
background-color: #008cba;
border: none;
color: #fff;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer
}
.button:hover {
font-family: "Roboto Mono", monospace;
background-color: #006384;
border: none;
color: #fff;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer
}
.main {
position: relative;
top: 100%;
left: 0%;
text-align: center;
width: 100%
}
#twitter {
content: url(/static/icons/twitter.svg)
}
#twitter:hover {
content: url(/static/icons/twitter_better.svg)
}
.footer {
display: flex;
position: relative;
left: 50%;
bottom: 0;
margin-top: 200px;
transform: translateX(-50%);
text-align: center;
max-width: 100%
}
.footer_text {
position: relative;
bottom: 50px;
width: 100%
}
.footer_text p {
margin: 0;
text-align: center
}
.footer_images {
display: flex;
justify-content: center;
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
max-width: 100%;
min-width: 15%
}
.footer_images img {
margin: 0 5px
}
#loadOverlay{display: none;}
#adolf {
display: none;
}
.popup {
position: fixed;
bottom: 20px;
right: 20px;
background-color: rgb(0, 64, 98);
padding: 10px;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
z-index: 9999;
display:none;
}
.popup-close {
float: right;
cursor: pointer;
font-weight: bold;
}

View file

@ -1,95 +0,0 @@
@import "/static/commons/style.css";
.main_text {
border: 2px solid white;
padding: 5px;
width: fit-content;
}
#tiny {
font-size: 1px;
}
#death {
background-color: #008cba;
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
}
#death:hover {
background-color: #006384;
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
}
.socials a {
color: rgb(192, 168, 1,0);
}
.socials a:hover {
color: rgb(140, 100, 1,0);
}
#donation{
color: rgb(153, 26, 136);
}
.centerfunny {
text-align: center;
}
.rightfunny {
text-align: right;
}
.counter_text {
display: none;
}
/* Stealing, stealing THEFT! :3 */
.buttonings {
font-family: "Roboto Mono", monospace;
background-color: #008cba;
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
}
#stealingTheft {
cursor: help;
}
#stealingTheft2 {
cursor: help;
}
.buttonings:hover {
font-family: "Roboto Mono", monospace;
background-color: #006384;
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
}
#adolf {
display: none;
}
#trackinfo {
color: rgb(255, 255, 255);
}

View file

@ -1,4 +1,4 @@
@import "/static/commons/style.css";
@import "style.css";
.iframe_div {
position: relative;
top: 0;
@ -6,13 +6,9 @@
width: 60%;
height: 100vh;
}
.main iframe {
position: relative;
left: 0%;
border: 0px;
}
.main_text {
border: 2px solid #f691ff;
border: 2px solid var(--pink);
padding: 10px;
max-width: 70%;
width: fit-content;
@ -31,13 +27,5 @@
max-height: 100%;
width: auto;
height: auto;
border: 2px solid #f691ff;
}
.socials {
background-color: #FFF;
display: inline-block;
padding:5px;
padding-bottom: 0px;
border: 2px solid #f691ff;
border: 2px solid var(--pink);
}

View file

@ -1,8 +1 @@
@import "/static/commons/style.css";
.page_text_left {
position: relative;
left: 50%;
top: 0%;
width: 80%;
transform: translateX(-50%)
}
@import "style.css";

View file

@ -1,59 +1 @@
@import "/static/commons/style.css";
/* .main is a part of /commons/style.css */
/* for some reason, removing this breaks everything */
.main {
position: absolute;
top: 100%;
left: 0%;
text-align: left;
width: 100%;
height: 70vh;
}
.julis_side {
align-content: left;
text-align: center;
position: absolute;
left: 0%;
top: 0%;
width: 50%;
height: 100%;
}
.idios_side {
text-align: center;
align-content: right;
position: absolute;
left: 50%;
top: 0%;
width: 50%;
height: 100%;
}
.button {
font-family: "Roboto Mono", monospace;
background-color: #008cba;
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
}
.button:hover {
font-family: "Roboto Mono", monospace;
background-color: #006384;
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
}
iframe {
width: 100%;
height: 100%;
}
@import "style.css";

84
static/style/style.css Normal file
View file

@ -0,0 +1,84 @@
:root {
--background: rgb(0, 27, 41);
--text: #fff;
--pink: #f691ff;
}
body {
background-color: var(--background);
color: var(--text);
font-family: "Roboto Mono", monospace;
}
.header {
position: relative;
left: 50%;
top: 0%;
transform: translateX(-50%);
text-align: center;
}
.header h1 {
font-size: 3em;
}
.header a {
font-size: 1.25em;
margin: 2px;
color: var(--text);
text-decoration: none;
}
.main {
position: relative;
top: 100%;
left: 0%;
text-align: center;
width: 100%;
}
.footer {
display: flex;
position: relative;
left: 50%;
bottom: 0;
margin-top: 200px;
transform: translateX(-50%);
text-align: center;
max-width: 100%;
}
.footer_text {
position: relative;
bottom: 50px;
width: 100%;
text-align: center;
}
.footer_text p {
margin: 0;
}
.footer_images {
display: flex;
justify-content: center;
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
max-width: 100%;
min-width: 15%;
}
.footer_images img {
margin: 0 5px;
}
.socials {
background-color: var(--text);
display: inline-block;
padding:5px;
padding-bottom: 0px;
border: 2px solid var(--pink);
}