Skip to content

Commit

Permalink
github link
Browse files Browse the repository at this point in the history
  • Loading branch information
naltatis committed Jun 3, 2024
1 parent f558e87 commit 9767c74
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
15 changes: 11 additions & 4 deletions src/components/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,23 @@ import DarkModeToggle from "./DarkModeToggle.astro";
---

<header class="">
<img src="images/logo.svg" alt="Microfrontends Tractor Store" typeof="foaf:Image" class="size-28" />
<img
src="images/logo.svg"
alt="Micro Frontends Tractor Store"
typeof="foaf:Image"
class="size-28"
/>
<div
class="justify-self-end py-2 flex items-center content-center text-text-bold"
>
<!--TODO: change the github link and title-->
<a
class="unset ml-4 rounded-sm transition-[background-size] duration-150 ease-in-out bg-left-bottom bg-[length:0%_55%] hover:bg-[length:100%_55%] bg-no-repeat bg-gradient-to-r from-primary-yellow to-primary-yellow dark:bg-none dark:hover:text-primary-yellow"
href="https://github.com/flexdinesh/blogster"
href="https://github.com/neuland/tractor-store-blueprint"
>
<i class="fa-brands fa-github" aria-hidden="true" title="Blogster on GitHub"></i>
<i
class="fa-brands fa-github"
aria-hidden="true"
title="The Tractor Store - Blueprint"></i>
<span>GitHub</span>
</a>
</div>
Expand Down
12 changes: 4 additions & 8 deletions src/layouts/ContentLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -33,25 +33,21 @@ const formattedDate = new Date(date).toLocaleDateString("en-us", {
<!-- Global Metadata -->
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<meta name="generator" content="Blogster" />
<Favicon />
<slot name="meta" />
<GoogleFont />
<ThemeScript />
<FontAwesome />
</head>

<body
class="max-w-4xl mx-auto min-h-screen px-6 sm:px-8"
>
<body class="max-w-4xl mx-auto min-h-screen px-6 sm:px-8">
<Header />
<main id="main">
<section class="blog-post prose max-w-none prose-bubblegum">
<h1 class="m-0 mb-[0.25em]">
<span class="
pl-6 relative block leading-[150%]
after:absolute after:content-[''] after:w-2 after:h-full after:top-0 after:left-0 after:bg-primary-green
">
<span
class="pl-6 relative block leading-[150%] after:absolute after:content-[''] after:w-2 after:h-full after:top-0 after:left-0 after:bg-primary-green"
>
{title}
</span>
</h1>
Expand Down
5 changes: 1 addition & 4 deletions src/layouts/PageLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,14 @@ import Footer from "../components/Footer.astro";
<!-- Global Metadata -->
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<meta name="generator" content="Blogster" />
<Favicon />
<slot name="meta" />
<GoogleFont />
<ThemeScript />
<FontAwesome />
</head>

<body
class="max-w-4xl mx-auto min-h-screen px-6 sm:px-8"
>
<body class="max-w-4xl mx-auto min-h-screen px-6 sm:px-8">
<Header />
<main id="main">
<slot name="main" />
Expand Down

0 comments on commit 9767c74

Please sign in to comment.