Skip to content

Commit 117a175

Browse files
committed
style: improve layout
1 parent 60c83b3 commit 117a175

File tree

8 files changed

+34
-18
lines changed

8 files changed

+34
-18
lines changed

app/components/atoms/Avatar.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export const Avatar = () => {
22
return (
3-
<div className="h-40 w-40 overflow-hidden rounded-full sm:h-44 sm:w-44 md:h-48 md:w-48 lg:h-52 lg:w-52 xl:h-56 xl:w-56 2xl:h-64 2xl:w-64">
3+
<div className="h-48 w-48 overflow-hidden rounded-full sm:h-64 sm:w-64">
44
<img
55
src="/avatar.jpg"
66
alt="Avatar"

app/components/atoms/Copyright.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export const Copyright = () => {
22
return (
3-
<div className="text-center">
3+
<div className="mb-2 text-center">
44
<p>&copy; 2024 Gleb Khaykin</p>
55
</div>
66
);

app/components/molecules/MenuItems.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Link } from "@remix-run/react";
22

33
export const MenuItems = () => {
44
return (
5-
<ul className="menu menu-horizontal menu-md px-1 text-white">
5+
<ul className="menu menu-horizontal menu-md text-white">
66
<li>
77
<Link
88
to="/blog"

app/components/molecules/SocialMedia.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { MdEmail } from "react-icons/md";
44

55
export const SocialMedia = () => {
66
return (
7-
<div className="flex space-x-4">
7+
<div className="mt-2 flex space-x-3">
88
<a
99
href="https://www.linkedin.com/in/khaykingleb"
1010
target="_blank"

app/components/molecules/TagSearchBar.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ export const TagSearchBar = ({
191191

192192
return (
193193
<div
194-
className="font-eb-garamond-light relative mx-auto mt-8 w-full max-w-xs"
194+
className="font-eb-garamond-light relative mx-auto mt-6 w-full max-w-xs"
195195
ref={TagSearchBarRef}
196196
onKeyDown={handleKeyDown}
197197
role="combobox"

app/routes/_index.tsx

+25-9
Original file line numberDiff line numberDiff line change
@@ -24,31 +24,47 @@ export default function IndexRoute() {
2424
return (
2525
<div className="flex min-h-screen flex-col">
2626
<Header backgroundImage="/img/van_gogh_wheatfield_with_crows.jpg" />
27-
<div className="avatar flex items-center justify-center p-6">
27+
<div className="avatar mb-6 mt-6 flex items-center justify-center">
2828
<Avatar />
2929
</div>
3030
<div className="flex-grow">
31-
<div className="font-eb-garamond-light mx-auto max-w-lg text-pretty px-4 text-center text-sm sm:text-base">
32-
<p className="mb-2">
31+
<div className="font-eb-garamond-light mx-auto max-w-[500px] px-4 text-center text-sm sm:text-base">
32+
<p className="mb-3">
3333
Hi there! I&apos;m Gleb, a full-stack developer specializing in
3434
DevOps and MLOps engineering. My background includes distributed
3535
systems, speech processing, speech synthesis, natural language
3636
processing, and finance. When I&apos;m not coding, you&apos;ll
3737
likely find me at the gym, lifting weights.
3838
</p>
39-
<p className="mb-2">
39+
<p className="mb-3">
4040
I&apos;ve graduated summa cum laude from the Higher School of
4141
Economics, where I studied both Computer Science and Finance. This
4242
dual background helps me understand both the technical and business
4343
aspects of projects.
4444
</p>
45-
<p className="mb-2">
45+
<p className="mb-3">
4646
On this site, you&apos;ll find a collection of resources that
4747
I&apos;ve found valuable. Feel free to explore, and I hope you
48-
discover some useful tools and materials for yourself! You can also
49-
find links to my Telegram channel (in Russian) and X profile (in
50-
English) in the footer below. It&apos;s where I share my thoughts
51-
and materials in a more freestyle format.
48+
discover some useful tools and materials for yourself! For more of
49+
my thoughts and freestyle content, check out my{" "}
50+
<a
51+
href="https://t.me/khaykingleb_blog"
52+
target="_blank"
53+
rel="noopener noreferrer"
54+
className="text-blue-600 hover:underline"
55+
>
56+
Telegram channel
57+
</a>{" "}
58+
(in Russian) and{" "}
59+
<a
60+
href="https://x.com/khaykingleb"
61+
target="_blank"
62+
rel="noopener noreferrer"
63+
className="text-blue-600 hover:underline"
64+
>
65+
X profile
66+
</a>{" "}
67+
(in English).
5268
</p>
5369
</div>
5470
</div>

app/routes/blog.$slug.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export const meta: MetaFunction = ({ data }: { data: { post: Post } }) => {
122122
{ name: "viewport", content: "width=device-width, initial-scale=1" },
123123
{
124124
property: "og:image",
125-
content: post.imageUrl || "/img/van_gogh_wheatfield_with_cypresses.jpg",
125+
content: post.imageUrl || "/img/van_gogh_wheatfield_with_crows.jpg",
126126
},
127127
{ property: "og:title", content: post.title },
128128
{ property: "og:description", content: description },
@@ -140,7 +140,7 @@ export default function BlogPostRoute() {
140140

141141
return (
142142
<div className="flex min-h-screen flex-col">
143-
<Header backgroundImage="/img/van_gogh_wheatfield_with_cypresses.jpg" />
143+
<Header backgroundImage="/img/van_gogh_wheatfield_with_crows.jpg" />
144144
<main className="flex-grow px-4 sm:px-6 lg:px-8">
145145
<div className="mx-auto flex min-h-[calc(100vh-4rem-6rem)] max-w-[700px] flex-col">
146146
<Suspense fallback={<LoadingSpinner />}>

app/routes/blog._index.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const meta: MetaFunction = () => {
1919
{ property: "og:url", content: "https://khaykingleb.com/blog" },
2020
{
2121
property: "og:image",
22-
content: "/img/van_gogh_wheatfield_with_cypresses.jpg",
22+
content: "/img/van_gogh_wheatfield_with_crows.jpg",
2323
},
2424
];
2525
};
@@ -80,7 +80,7 @@ export default function BlogRoute() {
8080

8181
return (
8282
<div className="flex min-h-screen flex-col">
83-
<Header backgroundImage="/img/van_gogh_wheatfield_with_cypresses.jpg" />
83+
<Header backgroundImage="/img/van_gogh_wheatfield_with_crows.jpg" />
8484
<main className="flex flex-grow flex-col px-4 sm:px-6 lg:px-8">
8585
<div className="mx-auto flex h-full w-full max-w-[700px] flex-grow flex-col">
8686
<TagSearchBar tagOptions={tagOptions} setTagOptions={setTagOptions} />

0 commit comments

Comments
 (0)