-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sebastian Vivas
committed
Apr 5, 2022
1 parent
c0fdd96
commit 173d46d
Showing
16 changed files
with
159 additions
and
94 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"printWidth": 80, | ||
"bracketSpacing": true, | ||
"semi": true, | ||
"singleQuote": true, | ||
"trailingComma": "es5", | ||
"tabWidth": 2, | ||
"useTabs": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import React from 'react'; | ||
import { | ||
CogIcon, | ||
GalleryIcon, | ||
HomeIcon, | ||
PlusCircleIcon, | ||
UserIcon, | ||
} from '../icons'; | ||
|
||
export default function MobileNav() { | ||
return ( | ||
<div className="bg-figma-500 h-16 w-full fixed bottom-0 px-5 rounded-t-2xl"> | ||
<div className="flex justify-between self-center"> | ||
<HomeIcon className="w-7 h-7 self-center" /> | ||
<GalleryIcon className="w-7 h-7 self-center" /> | ||
<PlusCircleIcon className="w-14 h-14 fill-figma-100 text-figma-200" /> | ||
<UserIcon className="w-7 h-7 self-center" /> | ||
<CogIcon className="w-7 h-7 self-center" /> | ||
</div> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import React from 'react'; | ||
import { SearchIcon } from './icons'; | ||
|
||
export default function SearchBar() { | ||
return ( | ||
<div className="flex justify-center w-full"> | ||
<div className="relative flex flex-wrap items-stretch w-full mb-4"> | ||
<input | ||
type="search" | ||
className=" h-11 rounded px-6 w-3/4 border-2 border-figma-300 text-figma-400 font-medium" | ||
placeholder="Search artwork" | ||
/> | ||
<button className="inline-block px-1 py-2 border-2 border-figma-100 text-figma-100 font-medium text-xs leading-tight uppercase rounded hover:bg-black hover:bg-opacity-5 focus:outline-none focus:ring-0 transition duration-150 ease-in-out w-1/4"> | ||
Search | ||
</button> | ||
</div> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import React from 'react'; | ||
|
||
export default function CogIcon({ | ||
className, | ||
...props | ||
}: React.SVGProps<SVGSVGElement>) { | ||
return ( | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
className={className} | ||
{...props} | ||
fill="none" | ||
viewBox="0 0 24 24" | ||
stroke="currentColor" | ||
strokeWidth={2} | ||
> | ||
<path | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z" | ||
/> | ||
<path | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
d="M15 12a3 3 0 11-6 0 3 3 0 016 0z" | ||
/> | ||
</svg> | ||
); | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import React from 'react'; | ||
|
||
function SearchIcon({ className, ...props }: React.SVGProps<SVGSVGElement>) { | ||
return ( | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
className={className} | ||
{...props} | ||
fill="none" | ||
viewBox="0 0 24 24" | ||
stroke="currentColor" | ||
strokeWidth={2} | ||
> | ||
<path | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z" | ||
/> | ||
</svg> | ||
); | ||
} | ||
|
||
export default SearchIcon; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,8 @@ | ||
import EditIcon from './EditIcon'; | ||
import BackIcon from './BackIcon'; | ||
import CheckIcon from './CheckIcon'; | ||
import TrashIcon from './TrashIcon'; | ||
import UploadIcon from './UploadIcon'; | ||
import CloseIcon from './CloseIcon'; | ||
import PageIcon from './PageIcon'; | ||
import CopyIcon from './CopyIcon'; | ||
import StarIcon from './StarIcon'; | ||
import LogOutIcon from './LogOutIcon'; | ||
import LoginIcon from './LoginIcon'; | ||
import TruckIcon from './TruckIcon'; | ||
import TagIcon from './TagIcon'; | ||
import HeartIcon from './HeartIcon'; | ||
import HomeIcon from './HomeIcon'; | ||
import GalleryIcon from './GalleryIcon'; | ||
import PlusCircleIcon from './PlusCircleIcon'; | ||
import UserIcon from './UserIcon'; | ||
import CogIcon from './CogIcon'; | ||
import SearchIcon from './SearchIcon'; | ||
|
||
export { | ||
EditIcon, | ||
BackIcon, | ||
CheckIcon, | ||
TrashIcon, | ||
UploadIcon, | ||
CloseIcon, | ||
PageIcon, | ||
CopyIcon, | ||
StarIcon, | ||
LogOutIcon, | ||
LoginIcon, | ||
TruckIcon, | ||
TagIcon, | ||
HeartIcon, | ||
}; | ||
export { HomeIcon, GalleryIcon, PlusCircleIcon, UserIcon, CogIcon, SearchIcon }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import React from 'react'; | ||
import MobileNav from '../../components/Navbar/MobileNav'; | ||
import SearchBar from '../../components/SearchBar'; | ||
|
||
export default function Landing() { | ||
return ( | ||
<div className="min-h-screen min-w-full p-4"> | ||
<div className=""> | ||
<h1 className="font-bold; text-xl ml-12">Welcome</h1> | ||
<img src="/logo.png" alt="logo" className="w-36" /> | ||
</div> | ||
<div className="mt-6"> | ||
<SearchBar /> | ||
</div> | ||
<div> | ||
<MobileNav /> | ||
</div> | ||
</div> | ||
); | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters