Skip to content

Commit

Permalink
add layout
Browse files Browse the repository at this point in the history
  • Loading branch information
ismail-kharrobi committed Aug 22, 2023
1 parent e70ae57 commit d5abfff
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 58 deletions.
56 changes: 28 additions & 28 deletions frontend/code/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/code/src/Auth/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Link } from "react-router-dom";
import pingpong from '../images/pingpong.svg'
import button from '../images/button.svg'
import {Button} from './Assets/Button'

export const Login = () =>
{

Expand Down
3 changes: 2 additions & 1 deletion frontend/code/src/Layout/Assets/Avatar.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import avatart from '../images/avatar.jpg'
export const Avatar = () =>{
return (
<div className="avatar online dropdown">
<div tabIndex={0} className="w-10 sm:w-12 rounded-xl">
<img src="https://daisyui.com/images/stock/photo-1534528741775-53994a69daeb.jpg" />
<img alt="profile image" src={avatart} />
</div>
<ul tabIndex={0} className="dropdown-content z-50 right-0 top-10 menu p-2 shadow bg-base-100 rounded-box w-52">
<li className="hover:bg-primary hover:rounded-xl transform duration-500"><a>Settings</a></li>
Expand Down
Binary file removed frontend/code/src/Layout/Assets/trandadan-ui.zip
Binary file not shown.
Binary file added frontend/code/src/Layout/images/avatar.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion frontend/code/src/Lobby/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export const Lobby = () =>
{
return (
<div data-theme="mytheme" className="flex h-screen bg-base-100">
<div className="h-12 w-12 bg-abs"></div>
<div className="h-12 w-12 "></div>
</div>
);
}
27 changes: 0 additions & 27 deletions frontend/code/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,33 +37,6 @@ module.exports = {
},
"light",
"dark",
"cupcake",
"bumblebee",
"emerald",
"corporate",
"synthwave",
"retro",
"cyberpunk",
"valentine",
"halloween",
"garden",
"forest",
"aqua",
"lofi",
"pastel",
"fantasy",
"wireframe",
"black",
"luxury",
"dracula",
"cmyk",
"autumn",
"business",
"acid",
"lemonade",
"night",
"coffee",
"winter",
], // true: all themes | false: only light + dark | array: specific themes like this ["light", "dark", "cupcake"]
darkTheme: "dark", // name of one of the included themes for dark mode
base: true, // applies background color and foreground color for root element by default
Expand Down

0 comments on commit d5abfff

Please sign in to comment.