Skip to content

Commit

Permalink
Change font, create page 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Arihant25 committed Apr 13, 2024
1 parent 82e36a7 commit a2c9568
Show file tree
Hide file tree
Showing 8 changed files with 108 additions and 20 deletions.
10 changes: 5 additions & 5 deletions 1/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ <h2>a short story </h2>
</div>

<div>
<p>Ed Sheeran once said, "The club isn't the best place to find a lover, so the bar is where i go,"; but i haven't had much luck with either. or anything, really.</p>
<p>Ed Sheeran once said, The club isn't the best place to find a lover, so the bar is where i go,; but i haven't had much luck with either. or anything, really.</p>
<blockquote>
<p><em>i have this vision, ever so clear, in my mind-</em></p>
<p><em>i have this vision, ever so clear, in my mind</em></p>
<p><em>of a boy (i want to make him mine).</em></p>
<p><em>scruffy hair, bushy brows.</em></p>
<p><em>kind eyes. a very greek nose.</em></p>
</blockquote>
<p>his smile a mirror of the way the earth tilts, ever so gentle. my charming man.
but he only exists on a slice of stretchedout cotton.
but he only exists on a slice of stretched-out cotton.
every detail of his i have painted lovingly, the brushstrokes merging into each other as if they're lovers' tears meeting after a War. ever so careful. not lazy as i usually am, flitting around with my makeshift palette and the painting evolving as i go.
when the paint dries, dare i touch it with my fingertips?
he looks at me with his soft gaze. i see him blink slowly out of the corner of my eye, just when he thinks i'm not looking.</p>
Expand All @@ -54,7 +54,7 @@ <h2>a short story </h2>
<p>it has been five days since i have crafted the bane of my existence. he doesn't let me sleep, barely lets me eat, and forget about my peace of mind. he MUST exist somewhere beyond two dimensions. he simply must.
oh, and the efforts i had made yesterday to undo his trickery have been in vain. he is back with his smirk, the shirt now almost entirely open, his hands behind his back so i can admire his front undisturbed. i fear for myself.</p>
<p></p>
<p>on the sixth day, you move unflinchingly in front of me. six days it took God to create the world as we know it. and you are my world now. i think of nothing else. i wish you didn't consume me as you do. it makes me feel so powerless. you reach out, beyond the restraints of the canvas, and you tap my nose cheerily, ignoring the state of shock i have retreated into. "yes, i'm alive," you say, when my eyes pose the obvious question.
<p>on the sixth day, you move unflinchingly in front of me. six days it took God to create the world as we know it. and you are my world now. i think of nothing else. i wish you didn't consume me as you do. it makes me feel so powerless. you reach out, beyond the restraints of the canvas, and you tap my nose cheerily, ignoring the state of shock i have retreated into. yes, i'm alive, you say, when my eyes pose the obvious question.
you are larger than life. larger than any other tangible thing. i did not paint a personality to match your face, but you seem to have come with one. a BOGO offer from the Heavens above.
also, i am DEFINITELY insane. or in the midst of a cruel dream.</p>
<p></p>
Expand All @@ -63,7 +63,7 @@ <h2>a short story </h2>
<p></p>
<p>the world falls apart slowly and so do i. at your every touch i unravel slowly, as if i were a silkworm's cocoon, at the gentle hands of a seasoned sericulturist. every second i anticipate that you are about to evaporate, diminish, and you don't. seconds pass, minutes, hours, and you don't, and it is the best thing that has happened to me in a while now.</p>
<p></p>
<p>i want to take you outside with me. bend down to sniff the roses in rows in full bloom. ride our bikes haphazardly along the beatenup cycling track, barely missing each others' wheels, having several near—death experiences.
<p>i want to take you outside with me. bend down to sniff the roses in rows in full bloom. ride our bikes haphazardly along the beaten-up cycling track, barely missing each others' wheels, having several near—death experiences.
but you have to stay within the confines of this house, as we found out yesterday. you were made here, after all. you cannot leave.
and i cannot leave you.</p>
<hr>
Expand Down
40 changes: 40 additions & 0 deletions 2/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>inkvent.</title>
<link rel="stylesheet" type="text/css" href="/inkvent/static/styles/page.css">
</head>

