Skip to content

Commit 546d20c

Browse files
authored
Merge branch 'main' into 8698qakbb
2 parents 54d2352 + 31883ca commit 546d20c

24 files changed

+451
-95
lines changed

.github/workflows/deploy.yml

Lines changed: 24 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,33 @@ name: Deploy to GitHub Pages
22

33
on:
44
push:
5-
branches: [main]
5+
branches:
6+
- main
7+
8+
permissions:
9+
contents: write
610

711
jobs:
8-
deploy:
12+
build-and-deploy:
913
runs-on: ubuntu-latest
10-
permissions:
11-
contents: write
12-
pages: write
13-
id-token: write
14-
14+
1515
steps:
16-
- uses: actions/checkout@v4
17-
18-
- uses: actions/setup-node@v4
19-
with:
20-
node-version: 20
21-
22-
- run: npm install
23-
- run: npm run build
24-
25-
- name: Upload artifact
26-
uses: actions/upload-pages-artifact@v3
16+
- name: Checkout code
17+
uses: actions/checkout@v3
18+
19+
- name: Setup Node.js
20+
uses: actions/setup-node@v3
2721
with:
28-
path: dist
29-
22+
node-version: '18'
23+
24+
- name: Install dependencies
25+
run: npm install
26+
27+
- name: Build project
28+
run: npm run build
29+
3030
- name: Deploy to GitHub Pages
31-
uses: actions/deploy-pages@v4
31+
uses: peaceiris/actions-gh-pages@v3
32+
with:
33+
github_token: ${{ secrets.GITHUB_TOKEN }}
34+
publish_dir: ./dist

bun.lockb

-194 KB
Binary file not shown.

content/blog/Tech_stack.md

Whitespace-only changes.

content/blog/test-of-the-blog.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
---
2+
title: "Test of the blog"
3+
date: "2025-04-17"
4+
slug: "test-of-the-blog"
5+
description: "Just a test of the blog"
6+
author: "Author"
7+
image: "public/uploads/tektalentlogo.png"
8+
category: "Technology"
9+
---
10+
## Overview
11+
Our blog system is built using a static markdown-based approach, which provides several benefits including:
12+
- Fast loading times
13+
- Easy content management
14+
- Version control friendly
15+
- SEO optimized
16+
17+
## Content Structure
18+
Each blog post consists of two main parts:
19+
1. Frontmatter (Metadata)
20+
2. Content (Markdown)
21+
22+
### Frontmatter
23+
The frontmatter contains essential metadata about the blog post:
24+
- title: The main title of the post
25+
- date: Publication date
26+
- description: A brief summary of the post
27+
- author: The writer's name
28+
- image: Path to the featured image
29+
- category: Post categorization
30+
- slug: URL-friendly identifier
31+
32+
### Content
33+
The main content is written in Markdown format, which supports:
34+
- Headers
35+
- Lists
36+
- Links
37+
- Images
38+
- Code blocks
39+
- And more...
40+
41+
## Technical Implementation
42+
The system uses:
43+
- TypeScript for type safety
44+
- Gray-matter for parsing markdown files
45+
- Static file generation for optimal performance
46+
47+
## How to Create a New Post
48+
1. Create a new markdown file
49+
2. Add frontmatter with required metadata
50+
3. Write content in markdown format
51+
4. Save the file in the appropriate directory

dist/.nojekyll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

dist/assets/index-BHHKzMYB.js renamed to dist/assets/index-DIslrmKe.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
}
2525
}(window.location))
2626
</script>
27-
<script type="module" crossorigin src="/tektalentafrica.github.io/assets/index-BHHKzMYB.js"></script>
28-
<link rel="stylesheet" crossorigin href="/tektalentafrica.github.io/assets/index-Wqfqm6TP.css">
27+
<script type="module" crossorigin src="/assets/index-DIslrmKe.js"></script>
28+
<link rel="stylesheet" crossorigin href="/assets/index-Wqfqm6TP.css">
2929
</head>
3030

3131
<body>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"type": "module",
77
"scripts": {
88
"dev": "vite",
9-
"build": "vite build",
9+
"build": "vite build && echo > dist/.nojekyll",
1010
"build:dev": "vite build --mode development",
1111
"lint": "eslint .",
1212
"preview": "vite preview",

public/assets/Color Palette.pdf

252 KB
Binary file not shown.

public/assets/Primary Logo.pdf

34.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)