Created
November 3, 2020 16:14
-
-
Save calebporzio/58d1a64180e132c2724fa5df5efbcd09 to your computer and use it in GitHub Desktop.
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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/tailwind.min.css"> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> | |
<script src="https://cdn.jsdelivr.net/gh/alpinejs/[email protected]/dist/alpine.min.js" defer></script> | |
<title>Twitter Clone</title> | |
</head> | |
<body class="antialiased bg-grey-lighter font-sans leading-tight text-black"> | |
<!-- Top Bar --> | |
<div class="bg-white h-12 border-b"></div> | |
<!-- Main Body --> | |
<div class="container m-auto pt-4"> | |
<div class="flex"> | |
<!-- Left Sidebar --> | |
<div class="px-2 w-1/4"> | |
<div class="bg-white mb-4 h-48"></div> | |
<div class="bg-white h-128"></div> | |
</div> | |
<!-- Center Content --> | |
<div class="px-2 w-1/2"> | |
<div> | |
<!-- Compose Tweet --> | |
<div class="bg-grey-lightest flex p-4 border-b"> | |
<div class="px-4"> | |
<div class="overflow-hidden rounded-full bg-grey h-8 w-8"> | |
<img src="https://pbs.twimg.com/profile_images/1028341670352322561/Ik2S27KT_400x400.jpg"> | |
</div> | |
</div> | |
<div class="w-full"> | |
<textarea | |
class="outline-none block rounded-lg border-2 border-blue-lighter w-full p-2" | |
placeholder="What's happening?" | |
rows="4" | |
></textarea> | |
<div class="flex justify-between items-center"> | |
<div class="text-red pt-1">Some Error</div> | |
<div>139</div> | |
</div> | |
<div class="flex pt-4 justify-between"> | |
<div class="flex"> | |
<div class="mr-4 rounded-lg bg-blue-lighter h-8 w-8"></div> | |
<div class="mr-4 rounded-lg bg-blue-lighter h-8 w-8"></div> | |
<div class="mr-4 rounded-lg bg-blue-lighter h-8 w-8"></div> | |
<div class="mr-4 rounded-lg bg-blue-lighter h-8 w-8"></div> | |
</div> | |
<div> | |
<button class="bg-blue-light hover:bg-blue font-black px-4 py-2 rounded-full text-white tracking-tight"> | |
Tweet | |
</button> | |
</div> | |
</div> | |
</div> | |
</div> | |
<!-- Loading Indicator --> | |
<!-- <div class="py-4 text-5xl text-center"> | |
<i class="fa fa-spinner fa-spin"></i> | |
</div> --> | |
<!-- Timeline --> | |
<div> | |
<a href="#" class="flex p-4 border-b bg-white hover:bg-grey-lightest text-black no-underline"> | |
<div class="pr-4"> | |
<div class="overflow-hidden rounded-full h-12 w-12"> | |
<img src="https://pbs.twimg.com/profile_images/1028341670352322561/Ik2S27KT_400x400.jpg"> | |
</div> | |
</div> | |
<div> | |
<div class="mb-1"> | |
<span class="font-bold">Caleb Porzio</span> <span class="text-grey-dark">@calebporzio</span> | |
</div> | |
<div class="mb-4">The Tweet</div> | |
<div class="flex"> | |
<div class="mr-12 rounded-lg border-2 border-grey-lighter h-6 w-6"></div> | |
<div class="mr-12 rounded-lg border-2 border-grey-lighter h-6 w-6"></div> | |
<div class="mr-12 rounded-lg border-2 border-grey-lighter h-6 w-6"></div> | |
<div class="mr-12 rounded-lg border-2 border-grey-lighter h-6 w-6"></div> | |
</div> | |
</div> | |
</a> | |
</div> | |
</div> | |
</div> | |
<!-- Right Sidebar --> | |
<div class="px-2 w-1/4"> | |
<div class="bg-white mb-4 h-64"></div> | |
<div class="bg-white h-48"></div> | |
</div> | |
</div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment