cleaned up directory

This commit is contained in:
Camille Frantz 2024-04-30 00:41:42 -05:00
parent 357f513cdd
commit 37d711da06
Signed by: fyrfli
SSH Key Fingerprint: SHA256:cyNGncrLxKXAgYC96dYNROnQKikLInzrpiMraZdqyhY
28 changed files with 31 additions and 178 deletions

5
.gitignore vendored
View File

@ -1,5 +0,0 @@
<<<<<<< HEAD
.DS_Store
=======
.DS_Store
>>>>>>> 7f4013d (Initial)

View File

@ -1,11 +0,0 @@
const disp = document.querySelector(".display");
fetch("https://cdn.fyrfli.link/FavouriteQuotes.json")
.then((response) => {
return response.json();
})
.then((data) => {
numQuotes = Object.entries(data).length;
num = Math.floor(Math.random() * numQuotes);
disp.innerText = data[num].quote + "\n\n" + data[num].author.replace(/"/g, '');
})

View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@ -1,17 +1,36 @@
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
<title>read quote</title>
<link rel="stylesheet" href="style.css">
</head>
<head>
<meta charset="utf-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
<title>fyrfli's favourite quotes</title>
<link rel="shortcut icon" href="assets/img/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="css/styles.css">
</head>
<body>
<div class="display"></div>
<script src="app.js"></script>
</body>
<body>
<header class="header">
<img src="https://cdn.fyrfli.link/i/hat-small.png"
alt="close-up of a black woman in a trilby, eyes down, the hat covering most of her face" class="hdr-img">
<h1 class="hdr-h1">fyrfli's quote library</h1>
</header>
</html>
<main class="container">
<article class="debug"></article>
<article class="quotes"></article>
</main>
<footer class="footer">
<a href="https://fyrfli.dev/fyrfli/jsquotes"><img src="https://cdn.fyrfli.link/DashboardIcons/gitea.png"
alt="the gitea logo - a green cup with a git symbol tagged tea bag tab hanging on the front" class="icon">
Source</a> for this page <br>
&copy;<span id="jsyear"></span> Camille (<a href="https://fyrfli.dev/fyrfli" target="_blank">@fyrfli</a>) Frantz.
</footer>
<!-- <script src="app.js"></script> -->
<script src="js/layout.js"></script>
</body>
</html>

View File

@ -1,98 +0,0 @@
[
{
"quote": "Everything has its wonders, even darkness and silence, and I learn, whatever state I may be in , therein to be content.",
"author": "Helen Keller"
},
{
"quote": "Tomorrow, and tomorrow, and tomorrow, Creeps in this petty pace from day to day, To the last syllable of recorded time; And all our yesterdays have lighted fools The way to dusty death. Out, out, brief candle! Life's but a walking shadow, a poor player That struts and frets his hour upon the stage And then is heard no more. It is a tale Told by an idiot, full of sound and fury Signifying nothing.",
"author": "Macbeth \n (Act 5, Scene 5, lines 19-28)"
},
{
"quote": "He who has health has hope. And he who has hope, has everything.",
"author": "Arabian Proverb"
},
{
"quote": "In the midst of movement and chaos, keep stillness inside of you.",
"author": "Deepak Chopra"
},
{
"quote": "The worst sin toward our fellow creatures is not to hate them, but to be indifferent to them: that's the essence of inhumanity.",
"author": "George Bernard Shaw; \n Irish dramatist & socialist (1856 - 1950)"
},
{
"quote": "We come to love not by finding a perfect person, but by learning to see an imperfect person perfectly.",
"author": "Sam Keen"
},
{
"quote": "A friend is someone who understands your past, believes in your future, and accepts you just the way you are",
"author": "Paul Holdorsen"
},
{
"quote": "Ambition is the last refuge of failure",
"author": "Oscar Wilde"
},
{
"quote": "Love never dies a natural death. It dies because we don't know how to replenish its source. It dies of blindness and errors and betrayals. It dies of illness and wounds; it dies of weariness, of withering, of tarnishing.",
"author": "Anais Nin"
},
{
"quote": "Few people think more than two or three times a year; I have made an international reputation for myself by thinking once or twice a week.",
"author": "George Bernard Shaw; \n Irish dramatist & socialist (1856 - 1950)"
},
{
"quote": "It doesn't interest me where or what or with whom you have studied. I want to know what sustains you from the inside when all else falls away. I want to know if you can be alone with yourself and if you truly like the company you keep in the empty moments.",
"author": "from ... The Invitation, \n Oriah Mountain Dreamer"
},
{
"quote": "You never really understand a person until you consider things from his point of view... until you climb into his skin and walk around in it.",
"author": "Harper Lee, \n To Kill a Mockingbird"
},
{
"quote": "I think there's just one kind of folks. Folks.",
"author": "Harper Lee, \n To Kill a Mockingbird"
},
{
"quote": "The Best Things In Life... \n Hot showers on a cold night \n Snow flurries and moonlight \n The smell of freshly washed towels \n Fog over fields and fireflies \n Country storms \n Being home",
"author": "Camille Frantz"
},
{
"quote": "Nothing is original. Steal from anywhere that resonates with inspiration or fuels your imagination. Devour old films, new films, books, paintings, photographs, poems, dreams, random conversations, architecture, bridges, street signs, trees..., clouds, bodies of water, light and shadows. Select only things to steal from that speak directly to your soul. If you do this, your work (and theft) will be authentic. Authenticity is invaluable; originality is non-existent. And don't bother concealing your thievery - celebrate it if you feel like it. In any case, always remember what Jean-Luc Godard said: 'it's not where you take things from - its where you take them to.'",
"author": "Jim Jarmusch"
},
{
"quote": "Almost everything will work again if you unplug it for a few minutes, including you.",
"author": "Anne Lamott"
},
{
"quote": "If you compare yourself with others, you may become vain or bitter, for always there will be greater and lesser persons than yourself.",
"author": "Max Ehrmann"
},
{
"quote": "Life should be touched, not strangled. You've got to relax, let it happen at times, and at others move forward with it.",
"author": "Ray Bradbury"
},
{
"quote": "When you're from a dysfunctional family, healthy boundaries are viewed as threatening. Making an observation, expressing an expectation, refusing to be involved in chaos, or expressing a different view point, will likely lead to you being labeled as mean, funny acting, or weird. Not going along with the typical chaos can seem like you're trying to make waves in the family. The truth is, you are making waves; you're breaking the cycle of dysfunction and that isn't always well received by others.",
"author": "@NEDRATAWWAB, https://www.nedratawwab.com/"
},
{
"quote": "Strategy is better than strength.",
"author": "Hausa proverb"
},
{
"quote": "When the door is closed, you must learn to slide across the crack of the sill.",
"author": "Yoruba proverb"
},
{
"quote": "If you are on a road to nowhere, find another road.",
"author": "Ashanti proverb"
},
{
"quote": "Those who get to the river early drink the cleanest water.",
"author": "Kenyan proverb"
},
{
"quote": "Two men in a burning house must not stop to argue.",
"author": "Ashanti proverb"
}
]

View File

@ -1,36 +0,0 @@
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
<title>fyrfli's favourite quotes</title>
<link rel="shortcut icon" href="assets/img/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="css/styles.css">
</head>
<body>
<header class="header">
<img src="https://cdn.fyrfli.link/i/hat-small.png"
alt="close-up of a black woman in a trilby, eyes down, the hat covering most of her face" class="hdr-img">
<h1 class="hdr-h1">fyrfli's quote library</h1>
</header>
<main class="container">
<article class="debug"></article>
<article class="quotes"></article>
</main>
<footer class="footer">
<a href="https://fyrfli.dev/fyrfli/jsquotes"><img src="https://cdn.fyrfli.link/DashboardIcons/gitea.png"
alt="the gitea logo - a green cup with a git symbol tagged tea bag tab hanging on the front" class="icon">
Source</a> for this page <br>
&copy;<span id="jsyear"></span> Camille (<a href="https://fyrfli.dev/fyrfli" target="_blank">@fyrfli</a>) Frantz.
</footer>
<!-- <script src="app.js"></script> -->
<script src="js/layout.js"></script>
</body>
</html>

View File

@ -1,16 +0,0 @@
body {
width: 80vw;
max-width: 500px;
margin: auto;
padding-top: 4rem;
background-color: beige;
}
.display {
background: linear-gradient(to bottom right, #0c024d, #0dbcc5);
background-attachment: fixed;
color: white;
font-size: 1.2rem;
padding: 2rem;
border-radius: 12px;
}