Skip to content

Commit

Permalink
Change config
Browse files Browse the repository at this point in the history
  • Loading branch information
emrepbu committed Jan 10, 2025
1 parent dda7ddb commit b6a6c94
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 37 deletions.
9 changes: 7 additions & 2 deletions src/components/SocialList.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
import { Icon } from "astro-icon/components";
/**
/**
Uses https://www.astroicon.dev/getting-started/
Find icons via guide: https://www.astroicon.dev/guides/customization/#open-source-icon-sets
Only installed pack is: @iconify-json/mdi
Expand All @@ -14,9 +14,14 @@ const socialLinks: {
}[] = [
{
friendlyName: "Github",
link: "https://github.com/chrismwilliams/astro-cactus",
link: "https://github.com/emrepbu/",
name: "mdi:github",
},
{
friendlyName: "X",
link: "https://x.com/pbuemre/",
name: "mdi:twitter",
},
];
---

Expand Down
2 changes: 1 addition & 1 deletion src/components/layout/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import { menuLinks } from "@/site.config";
fill="#53C68C"></path>
<path d="M45.334 240 0 213.334v120L45.334 360V240Z" fill="#B04304"></path>
</svg>
<span class="text-xl font-bold sm:text-2xl">Astro Cactus</span>
<span class="text-xl font-bold sm:text-2xl">emrepbu</span>
</a>
<nav
aria-label="Main menu"
Expand Down
27 changes: 1 addition & 26 deletions src/pages/about.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,11 @@
import PageLayout from "@/layouts/Base.astro";
const meta = {
description: "I'm a starter theme for Astro.build",
description: "descriptions",
title: "About",
};
---

<PageLayout meta={meta}>
<h1 class="title mb-6">About</h1>
<div class="prose prose-sm prose-cactus max-w-none">
<p>
Hi, I’m a starter Astro. I’m particularly great for getting you started with your own blogging
website.
</p>
<p>Here are my some of my awesome built in features:</p>
<ul class="list-inside list-disc" role="list">
<li>I'm ultra fast as I'm a static site</li>
<li>I'm fully responsive</li>
<li>I come with a light and dark mode</li>
<li>I'm easy to customise and add additional content</li>
<li>I have Tailwind CSS styling</li>
<li>Shiki code syntax highlighting</li>
<li>Satori for auto generating OG images for blog posts</li>
</ul>
<p>
Clone or fork my <a
aria-label="github repository"
class="cactus-link inline-block"
href="https://github.com/chrismwilliams/astro-cactus"
rel="noreferrer"
target="_blank">repo</a
> if you like me!
</p>
</div>
</PageLayout>
4 changes: 1 addition & 3 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ const latestNotes = allNotes.sort(collectionDateSort).slice(0, MAX_NOTES);
<section>
<h1 class="title mb-6">Hello World!</h1>
<p class="mb-4">
Hi, I’m a theme for Astro, a simple starter that you can use to create your website or blog.
If you want to know more about how you can customise me, add more posts, and make it your own,
click on the GitHub icon link below and it will take you to my repo.
Hi, ...
</p>
<SocialList />
</section>
Expand Down
10 changes: 5 additions & 5 deletions src/site.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { AstroExpressiveCodeOptions } from "astro-expressive-code";

export const siteConfig: SiteConfig = {
// Used as both a meta property (src/components/BaseHead.astro L:31 + L:49) & the generated satori png (src/pages/og-image/[slug].png.ts)
author: "Chris Williams",
author: "emrepbu",
// Date.prototype.toLocaleDateString() parameters, found in src/utils/date.ts.
date: {
locale: "en-GB",
Expand All @@ -14,13 +14,13 @@ export const siteConfig: SiteConfig = {
},
},
// Used as the default description meta property and webmanifest description
description: "An opinionated starter theme for Astro",
description: "description",
// HTML lang property, found in src/layouts/Base.astro L:18 & astro.config.ts L:48
lang: "en-GB",
lang: "tr-TR",
// Meta property, found in src/components/BaseHead.astro L:42
ogLocale: "en_GB",
ogLocale: "tr_TR",
// Used to construct the meta title property found in src/components/BaseHead.astro L:11, and webmanifest name found in astro.config.ts L:42
title: "Astro Theme Cactus",
title: "kisisel blog",
};

// Used to generate links in both the Header & Footer.
Expand Down

0 comments on commit b6a6c94

Please sign in to comment.