updated headers and images

This commit is contained in:
Juli 2024-08-17 21:12:22 +03:00
parent a2e00ab2f1
commit 41cb2b9ae7
3 changed files with 14 additions and 12 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 264 KiB

After

Width:  |  Height:  |  Size: 1,014 B

View file

@ -1,8 +1,9 @@
<?php require "static/commons/header.php"; ?>
<?php
$images = array("https://api.tinyfox.dev/img?animal=fox","https://api.tinyfox.dev/img?animal=manul","https://api.tinyfox.dev/img?animal=serval","https://api.tinyfox.dev/img?animal=shiba","https://api.tinyfox.dev/img?animal=racc","https://api.tinyfox.dev/img?animal=dook","https://api.tinyfox.dev/img?animal=ott","https://api.tinyfox.dev/img?animal=woof","https://api.tinyfox.dev/img?animal=caracal","https://api.tinyfox.dev/img?animal=marten","https://api.tinyfox.dev/img?animal=wah");
$animal_url = $images[rand(0,count($images)-1)];
$images = array("https://api.tinyfox.dev/img?animal=dog","https://api.tinyfox.dev/img?animal=caracal","https://api.tinyfox.dev/img?animal=chee","https://api.tinyfox.dev/img?animal=yote","https://api.tinyfox.dev/img?animal=dook","https://api.tinyfox.dev/img?animal=fox","https://api.tinyfox.dev/img?animal=mane","https://api.tinyfox.dev/img?animal=ott","https://api.tinyfox.dev/img?animal=marten","https://api.tinyfox.dev/img?animal=wah","https://api.tinyfox.dev/img?animal=serval","https://api.tinyfox.dev/img?animal=woof","https://api.tinyfox.dev/img?animal=yeen");
$names = array("dog","caracal", "cheetah","cayote","ferret","fox","maned wolf","otter","marten","red panda","serval","wolf","hyena");
$number = rand(0,count($images)-1);
$animal_url = $images[$number];
function calculate_elapsed_years($start_date)
{
@ -16,7 +17,8 @@ $date = calculate_elapsed_years("2009-08-29");
<link rel="stylesheet" href="/static/style/index.css">
<div class="main">
<div class="fox_div">
<img src="<?php echo $animal_url;?>" id=myImg alt="randomly picked image of cute animal">
<img src="<?php echo $animal_url;?>" id=myImg title="Randomly picked image of a <?php echo $names[$number];?>" alt="randomly picked image of a <?php echo $names[$number];?>">
<p>Current image is a <?php echo $names[$number];?>.</p>
<p>Images stolen from <a target="_blank" href="https://tinyfox.dev/image-list/">tinyfox.dev</a></p>
</div>
<div class="main_text">

View file

@ -2,14 +2,14 @@
<html>
<head>
<title>Juli's page</title>
<meta content="Juli's page" property="og:title" />
<meta content="Some furry's page" property="og:description" />
<meta content="juli's page" property="og:title" />
<meta content="some furry's page" property="og:description" />
<meta content="#001B29" data-react-helmet="true" name="theme-color"/>
<link rel="stylesheet" href="https://api.fonts.coollabs.io/css2?family=Roboto+Mono&display=swap">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="twitter:site" content="https://julimiro.eu" />
<meta name="twitter:title" content="Juli's website" />
<meta name="twitter:description" content="A silly fur's page" />
<meta name="twitter:title" content="juli's website" />
<meta name="twitter:description" content="a silly fur's page" />
<link rel="stylesheet" type="text/css" href="/static/commons/junecss.php">
</head>
<body>
@ -17,10 +17,10 @@
<div class="header">
<h1>Juli's page</h1>
<div class="links">
<a href="/">Home</a> <span class="header_seperator">|</span>
<a href="/posts/">Posts</a> <span class="header_seperator">|</span>
<a href="/projects/">Projects</a> <span class="header_seperator">|</span>
<a href="/contacts/">Contact</a>
<a href="/">home</a> <span class="header_seperator">|</span>
<a href="/posts/">posts</a> <span class="header_seperator">|</span>
<a href="/projects/">projects</a> <span class="header_seperator">|</span>
<a href="/contacts/">contact</a>
</div>
<script src="/static/commons/oneko.js"></script>
<?php include $_SERVER['DOCUMENT_ROOT'] . "/lastfm.php";?>