Merge branch 'release/0.0.1'

This commit is contained in:
Sergey Yarkov 2022-07-05 23:27:19 +03:00
commit 9e413d4933
29 changed files with 11726 additions and 0 deletions

19
.gitignore vendored Normal file
View File

@ -0,0 +1,19 @@
# build output
dist/
# dependencies
node_modules/
# logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
# environment variables
.env
.env.production
# macOS-specific files
.DS_Store

2
.npmrc Normal file
View File

@ -0,0 +1,2 @@
# Expose Astro dependencies for `pnpm` users
shamefully-hoist=true

4
.vscode/extensions.json vendored Normal file
View File

@ -0,0 +1,4 @@
{
"recommendations": ["astro-build.astro-vscode"],
"unwantedRecommendations": []
}

11
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,11 @@
{
"version": "0.2.0",
"configurations": [
{
"command": "./node_modules/.bin/astro dev",
"name": "Development server",
"request": "launch",
"type": "node-terminal"
}
]
}

21
LICENSE Normal file
View File

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2022 Sergey Yarkov
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

7
README.md Normal file
View File

@ -0,0 +1,7 @@
# yarkov.tech
Personal website created with Astro.
## License
This project is open source and available under the [MIT License](LICENSE).

4
astro.config.mjs Normal file
View File

@ -0,0 +1,4 @@
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({});

3
netlify.toml Normal file
View File

@ -0,0 +1,3 @@
[build]
command = "npm run build"
publish = "dist"

11412
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

24
package.json Normal file
View File

@ -0,0 +1,24 @@
{
"name": "yarkov.tech",
"version": "0.0.1",
"private": true,
"description": "Personal website created with Astro.",
"author": {
"name": "Sergey Yarkov",
"email": "serzh.yarkov@gmail.com",
"url": "https://yarkov.tech"
},
"license": "MIT",
"scripts": {
"dev": "astro dev",
"start": "astro dev",
"build": "astro build",
"preview": "astro preview"
},
"devDependencies": {
"astro": "^1.0.0-beta.63",
"prettier": "^2.7.1",
"prettier-plugin-astro": "^0.1.1",
"sass": "^1.53.0"
}
}

View File

@ -0,0 +1,3 @@
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M10.2256 8.52039C10.2256 9.10839 10.3929 9.34289 10.8304 9.34289C11.8055 9.34289 12.4264 8.10039 12.4264 6.03399C12.4264 2.87559 10.1248 1.36359 7.25127 1.36359C4.29517 1.36359 1.60646 3.34599 1.60646 7.09239C1.60646 10.6708 3.95846 12.6196 7.57046 12.6196C8.79686 12.6196 9.62006 12.4852 10.8794 12.0652L11.1496 13.1901C9.90637 13.594 8.57777 13.7109 7.55367 13.7109C2.81607 13.7109 0.278564 11.1069 0.278564 7.09169C0.278564 3.04289 3.21927 0.287689 7.26807 0.287689C11.4849 0.287689 13.7186 2.80769 13.7186 5.89889C13.7186 8.51969 12.8961 10.5189 10.3089 10.5189C9.13216 10.5189 8.36007 10.0485 8.25926 9.00619C7.95686 10.1654 7.15047 10.5189 6.05777 10.5189C4.59617 10.5189 3.36976 9.39259 3.36976 7.12529C3.36976 4.84049 4.44566 3.42929 6.37767 3.42929C7.40247 3.42929 8.04086 3.83249 8.32506 4.47089L8.81297 3.58049H10.2242V8.52039H10.2256ZM8.15986 6.30279C8.15986 5.37949 7.47037 4.99239 6.89917 4.99239C6.27757 4.99239 5.58946 5.49569 5.58946 6.97479C5.58946 8.15079 6.11026 8.80599 6.89917 8.80599C7.45357 8.80599 8.15986 8.45319 8.15986 7.47879V6.30279Z" fill="#010409"/>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -0,0 +1,3 @@
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M6.99453 1.04315C3.61348 1.04179 0.875 3.77889 0.875 7.15722C0.875 9.8287 2.58809 12.0996 4.97383 12.9336C5.29512 13.0142 5.2459 12.7859 5.2459 12.6301V11.5705C3.39062 11.7879 3.31543 10.5601 3.19102 10.3551C2.93945 9.92577 2.34473 9.81639 2.52246 9.61132C2.94492 9.39393 3.37559 9.666 3.87461 10.4029C4.23555 10.9375 4.93965 10.8473 5.29648 10.7584C5.37441 10.4371 5.54121 10.15 5.7709 9.92714C3.84863 9.58261 3.04746 8.40956 3.04746 7.01503C3.04746 6.33827 3.27031 5.7162 3.70781 5.21444C3.42891 4.38729 3.73379 3.67909 3.7748 3.57382C4.56914 3.50272 5.39492 4.14257 5.45918 4.19315C5.91035 4.07147 6.42578 4.00722 7.00273 4.00722C7.58242 4.00722 8.09922 4.07421 8.55449 4.19725C8.70898 4.07968 9.47461 3.53007 10.2129 3.59706C10.2525 3.70233 10.5506 4.39413 10.2881 5.21034C10.7311 5.71347 10.9566 6.341 10.9566 7.01913C10.9566 8.4164 10.15 9.59081 8.22227 9.92987C8.38738 10.0923 8.51849 10.2859 8.60792 10.4995C8.69736 10.7131 8.74333 10.9424 8.74316 11.174V12.7121C8.7541 12.8351 8.74316 12.9568 8.94824 12.9568C11.3695 12.1406 13.1127 9.85331 13.1127 7.15858C13.1127 3.77889 10.3729 1.04315 6.99453 1.04315Z" fill="#010409"/>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -0,0 +1,3 @@
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M12.0806 2.13178C12.0806 2.13178 13.2138 1.6899 13.1194 2.76303C13.0879 3.20491 12.8046 4.75147 12.5843 6.4243L11.8288 11.3796C11.8288 11.3796 11.7659 12.1056 11.1992 12.2318C10.6326 12.3581 9.78273 11.7899 9.62532 11.6637C9.49941 11.569 7.26448 10.1487 6.47751 9.45431C6.25715 9.26493 6.00533 8.88617 6.50898 8.44429L9.8142 5.28805C10.1919 4.90929 10.5697 4.02554 8.99576 5.09867L4.58882 8.09712C4.58882 8.09712 4.08517 8.41274 3.14084 8.12868L1.09475 7.49743C1.09475 7.49743 0.33927 7.02399 1.62988 6.55053C4.7777 5.06709 8.64952 3.55208 12.0806 2.13178Z" fill="#010409"/>
</svg>

