Skip to content

Commit f95f056

Browse files
authored
Merge pull request #34 from BakirGracic/production
move/copy prod branch to prod head
2 parents 7220273 + ef6e47f commit f95f056

38 files changed

Lines changed: 260 additions & 427 deletions

File tree

.github/workflows/cd-prod-nextjs.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,5 @@ jobs:
3131
npm run build
3232
3333
- name: Start Next.js
34-
env:
35-
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
36-
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
3734
run: |
3835
pm2 reload all --update-env

.gitignore

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/node_modules
2-
3-
/.next/
4-
5-
certificates
1+
.next
2+
node_modules
3+
certificates

.prettierignore

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
1-
node_modules/
2-
3-
.next/
4-
5-
**/images/**/*
6-
7-
**/*.{jpg,jpeg,png,gif,svg,webp,mp4,avi,mov,wmv,mkv,flv,webm,ogg}
8-
9-
src/blog_posts/
10-
11-
public/
12-
1+
.next
2+
certificates
3+
node_modules
4+
**/images/**
5+
src/blog_posts
6+
public
137
.prettierignore
14-
158
.gitignore
16-
179
.env*

package-lock.json

Lines changed: 128 additions & 128 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,32 @@
11
{
22
"name": "bakir-dev",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"private": true,
55
"scripts": {
66
"dev": "rm -rf .next && next dev --turbopack --experimental-https",
7-
"build": "rm -rf .next && next lint && next build",
7+
"build": "next build",
88
"start": "next start",
99
"lint": "next lint",
10-
"prettier": "prettier --write '**/*.*'"
10+
"prettier": "prettier --write '**/*.*'",
11+
"update": "npx npm-check-updates -u && npm i"
1112
},
1213
"dependencies": {
1314
"@heroicons/react": "^2.2.0",
14-
"@next/third-parties": "~15.1.6",
15-
"@tailwindcss/postcss": "^4.0.1",
16-
"marked": "~15.0.6",
17-
"next": "~15.1.6",
15+
"@next/third-parties": "~15.1.7",
16+
"@tailwindcss/postcss": "^4.0.6",
17+
"marked": "~15.0.7",
18+
"next": "~15.1.7",
1819
"react": "^19.0.0",
1920
"react-dom": "^19.0.0"
2021
},
2122
"devDependencies": {
2223
"@eslint/eslintrc": "^3",
2324
"@tailwindcss/typography": "^0.5.16",
2425
"eslint": "^9",
25-
"eslint-config-next": "~15.1.6",
26-
"postcss": "^8.5.1",
27-
"prettier": "^3.4.2",
26+
"eslint-config-next": "~15.1.7",
27+
"postcss": "^8.5.2",
28+
"prettier": "^3.5.0",
2829
"prettier-plugin-tailwindcss": "^0.6.11",
29-
"tailwindcss": "^4.0.1"
30+
"tailwindcss": "^4.0.6"
3031
}
3132
}

src/app/links/page.jsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import Script from 'next/script';
22
import Button from '@/features/ui/components/Button';
3-
import Form from '@/features/contact_form/components/Form';
43
import GitHub from '@/features/icons/components/GitHub';
54
import LinkedIn from '@/features/icons/components/LinkedIn';
65
import Twitter from '@/features/icons/components/Twitter';
@@ -196,13 +195,12 @@ export default function Links() {
196195
id='contact'
197196
className='heading2'
198197
>
199-
Contact Form
198+
Contact
200199
</h2>
201200
<div className='mb-6'>
202-
<p>Send me an email directly using the form below! If you prefer to send it yourself, send it to:&nbsp;&nbsp;&nbsp;</p>
201+
<p>If you prefer emails, you can send me one to:&nbsp;&nbsp;&nbsp;</p>
203202
<span className='!font-mono'>me (at) bakir (dot) dev</span>
204203
</div>
205-
<Form />
206204
</section>
207205
</>
208206
);

src/app/page.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export default function Homepage() {
103103
Let&apos;s connect! If you have any questions or you just want to chat, feel free to reach out. I&apos;m always curious about new opportunities and collaborations
104104
</p>
105105
<ArrowLink
106-
href='/links#contact'
106+
href='/links'
107107
text='Contact me'
108108
title='Links Page'
109109
/>

src/blog_posts/ai-crawling-websites-data-used-train-models-meaning-for-the-web.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: 'AI Bots Crawling Websites: How Data is Used to Train Models and What It Means for the Web'
3-
published: '2024-10-01'
4-
summary: 'Discover how AI bots crawl websites to collect data for training machine learning models, the benefits and risks involved, and how CloudFlare is helping to regulate AI bot activity. Learn how to protect your site from unwanted bot traffic'
2+
title: "AI Bots Crawling Websites: How Data is Used to Train Models and What It Means for the Web"
3+
published: "2024-10-01"
4+
summary: "Discover how AI bots crawl websites to collect data for training machine learning models, the benefits and risks involved, and how CloudFlare is helping to regulate AI bot activity. Learn how to protect your site from unwanted bot traffic"
55
---
66

77
## Introduction

src/blog_posts/bridging-gap-essential-tech-skills-cs-degree-missed.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: 'Bridging the Gap: Essential Tech Skills Your CS Degree Missed'
3-
published: '2024-07-19'
4-
summary: 'Discover the crucial tools and techniques overlooked by most computer science programs. Learn how mastering these skills can supercharge your development career'
2+
title: "Bridging the Gap: Essential Tech Skills Your CS Degree Missed"
3+
published: "2024-07-19"
4+
summary: "Discover the crucial tools and techniques overlooked by most computer science programs. Learn how mastering these skills can supercharge your development career"
55
---
66

77
In today's rapidly evolving tech landscape, a formal Computer Science (CS) degree provides a solid foundation but often misses critical practical skills needed in the real world. Resources like [The Missing Semester](https://missing.csail.mit.edu/) from MIT aim to fill these gaps, offering invaluable knowledge for budding full stack developers.
@@ -33,7 +33,7 @@ Data wrangling involves cleaning and transforming data into a more usable and re
3333
ssh myserver journalctl
3434
| grep sshd
3535
| grep "Disconnected from"
36-
| sed -E 's/.*Disconnected from (invalid |authenticating )?user (.*) [^ ]+ port [0-9]+( \[preauth\])?$/\2/'
36+
| sed -E 's/.*Disconnected from (invalid |authenticating )?user (.*) [^ ]+ port [0-9]+( \[preauth\])?$/\2/"
3737
| sort | uniq -c
3838
| sort -nk1,1 | tail -n10
3939
| awk '{print $2}' | paste -sd,

src/blog_posts/cs2-dedicated-server-in-2024.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: 'Counter-Strike 2 Dedicated Server in 2024'
3-
published: '2024-11-07'
4-
summary: 'Learn how to host your own Counter-Strike 2 dedicated server with Hetzner using a straightforward and simple approach to enjoy the game with your friends!'
2+
title: "Counter-Strike 2 Dedicated Server in 2024"
3+
published: "2024-11-07"
4+
summary: "Learn how to host your own Counter-Strike 2 dedicated server with Hetzner using a straightforward and simple approach to enjoy the game with your friends!"
55
---
66

77
If you are a fan of Counter-Strike and computers, a thought of playing on custom server with unique configurations probably crossed your mind! Well, this community guide is just for that. Here you will explore how to create and host a custom CS2 server from scratch leveraging Hetzner products.

0 commit comments

Comments
 (0)