Skip to content

Commit 22f4698

Browse files
committed
Updated UI, integrated i18n, added Russian language for the template, added language switcher, and more.
1 parent a729b77 commit 22f4698

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+2588
-856
lines changed

README.md

Lines changed: 28 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,41 @@
1-
# Personal Blog & Portfolio
2-
Introducing a versatile and free template designed for use with the latest Astro version. This template boasts frequent updates,
3-
a user-friendly interface, and compatibility with various purposes. Ideal for showcasing your portfolio, crafting blog articles,
4-
and sharing your personal narrative. Unlock the potential to express yourself effortlessly with this template.
1+
2+
# Personal Blog & Portfolio
3+
4+
Introducing a versatile and free template designed for use with the latest Astro version. This template boasts frequent updates, a user-friendly interface, and compatibility with various purposes. Ideal for showcasing your portfolio, crafting blog articles, and sharing your personal narrative. Unlock the potential to express yourself effortlessly with this template.
5+
56
------------------------------------------------------------------------------
6-
![ov-template](https://i.ibb.co/1GXGRL6/ov-main.png)
7-
![blog page](https://i.ibb.co/THK3vg9/ov-template-1.png)
8-
![portflio](https://i.ibb.co/GFPL2Mq/ov-template-blog.png)
9-
![portflio](https://i.ibb.co/3vPm3hS/ov-template-blog-article.png)
10-
![article page](https://i.ibb.co/XFZ7wM9/ov-template-about.png)
11-
![portflio](https://i.ibb.co/RYbKwCL/ov-template-portflio.png)
127

13-
## 🧞 Commands
8+
![ov-template](https://i.ibb.co/4WMYGDq/ov-template-main.png)
9+
10+
## ☝️Plans for future updates
11+
12+
1. Pagination for blog
13+
2. Remake menu
14+
3. Integration with one of the headless
15+
CMS (I will choose later)
16+
17+
This roadmap will be updated.
18+
19+
## 🖥️ Commands
1420

1521
All commands are run from the root of the project, from a terminal:
22+
### Instalation
23+
24+
1625

1726
| Command | Action |
1827
| :------------------------ | :----------------------------------------------- |
1928
| `npm install` | Installs dependencies |
2029
| `npm run dev` | Starts local dev server at `localhost:3000` |
30+
| `npm run css` | Starts `TailwindCSS` |
31+
------------------------------------------------------------------------------
32+
33+
### Deploy
34+
35+
| Command | Action |
36+
| :------------------------ | :----------------------------------------------- |
2137
| `npm run build` | Build your production site to `./dist/` |
2238
| `npm run preview` | Preview your build locally, before deploying |
2339
| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` |
2440
| `npm run astro -- --help` | Get help using the Astro CLI |
25-
------------------------------------------------------------------------------
41+
------------------------------------------------------------------------------

astro.config.mjs

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,33 @@
11
import { defineConfig } from 'astro/config';
22
import mdx from "@astrojs/mdx";
33
import compress from "astro-compress";
4-
54
import tailwind from "@astrojs/tailwind";
65

76
// https://astro.build/config
87
export default defineConfig({
8+
// i18n settings
9+
i18n: {
10+
defaultLocale: "en",
11+
locales: ["en", "ru", {
12+
path: "ru",
13+
codes: ["ru", "ru-RU"]
14+
}],
15+
routing: {
16+
prefixDefaultLocale: true
17+
},
18+
fallback: {
19+
ru: "en"
20+
}
21+
},
22+
output: "hybrid",
923
integrations: [mdx(), compress({
1024
CSS: true,
1125
HTML: false,
1226
Image: true,
1327
JavaScript: true,
1428
SVG: false
1529
}), tailwind()],
16-
site: 'https://vratskyi.github.io',
30+
site: 'http://localhost:4321',
1731
prefetch: {
1832
prefetchAll: true,
1933
defaultStrategy: 'viewport'

favicon.svg

Lines changed: 11 additions & 5 deletions
Loading

package-lock.json

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

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "ov-template",
33
"type": "module",
4-
"version": "0.7.2",
4+
"version": "0.8.0",
55
"repository": {
66
"type": "git",
77
"url": "https://github.com/vratskyi/vratskyi.github.io"
@@ -18,8 +18,9 @@
1818
"@astrojs/mdx": "^2.0.4",
1919
"@astrojs/tailwind": "^5.1.0",
2020
"@tailwindcss/typography": "^0.5.10",
21-
"astro": "^4.4.2",
21+
"astro": "^4.4.4",
2222
"astro-compress": "^2.2.10",
23+
"atropos": "^2.0.2",
2324
"autoprefixer": "^10.4.17",
2425
"cssnano": "^6.0.3"
2526
},

public/favicon.svg

Lines changed: 11 additions & 5 deletions
Loading
-102 KB
Binary file not shown.

public/font/inter/Inter-Bold.woff2

-106 KB
Binary file not shown.
-106 KB
Binary file not shown.
-104 KB
Binary file not shown.

0 commit comments

Comments
 (0)