From 5a50f156a2f4bb14104ea566bdff5945a00e59b8 Mon Sep 17 00:00:00 2001
From: cernochmartin
Date: Fri, 26 Apr 2024 12:48:44 +0200
Subject: [PATCH] feat: add tips&tricks
---
components/the/TheNav.vue | 12 ++++----
content/articles/second-article.md | 2 +-
content/projects/student-project.md | 2 +-
content/tips-and-tricks/first-article.md | 31 +++++++++++++++++++++
pages/index.vue | 30 ++++++++++++++++++--
pages/projects.vue | 4 +--
pages/{articles.vue => tips-and-tricks.vue} | 4 +--
7 files changed, 71 insertions(+), 14 deletions(-)
create mode 100644 content/tips-and-tricks/first-article.md
rename pages/{articles.vue => tips-and-tricks.vue} (95%)
diff --git a/components/the/TheNav.vue b/components/the/TheNav.vue
index 436000d..2873691 100644
--- a/components/the/TheNav.vue
+++ b/components/the/TheNav.vue
@@ -6,9 +6,9 @@ const links = [
to: '/'
},
{
- label: 'Seznam článků',
- icon: 'i-heroicons-list-bullet',
- to: '/articles'
+ label: 'Tips&Tricks',
+ icon: 'i-heroicons-light-bulb',
+ to: '/tips-and-tricks'
},
{
label: 'Studentské projekty',
@@ -16,9 +16,9 @@ const links = [
to: '/projects'
}],
[{
- label: 'Web školy',
- icon: 'i-heroicons-globe-alt',
- to: 'https://www.spskh.cz'
+ label: 'Web školy',
+ icon: 'i-heroicons-globe-alt',
+ to: 'https://www.spskh.cz'
}]
]
diff --git a/content/articles/second-article.md b/content/articles/second-article.md
index 35059b9..3e897bc 100644
--- a/content/articles/second-article.md
+++ b/content/articles/second-article.md
@@ -2,7 +2,7 @@
title: 'Druhý článek'
description: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Neque gravida in fermentum et sollicitudin ac. Vel eros donec ac odio tempor orci. Amet tellus cras adipiscing enim eu.'
author: 'Martin Černoch'
-path: 'first-article'
+path: 'second-article'
---
# Druhý článek
diff --git a/content/projects/student-project.md b/content/projects/student-project.md
index 58d390d..7fcc779 100644
--- a/content/projects/student-project.md
+++ b/content/projects/student-project.md
@@ -3,7 +3,7 @@ title: 'První studentský projekt'
description: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Neque gravida in fermentum et sollicitudin ac. Vel eros donec ac odio tempor orci. Amet tellus cras adipiscing enim eu.'
author: 'Martin Černoch'
avatar: 'https://avatars.githubusercontent.com/u/100514868?v=4'
-path: 'student-project'
+path: 'first-student-project'
---
# První článek
diff --git a/content/tips-and-tricks/first-article.md b/content/tips-and-tricks/first-article.md
new file mode 100644
index 0000000..2872c13
--- /dev/null
+++ b/content/tips-and-tricks/first-article.md
@@ -0,0 +1,31 @@
+---
+title: 'První Tips&Tricks článek'
+description: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Neque gravida in fermentum et sollicitudin ac. Vel eros donec ac odio tempor orci. Amet tellus cras adipiscing enim eu. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Neque gravida in fermentum et sollicitudin ac. Vel eros donec ac odio tempor orci. Amet tellus cras adipiscing enim eu.'
+author: 'Martin Černoch'
+avatar: 'https://avatars.githubusercontent.com/u/100514868?v=4'
+path: 'first-tips-and-tricks'
+---
+
+# První článek
+
+Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Neque gravida in fermentum et sollicitudin ac. Vel eros donec ac odio tempor orci. Amet tellus cras adipiscing enim eu.
+
+## Začátek článku blogu
+
+Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Neque gravida in fermentum et sollicitudin ac. Vel eros donec ac odio tempor orci. Amet tellus cras adipiscing enim eu.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Neque gravida in fermentum et sollicitudin ac. Vel eros donec ac odio tempor orci. Amet tellus cras adipiscing enim eu.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Neque gravida in fermentum et sollicitudin ac. Vel eros donec ac odio tempor orci. Amet tellus cras adipiscing enim eu.
+
+::badge
+The normal badge.
+::
+
+::success
+The success badge.
+::
+
+::alert
+The alert badge.
+::
+
+::warning
+The warning badge.
+::
diff --git a/pages/index.vue b/pages/index.vue
index a7c095e..90a6ce7 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -23,10 +23,36 @@ const toast = useToast()
-
+
+
+
+
+
+
+ {{ article.title }}
+
+
+ {{ article.description }}
+
+
+
+
+
+
{{ article.author }}
+
+
+ Přečíst článek
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/projects.vue b/pages/projects.vue
index bef4bef..e39299b 100644
--- a/pages/projects.vue
+++ b/pages/projects.vue
@@ -17,8 +17,8 @@ const toast = useToast()
-
+
diff --git a/pages/articles.vue b/pages/tips-and-tricks.vue
similarity index 95%
rename from pages/articles.vue
rename to pages/tips-and-tricks.vue
index c411b48..aed33bf 100644
--- a/pages/articles.vue
+++ b/pages/tips-and-tricks.vue
@@ -13,14 +13,14 @@ const toast = useToast()
Studentský blog plný zajímavých článků o IT z průmyslovky Kutná
Hora!
- Seznam článků
+ Tips&Tricks
-
+