made website

This commit is contained in:
Juli 2024-06-04 08:08:24 +00:00
parent f55afd5dac
commit 33850ed51a
7 changed files with 200 additions and 2 deletions

51
.gitignore vendored Normal file
View file

@ -0,0 +1,51 @@
# Composer
composer.phar
/vendor/
# CakePHP 3
/vendor/*
/config/app.php
/tmp/cache/models/*
!/tmp/cache/models/empty
/tmp/cache/persistent/*
!/tmp/cache/persistent/empty
/tmp/cache/views/*
!/tmp/cache/views/empty
/tmp/sessions/*
!/tmp/sessions/empty
/tmp/tests/*
!/tmp/tests/empty
/logs/*
!/logs/empty
# CakePHP 2
/app/tmp/*
/app/Config/core.php
/app/Config/database.php
/vendors/*
# the composer package lock file and install directory
# Commit your application's lock file http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
# /composer.lock
/fuel/vendor
# the fuelphp document
/docs/
# you may install these packages with `oil package`.
# http://fuelphp.com/docs/packages/oil/package.html
# /fuel/packages/auth/
# /fuel/packages/email/
# /fuel/packages/oil/
# /fuel/packages/orm/
# /fuel/packages/parser/
# dynamically generated files
/fuel/app/logs/*/*/*
/fuel/app/cache/*/*
/fuel/app/config/crypt.php

12
.replit Normal file
View file

@ -0,0 +1,12 @@
run = "php -S 0.0.0.0:8000 -t ."
[nix]
channel = "stable-22_11"
[deployment]
run = ["sh", "-c", "php -S 0.0.0.0:8000 -t ."]
deploymentTarget = "cloudrun"
[[ports]]
localPort = 8000
externalPort = 80

View file

@ -1,5 +1,6 @@
## Hi
juli@meowcity:~/about_me$ cat README.md
Hi!
I am Juli a Finnish furry from '09(thats 14 years old). I go by Juli or Julimiro, my preferred pronouns are he/him but any are fine tbh.
[My website](https://julimiro.eu)

View file

@ -1 +0,0 @@
I'm working on it &#128557 (maybe)

42
index.php Normal file
View file

@ -0,0 +1,42 @@
<?php
$counter_name = "/root/about_visitors.txt";
if (!file_exists($counter_name)) {
$f = fopen($counter_name, "w");
fwrite($f,"0");
fclose($f);
}
$f = fopen($counter_name,"r");
$counterVal = fread($f, filesize($counter_name));
fclose($f);
$counterVal++;
$f = fopen($counter_name, "w");
fwrite($f, $counterVal);
fclose($f);
$numVisitors = $counterVal;
?>
<!DOCTYPE html>
<html>
<head>
<title>cat README.md</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="main">
<span id="prompt_name">juli@meowcity</span>:<span id="path">~/about_me$</span> cat README.md<br>
<br>
Hi! <br>
I am Juli a Finnish furry from '09(thats 14 years old). I go by Juli or Julimiro, my preferred pronouns are he/him but any are fine tbh.<br>
<br>
&lt;<a target="_blank" href="https://julimiro.eu">https://julimiro.eu</a>&gt;<br>
&lt;<a target="_blank" href="https://eepykitty.lol/@juli">https://eepykitty.lol/@juli</a>&gt;<br>
&lt;<a target="_blank" href="https://www.last.fm/user/Julimiro">https://www.last.fm/user/Julimiro</a>&gt;<br>
&lt;<a target="_blank" href="https://www.youtube.com/@JuliTheFurry">https://www.youtube.com/@JuliTheFurry</a>&gt;<br>
<br>
<?php echo $numVisitors;?> visitors!<br>
<br>
<br>
Meow
</div>
</body>
</html>

5
replit.nix Normal file
View file

@ -0,0 +1,5 @@
{ pkgs }: {
deps = [
pkgs.php82
];
}

88
style.css Normal file
View file

@ -0,0 +1,88 @@
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: 20%;
left: 50%;
transform: translate(-50%,20%);
text-align: center;
width: 60%;
border-width: 2px;
border-style: solid;
padding: 30px;
text-align: left;
background-color: #000;
}
a {
color: #FFF;
}
#prompt_name {
color: #14A10C;
}
#path {
color: #3B78FE;
}