Skip to content

Commit

Permalink
Merge pull request #20 from jahongiry/desktop
Browse files Browse the repository at this point in the history
media signup and login
  • Loading branch information
jahongiry authored Jan 16, 2024
2 parents 2842c5d + 0b0ebff commit 488a2bd
Show file tree
Hide file tree
Showing 12 changed files with 259 additions and 156 deletions.
4 changes: 2 additions & 2 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import './App.css';
import Header from './component/header/Header';
import Footer from './component/footer/Footer';
import Home from './pages/home/Home';
import About from './pages/about/About';
import Advertisement from './pages/advertisement/Advertisement';
import Contact from './pages/contact/Contact';
import Login from './pages/login/Login';
import Signup from './pages/signup/Signup';
Expand All @@ -23,7 +23,7 @@ function App() {
<Header />
<Routes>
<Route path='/' exact element={<Home />} />
<Route path='/about' element={<About />} />
<Route path='/advertisement' element={<Advertisement />} />
<Route path='/contact' element={<Contact />} />
<Route path='/login' exact element={<Login />} />
<Route path='/signup' exact element={<Signup />} />
Expand Down
2 changes: 1 addition & 1 deletion src/component/header/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const Header = () => {
</NavLink>
</li>
<li onClick={navBtn}>
<NavLink to='/about'><i className="fa-solid fa-circle-info"></i>Biz haqimizda</NavLink>
<NavLink to='/advertisement'><i className="fa-solid fa-circle-info"></i>E'lonlar</NavLink>
</li>
<li onClick={navBtn}>
<NavLink to='/contact'><i className="fa-solid fa-comments"></i>Bog'lanish</NavLink>
Expand Down
File renamed without changes
12 changes: 0 additions & 12 deletions src/pages/about/About.js

This file was deleted.

3 changes: 0 additions & 3 deletions src/pages/about/about.css

This file was deleted.

12 changes: 12 additions & 0 deletions src/pages/advertisement/Advertisement.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import React from 'react';
import "./advertisement.css";

const Advertisement = () => {
return (
<div className='advertisement-container'>
<h1>Advertisement</h1>
</div>
)
}

export default Advertisement;
3 changes: 3 additions & 0 deletions src/pages/advertisement/advertisement.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.advertisement-container {
padding-top: 100px;
}
62 changes: 31 additions & 31 deletions src/pages/login/Login.js
Original file line number Diff line number Diff line change
@@ -1,61 +1,61 @@
import React from 'react';
import './login.css';
import logo1 from '../../component/header/logo1_1.png';
import { NavLink, Link } from 'react-router-dom';
import React from "react";
import "./login.css";
import logo1 from "../../component/header/logo1_1.png";
import { NavLink, Link } from "react-router-dom";

const Login = () => {
return (
<div className='about-container'>
<div className='login-container'>
<div className='login-border'>
<div className='line'>
<div className='corner-item top-left'></div>
<div className="login-section">
<div className="login-container">
<div className="login-border">
<div className="line">
<div className="corner-item top-left"></div>
<hr />
<hr />
<div className='corner-item top-right'></div>
<div className="corner-item top-right"></div>
</div>
<img className='logo-in' src={logo1} alt='logo' />
<img className="logo-in" src={logo1} alt="logo" />
<h2>Hush kelibsiz</h2>
<form className='login-form'>
<div className='input-container'>
<label htmlFor='username'>Telefon nomer</label>
<input type='text' id='username' placeholder='+998912345678' />
<form className="login-form">
<div className="input-container">
<label htmlFor="username">Telefon nomer</label>
<input type="text" id="username" placeholder="+998912345678" />
</div>
<div className='input-container'>
<label htmlFor='password'>Parolingiz</label>
<input type='password' id='password' placeholder='Password' />
<div className="input-container">
<label htmlFor="password">Parolingiz</label>
<input type="password" id="password" placeholder="Password" />
</div>
<div className='login-footer'>
<div className="login-footer">
<div>
<label htmlFor='button'>Parol esdan chiqdi</label>
<button type='button' className='signup-button'>
<label htmlFor="button">Parol esdan chiqdi</label>
<button type="button" className="signup-button">
Parol tiklash
</button>
</div>
<hr class='vertical-hr' />
<hr class="vertical-hr" />
<div>
<hr className='horizontal-hr' />
<NavLink to='/signup'>
<button type='submit' className='login-button royhat-login'>
<hr className="horizontal-hr" />
<NavLink to="/signup">
<button type="submit" className="login-button royhat-login">
Royhatdan o'tish
</button>
</NavLink>
</div>
</div>
<button type='submit' className='login-main'>
<button type="submit" className="login-main">
Kirish
</button>
<div className='back-home'>
<div className="back-home">
<hr />
<NavLink activeclassname='forgot-password' to='/'>
<NavLink activeclassname="forgot-password" to="/">
ASOSIYGA QAYTISH
</NavLink>
<hr />
</div>
<hr className='bottom-line' />
<hr className="bottom-line" />
</form>
<div className='corner-item bottom-left'></div>
<div className='corner-item bottom-right'></div>
<div className="corner-item bottom-left"></div>
<div className="corner-item bottom-right"></div>
</div>
</div>
</div>
Expand Down
Loading

0 comments on commit 488a2bd

Please sign in to comment.