Skip to content

Commit

Permalink
Latest lessons
Browse files Browse the repository at this point in the history
Updated to latest classes and class works for Website Creation. This time it's inside of UI/UX Design class.
  • Loading branch information
MafuSaku authored Aug 19, 2024
1 parent eafc548 commit b4da363
Show file tree
Hide file tree
Showing 8 changed files with 676 additions and 0 deletions.
102 changes: 102 additions & 0 deletions 2024/fn_ux_1/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>My Tailwind Site</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<script src="https://cdn.tailwindcss.com"></script>
</head>

<body>

<div class="bg-white">
<header class="absolute inset-x-0 top-0 z-50">
<nav class="flex items-center justify-between p-6 lg:px-8" aria-label="Global">
<div class="flex lg:flex-1">
<a href="#" class="-m-1.5 p-1.5">
<span class="sr-only">Synilla</span>
<img class="h-8 w-auto" src="https://neocities.org/img/welcomingcat.png?color=indigo&shade=600" alt="">
</a>
</div>
<div class="flex lg:hidden">
<button type="button" class="-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700">
<span class="sr-only">Open main menu</span>
<svg class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true">
<path stroke-linecap="round" stroke-linejoin="round" d="M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5" />
</svg>
</button>
</div>
<div class="hidden lg:flex lg:gap-x-12">
<a href="#" class="text-sm font-semibold leading-6 text-gray-900">Product</a>
<a href="#" class="text-sm font-semibold leading-6 text-gray-900">Features</a>
<a href="#" class="text-sm font-semibold leading-6 text-gray-900">Marketplace</a>
<a href="#" class="text-sm font-semibold leading-6 text-gray-900">Company</a>
</div>
<div class="hidden lg:flex lg:flex-1 lg:justify-end">
<a href="#" class="text-sm font-semibold leading-6 text-gray-900">Log in <span aria-hidden="true">&rarr;</span></a>
</div>
</nav>
<!-- Mobile menu, show/hide based on menu open state. -->
<div class="lg:hidden" role="dialog" aria-modal="true">
<!-- Background backdrop, show/hide based on slide-over state. -->
<div class="fixed inset-0 z-50"></div>
<div class="fixed inset-y-0 right-0 z-50 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10">
<div class="flex items-center justify-between">
<a href="#" class="-m-1.5 p-1.5">
<span class="sr-only">Synilla</span>
<img class="h-8 w-auto" src="https://tailwindui.com/img/logos/mark.svg?color=indigo&shade=600" alt="">
</a>
<button type="button" class="-m-2.5 rounded-md p-2.5 text-gray-700">
<span class="sr-only">Close menu</span>
<svg class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true">
<path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12" />
</svg>
</button>
</div>
<div class="mt-6 flow-root">
<div class="-my-6 divide-y divide-gray-500/10">
<div class="space-y-2 py-6">
<a href="#" class="-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-50">Product</a>
<a href="#" class="-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-50">Features</a>
<a href="#" class="-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-50">Marketplace</a>
<a href="#" class="-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-50">Company</a>
</div>
<div class="py-6">
<a href="#" class="-mx-3 block rounded-lg px-3 py-2.5 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-50">Log in</a>
</div>
</div>
</div>
</div>
</div>
</header>

<div class="relative isolate px-6 pt-14 lg:px-8">
<div class="absolute inset-x-0 -top-40 -z-10 transform-gpu overflow-hidden blur-3xl sm:-top-80" aria-hidden="true">
<div class="relative left-[calc(50%-11rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 rotate-[30deg] bg-gradient-to-tr from-[#ff80b5] to-[#9089fc] opacity-30 sm:left-[calc(50%-30rem)] sm:w-[72.1875rem]" style="clip-path: polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)"></div>
</div>
<div class="mx-auto max-w-2xl py-32 sm:py-48 lg:py-56">
<div class="hidden sm:mb-8 sm:flex sm:justify-center">
<div class="relative rounded-full px-3 py-1 text-sm leading-6 text-gray-600 ring-1 ring-gray-900/10 hover:ring-gray-900/20">
Free Money <a href="#" class="font-semibold text-indigo-600"><span class="absolute inset-0" aria-hidden="true"></span>Read more <span aria-hidden="true">&rarr;</span></a>
</div>
</div>
<div class="text-center">
<h1 class="text-4xl font-bold tracking-tight text-gray-900 sm:text-6xl">Get Free Money 2024 (ไม่เล่น)</h1>
<p class="mt-6 text-lg leading-8 text-gray-600">Anim aute id magna aliqua ad ad non deserunt sunt. Qui irure qui lorem cupidatat commodo. Elit sunt amet fugiat veniam occaecat fugiat aliqua.</p>
<div class="mt-10 flex items-center justify-center gap-x-6">
<a href="#" class="rounded-md bg-indigo-600 px-3.5 py-2.5 text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600">Get started</a>
<a href="#" class="text-sm font-semibold leading-6 text-gray-900">Learn more <span aria-hidden="true"></span></a>
</div>
</div>
</div>
<div class="absolute inset-x-0 top-[calc(100%-13rem)] -z-10 transform-gpu overflow-hidden blur-3xl sm:top-[calc(100%-30rem)]" aria-hidden="true">
<div class="relative left-[calc(50%+3rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 bg-gradient-to-tr from-[#ff80b5] to-[#9089fc] opacity-30 sm:left-[calc(50%+36rem)] sm:w-[72.1875rem]" style="clip-path: polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)"></div>
</div>
</div>
</div>

