-
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.
Style the Index Page with Tailwind CSS
- Loading branch information
1 parent
059e336
commit 7b56c98
Showing
5 changed files
with
160 additions
and
1 deletion.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
|
||
.progress-list-item { | ||
right: -20px; | ||
bottom: -20px | ||
} |
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 +1,136 @@ | ||
@extends('layouts.app') | ||
|
||
@section('content') | ||
|
||
<div class="container mx-auto px-4"> | ||
<h2 class="text-blue-500 uppercase tracking-wide font-semibold">Popular GAMES</h2> | ||
<div class="popular-games text-sm grid grid-cols-6 gap-12 border-t border-gray-800 pb-16"> | ||
<div class="game mt-8"> | ||
<div class="relative inline-block"> | ||
<a href="#"> | ||
<img src="/img/gg1.jpg" alt="game cover" class="hover:opacity-75 transition ease-in-out duration-150"> | ||
</a> | ||
<div class="absolute bottom-0 right-0 w-16 h-16 bg-gray-800 rounded-full progress-list-item"> | ||
<div class="font-semibold text-xs flex justify-center items-center h-full"> | ||
800% | ||
</div> | ||
</div> | ||
</div> | ||
<a href="#" class="block text-base font-semibold leading-tight hover:text-gray-400 mt-8">Final Fantasy & remak</a> | ||
<div class="text-gray-400 mt-1">Playstation4</div> | ||
</div> | ||
<div class="game mt-8"> | ||
<div class="relative inline-block"> | ||
<a href="#"> | ||
<img src="/img/gg1.jpg" alt="game cover" class="hover:opacity-75 transition ease-in-out duration-150"> | ||
</a> | ||
<div class="absolute bottom-0 right-0 w-16 h-16 bg-gray-800 rounded-full progress-list-item"> | ||
<div class="font-semibold text-xs flex justify-center items-center h-full"> | ||
800% | ||
</div> | ||
</div> | ||
</div> | ||
<a href="#" class="block text-base font-semibold leading-tight hover:text-gray-400 mt-8">Final Fantasy & remak</a> | ||
<div class="text-gray-400 mt-1">Playstation4</div> | ||
</div> | ||
<div class="game mt-8"> | ||
<div class="relative inline-block"> | ||
<a href="#"> | ||
<img src="/img/gg1.jpg" alt="game cover" class="hover:opacity-75 transition ease-in-out duration-150"> | ||
</a> | ||
<div class="absolute bottom-0 right-0 w-16 h-16 bg-gray-800 rounded-full progress-list-item"> | ||
<div class="font-semibold text-xs flex justify-center items-center h-full"> | ||
800% | ||
</div> | ||
</div> | ||
</div> | ||
<a href="#" class="block text-base font-semibold leading-tight hover:text-gray-400 mt-8">Final Fantasy & remak</a> | ||
<div class="text-gray-400 mt-1">Playstation4</div> | ||
</div> | ||
<div class="game mt-8"> | ||
<div class="relative inline-block"> | ||
<a href="#"> | ||
<img src="/img/gg1.jpg" alt="game cover" class="hover:opacity-75 transition ease-in-out duration-150"> | ||
</a> | ||
<div class="absolute bottom-0 right-0 w-16 h-16 bg-gray-800 rounded-full progress-list-item"> | ||
<div class="font-semibold text-xs flex justify-center items-center h-full"> | ||
800% | ||
</div> | ||
</div> | ||
</div> | ||
<a href="#" class="block text-base font-semibold leading-tight hover:text-gray-400 mt-8">Final Fantasy & remak</a> | ||
<div class="text-gray-400 mt-1">Playstation4</div> | ||
</div> | ||
<div class="game mt-8"> | ||
<div class="relative inline-block"> | ||
<a href="#"> | ||
<img src="/img/gg1.jpg" alt="game cover" class="hover:opacity-75 transition ease-in-out duration-150"> | ||
</a> | ||
<div class="absolute bottom-0 right-0 w-16 h-16 bg-gray-800 rounded-full progress-list-item"> | ||
<div class="font-semibold text-xs flex justify-center items-center h-full"> | ||
800% | ||
</div> | ||
</div> | ||
</div> | ||
<a href="#" class="block text-base font-semibold leading-tight hover:text-gray-400 mt-8">Final Fantasy & remak</a> | ||
<div class="text-gray-400 mt-1">Playstation4</div> | ||
</div> | ||
<div class="game mt-8"> | ||
<div class="relative inline-block"> | ||
<a href="#"> | ||
<img src="/img/gg1.jpg" alt="game cover" class="hover:opacity-75 transition ease-in-out duration-150"> | ||
</a> | ||
<div class="absolute bottom-0 right-0 w-16 h-16 bg-gray-800 rounded-full progress-list-item"> | ||
<div class="font-semibold text-xs flex justify-center items-center h-full"> | ||
800% | ||
</div> | ||
</div> | ||
</div> | ||
<a href="#" class="block text-base font-semibold leading-tight hover:text-gray-400 mt-8">Final Fantasy & remak</a> | ||
<div class="text-gray-400 mt-1">Playstation4</div> | ||
</div> | ||
</div> | ||
|
||
<div class="flex my-10"> | ||
<div class="recently-reviewed w-3/4 mr-32"> | ||
<h2 class="text-blue-500 uppercase tracking-wide font-semibold">Recently Reviewed</h2> | ||
<div class="recently-reviewd-container space-y-12 mt-8"> | ||
<div class="game bg-gray-800 rounded-lg shadow-md flex px-6 py-6"> | ||
<div class="relative inline-none"> | ||
<a href="#"> | ||
<img src="/img/gg1.jpg" alt="game cover" class="hover:opacity-75 transition ease-in-out duration-150"> | ||
</a> | ||
<div class="absolute bottom-0 right-0 w-16 h-16 bg-gray-800 rounded-full progress-list-item"> | ||
<div class="font-semibold text-xs flex justify-center items-center h-full"> | ||
80% | ||
</div> | ||
</div> | ||
</div> | ||
<div class="ml-12"> | ||
<a href="#" class="block text-lg font-semibold leading-tight hover:text-gray-400 mt-4">Final Fantasy & remak</a> | ||
<div class="text-gray-400 mt-1">Playstation 4</div> | ||
<p class="mt-6 text-gray-400"> | ||
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quibusdam dignissimos repellendus sit voluptatum, aliquam praesentium amet cupiditate, quis id perferendis iusto libero eligendi repellat, facere provident placeat. Repellat numquam nobis voluptatem quasi vel mollitia corrupti a, illum incidunt eaque pariatur. | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="most-anticipated w-1/4"> | ||
<h2 class="text-blue-500 uppercase tracking-wide font-semibold">Recently Reviewed</h2> | ||
<div class="most-anticipated-container space-y-10 mt-8"> | ||
<div class="game flex"> | ||
<a href="#"> | ||
<img src="/img/gg1.jpg" alt="game cover" class="w-16 hover:opacity-75 transition ease-in-out duration-150"> | ||
</a> | ||
|
||
<div class="ml-4"> | ||
<a href="" class="hover:text-gray-300">Cyberpunk 2077</a> | ||
<div class="text-gray-400 text-sm 1">Sept 16, 2020</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
@endsection |
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