Skip to content

Commit

Permalink
added workshop button icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Andcool-Systems committed Sep 1, 2024
1 parent 7a9edd9 commit 3399e43
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/root_client.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import React, { useState } from "react";
import Style from "./styles/root/page.module.css";
import Link from "next/link";
import { CustomLink } from "./modules/components/search.module";
import { IconInfinity, IconAlertTriangle } from '@tabler/icons-react';
import { IconInfinity, IconAlertTriangle, IconStack } from '@tabler/icons-react';

const HomeClient = ({ pong }: { pong: number }) => {
const [animationState, setAnimationState] = useState<boolean>(true);
Expand Down Expand Up @@ -40,7 +40,7 @@ const HomeClient = ({ pong }: { pong: number }) => {
<div className={Style.container}>
<p className={Style.p}><span className={Style.one}>1</span> Сайт</p>
<p className={Style.p} style={{ display: "flex", alignItems: "center" }}><IconInfinity width={40} height={40} className={Style.inf} color='rgba(45, 212, 191)' />Стилей</p>
<Link href="/workshop" className={Style.link}>Открыть мастерскую</Link>
<Link href="/workshop" className={Style.link}><IconStack />Открыть мастерскую</Link>
{pong !== 200 &&
<div className={Style.api_unavailable}>
<div style={{ display: 'flex', alignItems: 'center', gap: '.5rem' }}>
Expand Down
4 changes: 4 additions & 0 deletions src/app/styles/root/page.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@
background-color: var(--main-card-color);
transition: border 150ms;
user-select: none;
display: flex;
flex-direction: row;
align-items: center;
gap: .4rem;
}

.link:hover {
Expand Down

0 comments on commit 3399e43

Please sign in to comment.