change domain to .xyz
This commit is contained in:
parent
e57aff41dd
commit
ce33d8a886
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "horhik.dev",
|
"name": "horhik.xyz",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -11,35 +11,12 @@
|
||||||
/>
|
/>
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Cuprum:ital,wght@0,400;1,400;1,700&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css2?family=Cuprum:ital,wght@0,400;1,400;1,700&display=swap" rel="stylesheet">
|
||||||
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
|
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
|
||||||
<!--
|
|
||||||
manifest.json provides metadata used when your web app is installed on a
|
|
||||||
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
|
|
||||||
-->
|
|
||||||
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
||||||
<!--
|
|
||||||
Notice the use of %PUBLIC_URL% in the tags above.
|
|
||||||
It will be replaced with the URL of the `public` folder during the build.
|
|
||||||
Only files inside the `public` folder can be referenced from the HTML.
|
|
||||||
|
|
||||||
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
|
|
||||||
work correctly both with client-side routing and a non-root public URL.
|
|
||||||
Learn how to configure a non-root public URL by running `npm run build`.
|
|
||||||
-->
|
|
||||||
<link rel="icon" type="image/svg+xml" href="app-page.svg">
|
<link rel="icon" type="image/svg+xml" href="app-page.svg">
|
||||||
<title>Horhik.dev</title>
|
<title>Horhik.xyz</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<noscript>You need to enable JavaScript to run this app.</noscript>
|
<noscript>You need to enable JavaScript to run this app.</noscript>
|
||||||
<div id="root"></div>
|
<div id="root"></div>
|
||||||
<!--
|
|
||||||
This HTML file is a template.
|
|
||||||
If you open it directly in the browser, you will see an empty page.
|
|
||||||
|
|
||||||
You can add webfonts, meta tags, or analytics to this file.
|
|
||||||
The build step will place the bundled scripts into the <body> tag.
|
|
||||||
|
|
||||||
To begin the development, run `npm start` or `yarn start`.
|
|
||||||
To create a production bundle, use `npm run build` or `yarn build`.
|
|
||||||
-->
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
23
src/components/elements/about.jsx
Normal file
23
src/components/elements/about.jsx
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
import React from 'react'
|
||||||
|
import {connect} from 'react-redux'
|
||||||
|
|
||||||
|
const About = props => {
|
||||||
|
return (
|
||||||
|
<section>
|
||||||
|
<h2>
|
||||||
|
About me
|
||||||
|
</h2>
|
||||||
|
<section>
|
||||||
|
<div>
|
||||||
|
<h3>Who I am?</h3>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<h3>What I can?</h3>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default connect()(About)
|
|
@ -3,3 +3,4 @@ export const GITHUB = "github"
|
||||||
export const IPHONE = "iphone"
|
export const IPHONE = "iphone"
|
||||||
export const ANDROID = "android"
|
export const ANDROID = "android"
|
||||||
export const APP_PAGE = "app-page"
|
export const APP_PAGE = "app-page"
|
||||||
|
export const DEFAULT_DOMAIN = "horhik.xyz"
|
||||||
|
|
|
@ -2,10 +2,11 @@
|
||||||
import BlogPage from "../components/pages/blog";
|
import BlogPage from "../components/pages/blog";
|
||||||
import PortfolioPage from "../components/pages/portfolio";
|
import PortfolioPage from "../components/pages/portfolio";
|
||||||
import HomePage from "../components/pages/homepage";
|
import HomePage from "../components/pages/homepage";
|
||||||
|
import {DEFAULT_DOMAIN} from '../constants/link-types'
|
||||||
|
|
||||||
const pages = [
|
const pages = [
|
||||||
{
|
{
|
||||||
name: "horhik.dev",
|
name: DEFAULT_DOMAIN,
|
||||||
src: "/",
|
src: "/",
|
||||||
quote: "O. George’s site",
|
quote: "O. George’s site",
|
||||||
page: HomePage,
|
page: HomePage,
|
||||||
|
|
|
@ -1,12 +1,13 @@
|
||||||
import { SET_CURRENT_PAGE } from "../constants/routes";
|
import { SET_CURRENT_PAGE } from "../constants/routes";
|
||||||
import HomePage from "../components/pages/homepage";
|
import HomePage from "../components/pages/homepage";
|
||||||
|
import {DEFAULT_DOMAIN} from "../constants/link-types"
|
||||||
|
|
||||||
const initialState = {
|
const initialState = {
|
||||||
lang: "en",
|
lang: "en",
|
||||||
theme: "dark",
|
theme: "dark",
|
||||||
currentPath: "/",
|
currentPath: "/",
|
||||||
currentPage: HomePage,
|
currentPage: HomePage,
|
||||||
currentPageName: "horhik.dev",
|
currentPageName: DEFAULT_DOMAIN,
|
||||||
pageQuote: "O. George’s site",
|
pageQuote: "O. George’s site",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
import {APP, APP_PAGE, GITHUB} from "../constants/link-types";
|
import {DEFAULT_DOMAIN, APP, APP_PAGE, GITHUB} from "../constants/link-types";
|
||||||
|
|
||||||
|
|
||||||
const initialState = {
|
const initialState = {
|
||||||
recentNews: ["nope"],
|
recentNews: ["nope"],
|
||||||
|
@ -70,21 +71,21 @@ const initialState = {
|
||||||
description: 'Some about OpenSource philosophy and “just for fun” by Linus Torvalds',
|
description: 'Some about OpenSource philosophy and “just for fun” by Linus Torvalds',
|
||||||
created: '02.04.2021',
|
created: '02.04.2021',
|
||||||
readingTime: '8min read',
|
readingTime: '8min read',
|
||||||
src: 'https://horhik.dev'
|
src: `https://${DEFAULT_DOMAIN}`
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Haskell on Back-end, how it is?',
|
name: 'Haskell on Back-end, how it is?',
|
||||||
description: 'This site’s back-end written on haskell, let’s talks about privileges of haskell on backend',
|
description: 'This site’s back-end written on haskell, let’s talks about privileges of haskell on backend',
|
||||||
created: '11.03.2020',
|
created: '11.03.2020',
|
||||||
readingTime: '11min read',
|
readingTime: '11min read',
|
||||||
src: 'https://horhik.dev'
|
src: `https://${DEFAULT_DOMAIN}`
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'ArchLinux and a lot of tiling window managers',
|
name: 'ArchLinux and a lot of tiling window managers',
|
||||||
description: 'Did you try something another than floating windows, like in windows?',
|
description: 'Did you try something another than floating windows, like in windows?',
|
||||||
created: '01.09.2020',
|
created: '01.09.2020',
|
||||||
readingTime: '4min read',
|
readingTime: '4min read',
|
||||||
src: 'https://horhik.dev'
|
src: `https://${DEFAULT_DOMAIN}`
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue