~zethra/my-website

56030318a4e6a21604ab0c7e1997521da1eb0c00 — zethra 10 months ago 6041add
Added content to main page

Signed-off-by: zethra <jediben97@gmail.com>
6 files changed, 88 insertions(+), 4 deletions(-)

M sass/main.scss
D static/.gitkeep
A static/mastodon.svg
A static/sourcehut.svg
M templates/base.html
M templates/index.html
M sass/main.scss => sass/main.scss +72 -3
@@ 15,15 15,34 @@ body {

a {
  color: $green;
  text-decoration: none;
}

a:visited {
  color: $cyan;
}

nav a {
  font-size: 2rem;
  padding-right: 1rem;
a:hover {
  text-decoration: underline;
}

nav {
  width: 100%;
  text-align: right;
  margin: 1rem 0;

  a {
    font-size: 2rem;
    padding-right: 1rem;
  }

  a:visited {
    color: $green;
  }
}

hr {
  width: 100%;
}

.date {


@@ 34,4 53,54 @@ nav a {
.prompt {
  font-family: $font-mono;
  font-weight: 500;
  font-size: 2.5rem;
}

#index-content {
  font-size: 1.2rem;
}

#links {
  display: flex;
  flex-direction: column;
  .mastodon div {
    mask: url(mastodon.svg) no-repeat center;
    -webkit-mask: url(mastodon.svg) no-repeat center;
  }
  a.mastodon:hover {
    color: $cyan;
    div {
      background-color: $cyan;
    }
  }

  .srht div {
    mask: url(sourcehut.svg) no-repeat center;
    -webkit-mask: url(sourcehut.svg) no-repeat center;
  }
  a.srht:hover {
    color: $purple;
    div {
      background-color: $purple;
    }
  }

  a {
    font-size: 2.5rem;
    color: $fg;
    line-height: 1.5;

    div {
      margin: 0 1rem;
      height: 3rem;
      width: 3rem;
      display: inline-block;
      vertical-align: text-top;
      background-color: $fg;

      i {
        display: none;
      }
    }
  }
}

D static/.gitkeep => static/.gitkeep +0 -0
A static/mastodon.svg => static/mastodon.svg +1 -0
@@ 0,0 1,1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M433 179.11c0-97.2-63.71-125.7-63.71-125.7-62.52-28.7-228.56-28.4-290.48 0 0 0-63.72 28.5-63.72 125.7 0 115.7-6.6 259.4 105.63 289.1 40.51 10.7 75.32 13 103.33 11.4 50.81-2.8 79.32-18.1 79.32-18.1l-1.7-36.9s-36.31 11.4-77.12 10.1c-40.41-1.4-83-4.4-89.63-54a102.54 102.54 0 0 1-.9-13.9c85.63 20.9 158.65 9.1 178.75 6.7 56.12-6.7 105-41.3 111.23-72.9 9.8-49.8 9-121.5 9-121.5zm-75.12 125.2h-46.63v-114.2c0-49.7-64-51.6-64 6.9v62.5h-46.33V197c0-58.5-64-56.6-64-6.9v114.2H90.19c0-122.1-5.2-147.9 18.41-175 25.9-28.9 79.82-30.8 103.83 6.1l11.6 19.5 11.6-19.5c24.11-37.1 78.12-34.8 103.83-6.1 23.71 27.3 18.4 53 18.4 175z"/></svg>
\ No newline at end of file

A static/sourcehut.svg => static/sourcehut.svg +1 -0
@@ 0,0 1,1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200z"></path></svg>
\ No newline at end of file

M templates/base.html => templates/base.html +1 -0
@@ 21,6 21,7 @@
        <a href="{{ index_path | safe }}">Home</a>
        <a href="{{ blog_path | safe }}">Blog</a>
    </nav>
    <hr />
    {% block content %} {% endblock content %}
</body>


M templates/index.html => templates/index.html +13 -1
@@ 14,8 14,20 @@
    </h1>
</header>

<main>
<main id="index-content">
    <p>I love writing software. I also hate all of it.</p>
    <p>My name is Ben Aaron Goldberg. I'm a student and software developer. I
        like FOSS, Rust, Linux, and being mad at software. I start a lot of projects
        and finish a few of them.</p>

    <div id="links">
        <a class="mastodon" href="https://fosstodon.org/@zethra">
            <div><i>Mastodon</i></div>@zethra@fosstodon.org
        </a>
        <a class="srht" href="https://sr.ht/~zethra/">
            <div><i>Sourcehut</i></div>~zethra
        </a>
    </div>
</main>

{% endblock content %}
\ No newline at end of file