<body>
<nav class="navbar">
<div class="nav-center"><a href="/inkvent/index.html">inkvent.</a></div>
<div class="nav-right"><a href="/inkvent/about.html">about us</a></div>
</nav>

<div class="article-body">
<h1>How To Deal With Any Problem in Life </h1>
<h2>7 Things to Remember </h2>

<div class="metadata-container">
<div class="metadata-left">
<p class="author"> Arihant</p>
<p class="date"> April 11, 2024 </p>
</div>

<!-- Spotify integration -->
<iframe src="https://open.spotify.com/embed/track/7LVHVU3tWfcxj5aiPFEW4Q?utm_source=generator" frameBorder="0" allowfullscreen=""
allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture" loading="lazy"
id="spotify">
</iframe>
</div>

<div>
<p>Remember, life is not a problem to be solved, but a mystery to be lived. Embrace it. Enjoy it. And most importantly, learn from it. Every problem you face is an opportunity to grow, to evolve, to become the best version of yourself. So, don't be afraid of problems. Embrace them. They are your teachers, your guides, your friends. They are here to help you become who you are meant to be. So, face them head on. And remember, you are stronger than you think. You are wiser than you know. You are more powerful than you can imagine. You are a human being. And that's the most amazing thing in the universe.</p>
</div>
</div>
</body>

</html>
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,26 @@ This is a blog written by Arihant and ira about random stuff.

How to run locally and add new articles:

**Prerequisites**: You need [Python](https://www.python.org/downloads/) and [git](https://git-scm.com/downloads) installed.
**Prerequisites**: You need [Python](https://www.python.org/downloads/) and [git](https://git-scm.com/downloads) installed.

1. Clone the repo

```
git clone https://github.com/Arihant25/inkvent.git
cd inkvent
```
2. Activate the virtual environment with
2. Create and activate a virtual environment
`.\venv\Scripts\activate`
```
python -m venv venv
.\venv\Scripts\activate
2. Install the required packages
`pip install -r requirements.txt`
4. Add new articles to the `pages` folder following the format given in the `page_template.md` file
4. Add new articles to the `\projects\pages` folder following the format given in the `page_template.md` file
5. Run the `app.py` file
`python projects/app.py`
The static files for the GitHub pages are generated in the root folder of the project.
Expand Down
13 changes: 12 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<!-- List all articles -->
<div class="articles">

<div class="article-preview" style="background-image: url('https://images.unsplash.com/photo164726285908874acf50d422c?q=80&amp;w=1548&amp;auto=format&amp;fit=crop&amp;ixlib=rb4.0.3&amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D')">
<div class="article-preview" style="background-image: url('https://images.unsplash.com/photo-1647262859088-74acf50d422c?q=80&amp;w=1548&amp;auto=format&amp;fit=crop&amp;ixlib=rb-4.0.3&amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D')">
<a href="/inkvent/1/index.html">
<h2 class="article-title"> Drink to me, drink to my health </h2>
<p class="article-subtitle"> a short story </p>
Expand All @@ -28,6 +28,17 @@ <h2 class="article-title"> Drink to me, drink to my health </h2>
</a>
</div>

<div class="article-preview" style="background-image: url('https://images.unsplash.com/photo-1501770118606-b1d640526693?q=80&amp;w=2940&amp;auto=format&amp;fit=crop&amp;ixlib=rb-4.0.3&amp;ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D')">
<a href="/inkvent/2/index.html">
<h2 class="article-title"> How To Deal With Any Problem in Life </h2>
<p class="article-subtitle"> 7 Things to Remember </p>
<div class="metadata-container">
<p class="date"> April 11, 2024 </p>
<p class="author"> Arihant</p>
</div>
</a>
</div>

</div>


Expand Down
12 changes: 6 additions & 6 deletions project/pages/1.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ title: Drink to me, drink to my health
subtitle: a short story
date: April 6, 2024
author: ira
img_url: https://images.unsplash.com/photo164726285908874acf50d422c?q=80&w=1548&auto=format&fit=crop&ixlib=rb4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D
img_url: https://images.unsplash.com/photo-1647262859088-74acf50d422c?q=80&w=1548&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D
song_url: https://open.spotify.com/embed/track/1PYVWMwBocquvlCpYzwwxA?utm_source=generator

Ed Sheeran once said, "The club isn't the best place to find a lover, so the bar is where i go,"; but i haven't had much luck with either. or anything, really.
Ed Sheeran once said, The club isn't the best place to find a lover, so the bar is where i go,; but i haven't had much luck with either. or anything, really.


> _i have this vision, ever so clear, in my mind-_
> _i have this vision, ever so clear, in my mind_
> _of a boy (i want to make him mine)._
Expand All @@ -18,7 +18,7 @@ Ed Sheeran once said, "The club isn't the best place to find a lover, so the bar
> _kind eyes. a very greek nose._
his smile a mirror of the way the earth tilts, ever so gentle. my charming man.
but he only exists on a slice of stretchedout cotton.
but he only exists on a slice of stretched-out cotton.
every detail of his i have painted lovingly, the brushstrokes merging into each other as if they're lovers' tears meeting after a War. ever so careful. not lazy as i usually am, flitting around with my makeshift palette and the painting evolving as i go.
when the paint dries, dare i touch it with my fingertips?
he looks at me with his soft gaze. i see him blink slowly out of the corner of my eye, just when he thinks i'm not looking.
Expand Down Expand Up @@ -48,7 +48,7 @@ oh, and the efforts i had made yesterday to undo his trickery have been in vain.


on the sixth day, you move unflinchingly in front of me. six days it took God to create the world as we know it. and you are my world now. i think of nothing else. i wish you didn't consume me as you do. it makes me feel so powerless. you reach out, beyond the restraints of the canvas, and you tap my nose cheerily, ignoring the state of shock i have retreated into. "yes, i'm alive," you say, when my eyes pose the obvious question.
on the sixth day, you move unflinchingly in front of me. six days it took God to create the world as we know it. and you are my world now. i think of nothing else. i wish you didn't consume me as you do. it makes me feel so powerless. you reach out, beyond the restraints of the canvas, and you tap my nose cheerily, ignoring the state of shock i have retreated into. yes, i'm alive, you say, when my eyes pose the obvious question.
you are larger than life. larger than any other tangible thing. i did not paint a personality to match your face, but you seem to have come with one. a BOGO offer from the Heavens above.
also, i am DEFINITELY insane. or in the midst of a cruel dream.

Expand All @@ -68,7 +68,7 @@ the world falls apart slowly and so do i. at your every touch i unravel slowly,


i want to take you outside with me. bend down to sniff the roses in rows in full bloom. ride our bikes haphazardly along the beatenup cycling track, barely missing each others' wheels, having several near—death experiences.
i want to take you outside with me. bend down to sniff the roses in rows in full bloom. ride our bikes haphazardly along the beaten-up cycling track, barely missing each others' wheels, having several near—death experiences.
but you have to stay within the confines of this house, as we found out yesterday. you were made here, after all. you cannot leave.
and i cannot leave you.

Expand Down
25 changes: 25 additions & 0 deletions project/pages/2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
id: 2
title: How To Deal With Any Problem in Life
subtitle: 7 Things to Remember
date: April 11, 2024
author: Arihant
img_url: https://images.unsplash.com/photo-1501770118606-b1d640526693?q=80&w=2940&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D
song_url: https://open.spotify.com/embed/track/7LVHVU3tWfcxj5aiPFEW4Q?utm_source=generator

Look, life is hard. It's a fact. But it's also a fact that you can deal with it. Billions of people have dealt with it before you, and billions more will do after you are gone. So, why not learn from them? Here are some strategies to use when you're faced with any problem in life:

1. **Take a deep breath**: This is the first step to dealing with any problem. It helps you calm down and think clearly. Often in the heat of the moment, we start panicking and hyperventilating and forgetting to breathe. So, take a deep breath and relax.

2. **Take cosmic flight**: Ancient philosophers talked about the concept of cosmic flight. You can do this right now — picture yourself slowly lifting up out of your life, above the ground and towards the skies. Keep going higher and higher until you can see the whole planet stretch out below you. Every thing you experienced, every one you know, every problem you have, is just a speck of sand on this tiny blue dot. You are bigger than your problems.

3. **Don't break down, break through**: When faced with a problem, don't let it break you down. Instead, let it break through you. Let it shatter your old self and make way for a new, stronger you. Problems are like a chisel, and you are the marble. They are here to sculpt you into a masterpiece. Embrace them.

4. **Don't ask why, ask how**: Instead of asking why this problem happened to you, ask how you can solve it. This shifts your focus from the past to the present and future. Remember, you are not a victim of your circumstances. You are the master of your destiny. See every problem as an opportunity to prove yourself, to grow, to evolve. You can never know how strong you are until being strong is your only choice.

5. **Don't seek perfection, seek progress**: Life is not about being perfect. It's about making progress. Every step you take, no matter how small, is a step forward. Don't get bogged down by the fear of failure. Embrace it as a part of the journey. No one was ever perfect from the start. They all had to learn, to grow, to evolve. So do you. You will stumble, you will fall, but but you will always get back up, ready to fight another day. That's what humans do. That's what you do.

6. **Don't go it alone**: You are not alone in this journey. There are people who care about you, who love you, who want to help you. Reach out to them. Share your problems, your fears, your doubts. Life is a multiplayer game, whether you like it or not. You can't win it alone. So, don't be afraid to ask for help. It's not a sign of weakness, it's a sign of strength. It takes courage to admit that you can't do it alone. But once you do, you'll find that the world is full of people who are willing to lend you a hand.

7. **Don't give up, give in**: When faced with a problem, don't give up. Give in. Surrender to the flow of life. Accept that you can't control everything. Accept that you can't always win. Accept that you are not perfect. Accept that you are human. And then, let go. Let go of your fears, your doubts, your insecurities. Let go of your need to be right, to be in control, to be perfect. Let go of your ego. Let go of your past. Let go of your future. Let go of everything. And then, just be. Be in the moment. Be in the now. Be in the flow. Be in the universe. Be in yourself.

Remember, life is not a problem to be solved, but a mystery to be lived. Embrace it. Enjoy it. And most importantly, learn from it. Every problem you face is an opportunity to grow, to evolve, to become the best version of yourself. So, don't be afraid of problems. Embrace them. They are your teachers, your guides, your friends. They are here to help you become who you are meant to be. So, face them head on. And remember, you are stronger than you think. You are wiser than you know. You are more powerful than you can imagine. You are a human being. And that's the most amazing thing in the universe.
7 changes: 6 additions & 1 deletion project/static/styles/page.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
/* IBM Plex Serif */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');

body {
background-color: #000000;
color: #fff;
font-family: 'CMU Serif';
font-family: "IBM Plex Serif", serif;
font-weight: 400;
font-style: normal;
}

.navbar {
Expand Down
7 changes: 6 additions & 1 deletion static/styles/page.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
/* IBM Plex Serif */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');

body {
background-color: #000000;
color: #fff;
font-family: 'CMU Serif';
font-family: "IBM Plex Serif", serif;
font-weight: 400;
font-style: normal;
}

.navbar {
Expand Down

0 comments on commit a2c9568

Please sign in to comment.