After

Width:  |  Height:  |  Size: 687 B

BIN
public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

11
siteMetadata.json Normal file
View File

@ -0,0 +1,11 @@
{
"sitename": "yarkov.tech",
"author": {
"name": "Sergey Yarkov"
},
"contacts": {
"email": "serzh.yarkov@gmail.com",
"github": "sergeyyarkov",
"telegram": "sergeyyarkov"
}
}

64
src/pages/index.astro Normal file
View File

@ -0,0 +1,64 @@
---
import '../styles/global.scss';
import siteMetadata from '../../siteMetadata.json';
---
<html lang='en'>
<head>
<meta charset='utf-8' />
<meta name='viewport' content='width=device-width' />
<title>Astro</title>
<style lang='scss'>
main {
text-align: center;
margin-top: 300px;
& p:nth-child(1) {
margin-bottom: 10px;
font-size: 16px;
font-weight: 500;
}
& p:nth-child(2) {
margin: 0;
margin-bottom: 10px;
font-size: 18px;
& span {
font-size: 14px;
}
}
div {
display: flex;
justify-content: center;
column-gap: 10px;
& a {
text-decoration: none;
}
}
}
</style>
</head>
<body>
<main>
<p>yarkov.tech</p>
<p>
web-site is under construction now<br /><span>thank you</span>
</p>
<div>
<a href={'mailto:' + siteMetadata.contacts.email} target='_blank'>
<img src='/assets/icons/social/email.svg' alt='Email' />
</a>
<a
href={'https://github.com/' + siteMetadata.contacts.github}
target='_blank'
>
<img src='/assets/icons/social/github.svg' alt='Github' />
</a>
<a
href={'https://t.me/' + siteMetadata.contacts.telegram}
target='_blank'
>
<img src='/assets/icons/social/telegram.svg' alt='Telegram' />
</a>
</div>
</main>
</body>
</html>

60
src/styles/fonts.scss Normal file
View File

