change domain to .xyz

This commit is contained in:
horhik 2020-06-12 14:35:10 +03:00
parent e57aff41dd
commit ce33d8a886
7 changed files with 35 additions and 31 deletions

View File

@ -1,5 +1,5 @@
{
"name": "horhik.dev",
"name": "horhik.xyz",
"version": "0.1.0",
"private": true,
"dependencies": {

View File

@ -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 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" />
<!--
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">
<title>Horhik.dev</title>
<title>Horhik.xyz</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<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>
</html>

View 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)

View File

@ -3,3 +3,4 @@ export const GITHUB = "github"
export const IPHONE = "iphone"
export const ANDROID = "android"
export const APP_PAGE = "app-page"
export const DEFAULT_DOMAIN = "horhik.xyz"

View File

@ -2,10 +2,11 @@
import BlogPage from "../components/pages/blog";
import PortfolioPage from "../components/pages/portfolio";
import HomePage from "../components/pages/homepage";
import {DEFAULT_DOMAIN} from '../constants/link-types'
const pages = [
{
name: "horhik.dev",
name: DEFAULT_DOMAIN,
src: "/",
quote: "O. Georges site",
page: HomePage,

View File

@ -1,12 +1,13 @@
import { SET_CURRENT_PAGE } from "../constants/routes";
import HomePage from "../components/pages/homepage";
import {DEFAULT_DOMAIN} from "../constants/link-types"
const initialState = {
lang: "en",
theme: "dark",
currentPath: "/",
currentPage: HomePage,
currentPageName: "horhik.dev",
currentPageName: DEFAULT_DOMAIN,
pageQuote: "O. Georges site",
};

View File

@ -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 = {
recentNews: ["nope"],
@ -70,21 +71,21 @@ const initialState = {
description: 'Some about OpenSource philosophy and “just for fun” by Linus Torvalds',
created: '02.04.2021',
readingTime: '8min read',
src: 'https://horhik.dev'
src: `https://${DEFAULT_DOMAIN}`
},
{
name: 'Haskell on Back-end, how it is?',
description: 'This sites back-end written on haskell, lets talks about privileges of haskell on backend',
created: '11.03.2020',
readingTime: '11min read',
src: 'https://horhik.dev'
src: `https://${DEFAULT_DOMAIN}`
},
{
name: 'ArchLinux and a lot of tiling window managers',
description: 'Did you try something another than floating windows, like in windows?',
created: '01.09.2020',
readingTime: '4min read',
src: 'https://horhik.dev'
src: `https://${DEFAULT_DOMAIN}`
}
]
}