Skip to content

Commit

Permalink
Remove tg login
Browse files Browse the repository at this point in the history
  • Loading branch information
nastyabeggin committed Feb 23, 2024
1 parent 08845c4 commit 67c057e
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 48 deletions.
1 change: 0 additions & 1 deletion app/account/[login]/settings/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import Image from 'next/image';
import arrowIcon from '@icons/arrow.svg';
import avatarIcon from '@icons/avatar.svg';
import vkIcon from '@icons/vk.svg';
import tgIcon from '@icons/tg.svg';
import dogImage from '@images/dog.png';
import styles from './styles.module.css';
import cn from 'classnames';
Expand Down
2 changes: 1 addition & 1 deletion app/account/[login]/settings/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@

.socialMediaButton{
height: 48px;
width: 245px;
width: 500px;
display: flex;
flex-direction: row;
column-gap: 15px;
Expand Down
9 changes: 2 additions & 7 deletions app/components/Footer/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@
position: absolute;
left: 0;
bottom: 0;
width: 250px; /* Adjust the width as needed */
height: auto; /* Maintain aspect ratio */
}

.footerText {
/* Centering text content horizontally in the container */
/* No specific flex property needed here as the text is centered by the container's justify-content */
width: 250px;
height: auto;
}
11 changes: 1 addition & 10 deletions app/signin/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import Image from 'next/image';
import cn from 'classnames';
import tgIcon from '@icons/tg.svg';
import vkIcon from '@icons/vk.svg';
import arrowIcon from '@icons/arrow.svg';
import dogImage from '@images/dog.png';
Expand Down Expand Up @@ -61,18 +60,10 @@ export default function Page() {
Нет аккаунта?
<Link href='/signup' className='linkPink'>Зарегистрироваться</Link>
</div>
<div className={styles.subtitleContainer}>
<div className='divider'></div>
<h2 className={styles.subtitle}>Войти с помощью</h2>
</div>
<div className={styles.socialMediaContainer}>
<button className={styles.socialMediaButton} onClick={useVK}>
<Image className={styles.icon} src={vkIcon} alt='VK icon'/>
Продолжить с ВКонтакте
</button>
<button className={styles.socialMediaButton}>
<Image className={styles.icon} src={tgIcon} alt='Telegram icon'/>
Продолжить с TG
Продолжить с ВК.ID
</button>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/signin/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@

.socialMediaButton{
height: 48px;
width: 245px;
width: 500px;
display: flex;
flex-direction: row;
column-gap: 15px;
Expand Down
11 changes: 1 addition & 10 deletions app/signup/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import Image from 'next/image';
import cn from 'classnames';
import tgIcon from '@icons/tg.svg';
import vkIcon from '@icons/vk.svg';
import arrowIcon from '@icons/arrow.svg';
import dogImage from '@images/dog.png';
Expand Down Expand Up @@ -66,18 +65,10 @@ export default function Page() {
Уже есть аккаунт?
<Link href='/signin' className='linkBlue'>Войти</Link>
</div>
<div className={styles.subtitleContainer}>
<div className='divider'></div>
<h2 className={styles.subtitle}>Войти с помощью</h2>
</div>
<div className={styles.socialMediaContainer}>
<button className={styles.socialMediaButton} onClick={useVK}>
<Image className={styles.icon} src={vkIcon} alt='VK icon'/>
Продолжить с ВКонтакте
</button>
<button className={styles.socialMediaButton}>
<Image className={styles.icon} src={tgIcon} alt='Telegram icon'/>
Продолжить с TG
Продолжить с ВК.ID
</button>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/signup/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@

.socialMediaButton{
height: 48px;
width: 245px;
width: 500px;
display: flex;
flex-direction: row;
column-gap: 15px;
Expand Down
9 changes: 0 additions & 9 deletions public/icons/tg.svg

This file was deleted.

12 changes: 4 additions & 8 deletions public/icons/vk.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 67c057e

Please sign in to comment.