Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor code and add card images #41

Closed
wants to merge 16 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions package-lock.json

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

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"lint": "next lint",
"lint:fix": "next lint --fix",
"postinstall": "prisma generate",
"format": "prettier --write ."
"format": "prettier --write .",
"ts": "tsc --noEmit",
"typecheck": "tsc --pretty --noEmit",
"format:fix": "prettier --write \"**/*.{ts,tsx,json,scss,css}\"",
Expand All @@ -33,6 +33,7 @@
"tailwind-merge": "^2.4.0"
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.13",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
Expand All @@ -42,6 +43,7 @@
"prettier": "^3.3.3",
"prisma": "^5.17.0",
"tailwindcss": "^3.4.1",
"tailwindcss-animate": "^1.0.7",
"typescript": "^5"
}
}
Binary file added src/assets/adapter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/assets/grid-lines.png
Binary file not shown.
1 change: 0 additions & 1 deletion src/assets/icon-click.svg

This file was deleted.

1 change: 0 additions & 1 deletion src/assets/icon-guage.svg

This file was deleted.

1 change: 0 additions & 1 deletion src/assets/icon-stars.svg

This file was deleted.

3 changes: 0 additions & 3 deletions src/assets/logo.svg

This file was deleted.

Binary file added src/assets/pro.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/assets/product-image.png
Binary file not shown.
5 changes: 0 additions & 5 deletions src/assets/social-instagram.svg

This file was deleted.

3 changes: 0 additions & 3 deletions src/assets/social-x.svg

This file was deleted.

4 changes: 0 additions & 4 deletions src/assets/social-youtube.svg

This file was deleted.

Binary file removed src/assets/stars.png
Binary file not shown.
Binary file added src/assets/token.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/wallet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 10 additions & 12 deletions src/components/Appbar/Appbar.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
'use client'
"use client"

import Link from 'next/link'

import { FaGoogle } from 'react-icons/fa6'
import { FaWallet } from 'react-icons/fa'
import { Button } from '../ui/button'
import Logo from '../icons/Logo'
import { Menu } from 'lucide-react'
import { useEffect, useState } from 'react'
import { useSession } from 'next-auth/react'
import LoginWithGoogleButton from '../ui/login-with-google'
import Link from "next/link"
import { FaWallet } from "react-icons/fa";
import { Button } from "../ui/button";
import Logo from "../icons/Logo";
import { Menu } from "lucide-react";
import { useEffect, useState } from "react";
import { useSession } from "next-auth/react";
import LoginWithGoogleButton from "../ui/login-with-google";

const Appbar = () => {
const [isUSer, setIsUser] = useState(false)
Expand All @@ -20,7 +18,7 @@ const Appbar = () => {
}, [])
return (
<header className="py-4 border-b md:border-none fixed top-0 left-0 right-0 z-10 bg-white md:bg-white/0">
<div className="container mx-auto px-4 ">
<div className="container mx-auto px-4">
<div className="flex justify-between items-center md:border md:p-2.5 rounded-xl max-w-2xl lg:max-w-4xl mx-auto md:bg-white/90 md:backdrop:blur-sm">
<div>
<div className="border h-10 w-10 rounded-lg inline-flex justify-center items-center">
Expand Down
Loading