@ -0,0 +1,60 @@
/* rubik-regular - latin_cyrillic */
@font-face {
font-family: 'Rubik';
font-style: normal;
font-weight: 400;
src: local(''),
url('../assets/fonts/Rubik/rubik-v20-latin_cyrillic-regular.woff2')
format('woff2'),
/* Chrome 26+, Opera 23+, Firefox 39+ */
url('../assets/fonts/Rubik/rubik-v20-latin_cyrillic-regular.woff')
format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* rubik-500 - latin_cyrillic */
@font-face {
font-family: 'Rubik';
font-style: normal;
font-weight: 500;
src: local(''),
url('../assets/fonts/Rubik/rubik-v20-latin_cyrillic-500.woff2')
format('woff2'),
/* Chrome 26+, Opera 23+, Firefox 39+ */
url('../assets/fonts/Rubik/rubik-v20-latin_cyrillic-500.woff')
format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* rubik-600 - latin_cyrillic */
@font-face {
font-family: 'Rubik';
font-style: normal;
font-weight: 600;
src: local(''),
url('../assets/fonts/Rubik/rubik-v20-latin_cyrillic-600.woff2')
format('woff2'),
/* Chrome 26+, Opera 23+, Firefox 39+ */
url('../assets/fonts/Rubik/rubik-v20-latin_cyrillic-600.woff')
format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* rubik-700 - latin_cyrillic */
@font-face {
font-family: 'Rubik';
font-style: normal;
font-weight: 700;
src: local(''),
url('../assets/fonts/Rubik/rubik-v20-latin_cyrillic-700.woff2')
format('woff2'),
/* Chrome 26+, Opera 23+, Firefox 39+ */
url('../assets/fonts/Rubik/rubik-v20-latin_cyrillic-700.woff')
format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* rubik-italic - latin_cyrillic */
@font-face {
font-family: 'Rubik';
font-style: italic;
font-weight: 400;
src: local(''),
url('../assets/fonts/Rubik/rubik-v20-latin_cyrillic-italic.woff2')
format('woff2'),
/* Chrome 26+, Opera 23+, Firefox 39+ */
url('../assets/fonts/Rubik/rubik-v20-latin_cyrillic-italic.woff')
format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

60
src/styles/global.scss Normal file
View File

@ -0,0 +1,60 @@
@import url('./fonts.scss');
:root {
--font-fallback: -apple-system, BlinkMacSystemFont, Segoe UI, Arial,
sans-serif, Apple Color Emoji, Segoe UI Emoji;
--font-body: 'Rubik', var(--font-fallback);
--color-white: #ffffff;
--color-black: #010409;
--color-blue-50: #cae8ff;
--color-blue-100: #a5d6ff;
--color-blue-200: #79c0ff;
--color-blue-300: #58a6ff;
--color-blue-400: #388bfd;
--color-blue-500: #1f6feb;
--color-blue-600: #1158c7;
--color-blue-700: #0d419d;
--color-blue-800: #0c2d6b;
--color-blue-900: #051d4d;
--color-gray-50: #f0f6fc;
--color-gray-100: #c9d1d9;
--color-gray-200: #b1bac4;
--color-gray-300: #8b949e;
--color-gray-400: #6e7681;
--color-gray-500: #484f58;
--color-gray-600: #30363d;
--color-gray-700: #21262d;
--color-gray-800: #161b22;
--color-gray-900: #0d1117;
--color-orange-50: #ffdfb6;
--color-orange-100: #ffc680;
--color-orange-200: #ffa657;
--color-orange-300: #f0883e;
--color-orange-400: #db6d28;
--color-orange-500: #bd561d;
--color-orange-600: #9b4215;
--color-orange-700: #762d0a;
--color-orange-800: #5a1e02;
--color-orange-900: #3d1300;
--color-yellow-50: #f8e3a1;
--color-yellow-100: #f2cc60;
--color-yellow-200: #e3b341;
--color-yellow-300: #d29922;
--color-yellow-400: #bb8009;
--color-yellow-500: #9e6a03;
--color-yellow-600: #845306;
--color-yellow-700: #693e00;
--color-yellow-800: #4b2900;
--color-yellow-900: #341a00;
}
body {
color: var(--color-black);
background-color: var(--color-white);
font-family: var(--font-body);
}

15
tsconfig.json Normal file
View File

@ -0,0 +1,15 @@
{
"compilerOptions": {
// Enable top-level await, and other modern ESM features.
"target": "ESNext",
"module": "ESNext",
// Enable node-style module resolution, for things like npm package imports.
"moduleResolution": "node",
// Enable JSON imports.
"resolveJsonModule": true,
// Enable stricter transpilation for better output.
"isolatedModules": true,
// Add type definitions for our Vite runtime.
"types": ["vite/client"]
}
}