</body>

</html>
184 changes: 184 additions & 0 deletions 2024/fn_ux_2/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,184 @@
<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>My Product Site</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<script src="https://cdn.tailwindcss.com"></script>
</head>

<body>

<!--
This example requires some changes to your config:
```
// tailwind.config.js
module.exports = {
// ...
plugins: [
// ...
require('@tailwindcss/aspect-ratio'),
],
}
```
-->
<div class="bg-white">
<div class="mx-auto max-w-2xl px-4 py-16 sm:px-6 sm:py-24 lg:max-w-7xl lg:px-8">
<h2 class="text-2xl font-bold tracking-tight text-gray-900">Customers also purchased</h2>

<div class="mt-6 grid grid-cols-1 gap-x-6 gap-y-10 sm:grid-cols-2 lg:grid-cols-4 xl:gap-x-8">
<div class="group relative">
<div class="aspect-h-1 aspect-w-1 w-full overflow-hidden rounded-md bg-gray-200 lg:aspect-none group-hover:opacity-75 lg:h-80">
<img src="https://tailwindui.com/img/ecommerce-images/product-page-01-related-product-01.jpg" alt="Front of men&#039;s Basic Tee in black." class="h-full w-full object-cover object-center lg:h-full lg:w-full">
</div>
<div class="mt-4 flex justify-between">
<div>
<h3 class="text-sm text-gray-700">
<a href="#">
<span aria-hidden="true" class="absolute inset-0"></span>
Basic Tee
</a>
</h3>
<p class="mt-1 text-sm text-gray-500">Black</p>
</div>
<p class="text-sm font-medium text-gray-900">$35</p>
</div>
</div>

<div class="group relative">
<div class="aspect-h-1 aspect-w-1 w-full overflow-hidden rounded-md bg-gray-200 lg:aspect-none group-hover:opacity-75 lg:h-80">
<img src="https://i.pinimg.com/736x/34/69/12/346912d87db7f565bb7f7251b07e8f9e.jpg" alt="Front of men&#039;s Basic Tee in gray." class="h-full w-full object-cover object-center lg:h-full lg:w-full">
</div>
<div class="mt-4 flex justify-between">
<div>
<h3 class="text-sm text-gray-700">
<a href="#">
<span aria-hidden="true" class="absolute inset-0"></span>
Gray Tee
</a>
</h3>
<p class="mt-1 text-sm text-gray-500">Gray</p>
</div>
<p class="text-sm font-medium text-gray-900">$50</p>
</div>
</div>

<div class="group relative">
<div class="aspect-h-1 aspect-w-1 w-full overflow-hidden rounded-md bg-gray-200 lg:aspect-none group-hover:opacity-75 lg:h-80">
<img src="https://i5.walmartimages.com/seo/Port-Company-Ladies-100-Cotton-Essential-T-Shirt-Purple-M_11340b55-b1a5-4bc4-8d69-eb9bdbd20a66_1.19bae4f084671e9249d6e856b2f512cf.jpeg?odnHeight=768&odnWidth=768&odnBg=FFFFFF" alt="Front of men&#039;s Basic Tee in gray." class="h-full w-full object-cover object-center lg:h-full lg:w-full">
</div>
<div class="mt-4 flex justify-between">
<div>
<h3 class="text-sm text-gray-700">
<a href="#">
<span aria-hidden="true" class="absolute inset-0"></span>
Purple Tee
</a>
</h3>
<p class="mt-1 text-sm text-gray-500">Purple</p>
</div>
<p class="text-sm font-medium text-gray-900">$50</p>
</div>
</div>

<div class="group relative">
<div class="aspect-h-1 aspect-w-1 w-full overflow-hidden rounded-md bg-gray-200 lg:aspect-none group-hover:opacity-75 lg:h-80">
<img src="https://www.tistabene.com/cdn/shop/products/MSH-2248A.jpg?v=1694081269" alt="Front of men&#039;s Basic Tee in gray." class="h-full w-full object-cover object-center lg:h-full lg:w-full">
</div>
<div class="mt-4 flex justify-between">
<div>
<h3 class="text-sm text-gray-700">
<a href="#">
<span aria-hidden="true" class="absolute inset-0"></span>
Purple Tee
</a>
</h3>
<p class="mt-1 text-sm text-gray-500">Purple</p>
</div>
<p class="text-sm font-medium text-gray-900">$50</p>
</div>
</div>

<div class="group relative">
<div class="aspect-h-1 aspect-w-1 w-full overflow-hidden rounded-md bg-gray-200 lg:aspect-none group-hover:opacity-75 lg:h-80">
<img src="https://filohevis.com/cdn/shop/files/Red.jpg?v=1716050886&width=3200" alt="Front of men&#039;s Basic Tee in gray." class="h-full w-full object-cover object-center lg:h-full lg:w-full">
</div>
<div class="mt-4 flex justify-between">
<div>
<h3 class="text-sm text-gray-700">
<a href="#">
<span aria-hidden="true" class="absolute inset-0"></span>
Red Tee
</a>
</h3>
<p class="mt-1 text-sm text-gray-500">Red</p>
</div>
<p class="text-sm font-medium text-gray-900">$60</p>
</div>
</div>

<div class="group relative">
<div class="aspect-h-1 aspect-w-1 w-full overflow-hidden rounded-md bg-gray-200 lg:aspect-none group-hover:opacity-75 lg:h-80">
<img src="https://i.pinimg.com/474x/66/28/3a/66283a7aa6822d133b4bd6d23cd80a77.jpg" alt="Front of men&#039;s Basic Tee in gray." class="h-full w-full object-cover object-center lg:h-full lg:w-full">
</div>
<div class="mt-4 flex justify-between">
<div>
<h3 class="text-sm text-gray-700">
<a href="#">
<span aria-hidden="true" class="absolute inset-0"></span>
Pink Crop
</a>
</h3>
<p class="mt-1 text-sm text-gray-500">Pink</p>
</div>
<p class="text-sm font-medium text-gray-900">$35</p>
</div>
</div>

<div class="group relative">
<div class="aspect-h-1 aspect-w-1 w-full overflow-hidden rounded-md bg-gray-200 lg:aspect-none group-hover:opacity-75 lg:h-80">
<img src="https://www.snitch.co.in/cdn/shop/files/4MSS1947-05-M40.jpg?v=1685171876" alt="Front of men&#039;s Basic Tee in gray." class="h-full w-full object-cover object-center lg:h-full lg:w-full">
</div>
<div class="mt-4 flex justify-between">
<div>
<h3 class="text-sm text-gray-700">
<a href="#">
<span aria-hidden="true" class="absolute inset-0"></span>
Pink Tee
</a>
</h3>
<p class="mt-1 text-sm text-gray-500">Pink</p>
</div>
<p class="text-sm font-medium text-gray-900">$40</p>
</div>
</div>

<div class="group relative">
<div class="aspect-h-1 aspect-w-1 w-full overflow-hidden rounded-md bg-gray-200 lg:aspect-none group-hover:opacity-75 lg:h-80">
<img src="https://5.imimg.com/data5/SELLER/Default/2024/1/374813208/PV/DL/DS/158169947/9-500x500.png" alt="Front of men&#039;s Basic Tee in gray." class="h-full w-full object-cover object-center lg:h-full lg:w-full">
</div>
<div class="mt-4 flex justify-between">
<div>
<h3 class="text-sm text-gray-700">
<a href="#">
<span aria-hidden="true" class="absolute inset-0"></span>
Gray Tee
</a>
</h3>
<p class="mt-1 text-sm text-gray-500">Gray</p>
</div>
<p class="text-sm font-medium text-gray-900">$25</p>
</div>
</div>

<!-- More products... -->
</div>
</div>
</div>

</body>

</html>
63 changes: 63 additions & 0 deletions 2024/fn_ux_3/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>My Website</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>

<body>
<section class="navbar">
<div class="logo">
<h1>MyLogo</h1>
</div>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Blog</a></li>
<li><a href="#">Contact</a></li>
</ul>
</section>

<header>
<div class="header-info">
<h1>Welcome to my website</h1>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Exercitationem dolores corporis placeat itaque quidem iure aliquid commodi quia nulla molestiae maxime temporibus deserunt nostrum necessitatibus, explicabo sint vitae doloribus sapiente.
</p>
<a href="#" class="header-btn">Learn More</a>
</div>
</header>

<section class="teams">
<div class="teams-items">
<h3>Person 1</h3>
<img src="https://tr.rbxcdn.com/80fe87c42012957cd6e2c9dd75de797d/420/420/Face/Png" alt="">
<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Numquam architecto animi corrupti earum veritatis rerum magni recusandae eaque error aliquid officiis, accusantium at quis dolorem ab ea libero sit? Beatae?</p>
<a href="#">Contact</a>
</div>

<div class="teams-items">
<h3>Person 2</h3>
<img src="https://tr.rbxcdn.com/80fe87c42012957cd6e2c9dd75de797d/420/420/Face/Png" alt="">
<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Numquam architecto animi corrupti earum veritatis rerum magni recusandae eaque error aliquid officiis, accusantium at quis dolorem ab ea libero sit? Beatae?</p>
<a href="#">Contact</a>
</div>

<div class="teams-items">
<h3>Person 3</h3>
<img src="https://tr.rbxcdn.com/80fe87c42012957cd6e2c9dd75de797d/420/420/Face/Png" alt="">
<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Numquam architecto animi corrupti earum veritatis rerum magni recusandae eaque error aliquid officiis, accusantium at quis dolorem ab ea libero sit? Beatae?</p>
<a href="#">Contact</a>
</div>
</section>

<footer>
<p>&copy; Copyright 2024</p>
</footer>

</body>

</html>
Loading

0 comments on commit b4da363

Please sign in to comment.