Skip to content

Commit

Permalink
add templates feature
Browse files Browse the repository at this point in the history
  • Loading branch information
Charlie85270 committed Jan 21, 2021
1 parent 16ceca2 commit c30daaa
Show file tree
Hide file tree
Showing 48 changed files with 10,234 additions and 202 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"typescript.tsdk": "node_modules/typescript/lib"
}
19 changes: 15 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,25 @@
![GitHub Repo stars](https://img.shields.io/github/stars/Charlie85270/tail-kit?style=social)

![Tailwind-Kit](https://www.tailwind-kit.com/home.png)

</a>
### A beautiful and large components kit for TailwindCSS 2.0
### A beautiful and large components and templates kit for TailwindCSS 2.0

Tail-Kit is Free and Open Source. It does not change or add any CSS to the already one from TailwindCSS 2.0. It features multiple HTML elements that can be used in all web projects who's use tailwind CSS.

## CSS Components
## Components

Tailwind Starter Kit comes with 230+ Fully Coded CSS elements.

## Templates

Tailwind Starter Kit contains many templates like landing pages, login pages ect. All are fully Coded and ready to copy paste.

![Tailwind-Kit](https://www.tailwind-kit.com/template.png)

![Tailwind-Kit](https://www.tailwind-kit.com/template2.png)

Tailwind Starter Kit comes with 180+ Fully Coded CSS elements and layouts.
and much more !!

## Live code editor
![Tailwind-Kit](https://i.ibb.co/g3n4NMg/Capture-d-e-cran-2020-12-27-a-12-06-16.png)
Expand All @@ -22,7 +33,7 @@ Tailwind-kit include a live code editor to change the components code and see in
## Dark mode
![Tailwind-Kit](https://www.tailwind-kit.com/demo.gif)

Most components are implemented with a light and dark version, with the new dark mode 2.0 feature of tailwind CSS.
Most components ad templates are implemented with a light and dark version, with the new dark mode 2.0 feature of tailwind CSS.


## Documentation
Expand Down
6 changes: 3 additions & 3 deletions components/kit/components/commerce/pricing/PricingCard4.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const PricingCard4: FC = () => {
>
<path
stroke-linecap="round"
stroke-linejoin="round"
strokeLinejoin="round"
strokeWidth="2"
d="M5 13l4 4L19 7"
></path>
Expand All @@ -51,7 +51,7 @@ const PricingCard4: FC = () => {
>
<path
stroke-linecap="round"
stroke-linejoin="round"
strokeLinejoin="round"
strokeWidth="2"
d="M5 13l4 4L19 7"
></path>
Expand All @@ -71,7 +71,7 @@ const PricingCard4: FC = () => {
>
<path
stroke-linecap="round"
stroke-linejoin="round"
strokeLinejoin="round"
strokeWidth="2"
d="M5 13l4 4L19 7"
></path>
Expand Down
8 changes: 4 additions & 4 deletions components/kit/components/commerce/pricing/PricingCard5.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const PricingCard5: FC = () => {
fill="none"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
strokeLinejoin="round"
strokeWidth="2"
viewBox="0 0 24 24"
className="w-8 h-8 text-indigo-800 dark:text-white font-bold"
Expand All @@ -33,7 +33,7 @@ const PricingCard5: FC = () => {
fill="none"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
strokeLinejoin="round"
strokeWidth="2"
viewBox="0 0 24 24"
className="w-8 h-8 text-indigo-800 dark:text-white font-bold"
Expand All @@ -47,7 +47,7 @@ const PricingCard5: FC = () => {
fill="none"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
strokeLinejoin="round"
strokeWidth="2"
viewBox="0 0 24 24"
className="w-8 h-8 text-indigo-800 dark:text-white font-bold"
Expand All @@ -61,7 +61,7 @@ const PricingCard5: FC = () => {
fill="none"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
strokeLinejoin="round"
strokeWidth="2"
viewBox="0 0 24 24"
className="w-8 h-8 font-bold dark:text-white text-indigo-800"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const InformationCard: FC = () => {
>
<path
stroke-linecap="round"
stroke-linejoin="round"
strokeLinejoin="round"
strokeWidth="2"
d="M5 13l4 4L19 7"
></path>
Expand Down
2 changes: 1 addition & 1 deletion components/kit/components/elements/avatars/Avatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const Avatar = ({ withBorder, size, withInfo, type, img }: Props) => {
}`}
/>
{withInfo && (
<span className="absolute w-3 border-2 left-1/2 -bottom-2 transform -translate-x-1/2 border-white h-3 bg-green-500 rounded-full"></span>
<span className="absolute w-3 border-2 w-full left-1/2 -bottom-2 transform -translate-x-1/2 border-white h-3 bg-green-500 rounded-full"></span>
)}
</a>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const FooterLight = (props: Props) => {
</div>
<div className="md:hidden mt-4 mx-auto w-11 h-px rounded-full "></div>
<div className="mt-7 md:mt-0 flex-1 flex flex-col items-center justify-center md:items-start md:pl-5">
<span className="">© 2020</span>
<span className="">© 2021</span>
<span className="mt-7 md:mt-1">
Created by{" "}
<a
Expand Down
43 changes: 43 additions & 0 deletions components/kit/components/pagesection/cta/NextJSCta.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
import React from "react";

const NextJSCta = () => {
return (
<div className="bg-white dark:bg-gray-800 flex relative z-20 items-center">
<div className="container mx-auto px-6 flex flex-col justify-between items-center relative py-8">
<div className="flex flex-col">
<h1 className="font-light w-full uppercase text-center text-4xl sm:text-5xl dark:text-white text-gray-800">
The React Framework for Production
</h1>
<h2 className="font-light max-w-2xl mx-auto w-full text-xl dark:text-white text-gray-500 text-center py-8">
Next.js gives you the best developer experience with all the
features you need for production: hybrid static & server rendering,
TypeScript support, smart bundling, route pre-fetching, and more. No
config needed.
</h2>
<div className="flex items-center justify-center mt-4">
<a
href="#"
className="uppercase py-2 px-4 bg-gray-800 border-2 border-transparent text-white text-md mr-4 hover:bg-gray-900"
>
Get started
</a>
<a
href="#"
className="uppercase py-2 px-4 bg-transparent border-2 border-gray-800 text-gray-800 dark:text-white hover:bg-gray-800 hover:text-white text-md"
>
Documentation
</a>
</div>
</div>
<div className="block w-full mx-auto mt-6 md:mt-0 relative">
<img
src="/images/object/12.svg"
className="max-w-xs md:max-w-2xl m-auto"
/>
</div>
</div>
</div>
);
};

export default NextJSCta;
43 changes: 43 additions & 0 deletions components/kit/components/pagesection/cta/WatchCta.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
import React from "react";

const WatchCta = () => {
return (
<div className="bg-white dark:bg-gray-800 flex relative z-20 items-center">
<div className="container mx-auto px-6 flex relative py-16">
<div className="sm:w-2/3 lg:w-2/5 flex flex-col relative z-20">
<span className="w-20 h-2 bg-gray-800 dark:bg-white mb-12"></span>
<h1 className="font-bebas-neue uppercase text-6xl sm:text-8xl font-black flex flex-col leading-none dark:text-white text-gray-800">
Be on <span className="text-5xl sm:text-7xl">Time</span>
</h1>
<p className="text-sm sm:text-base text-gray-700 dark:text-white">
Dimension of reality that makes change possible and understandable.
An indefinite and homogeneous environment in which natural events
and human existence take place.
</p>
<div className="flex mt-8">
<a
href="#"
className="uppercase py-2 px-4 rounded-lg bg-pink-500 border-2 border-transparent text-white text-md mr-4 hover:bg-pink-400"
>
Get started
</a>
<a
href="#"
className="uppercase py-2 px-4 rounded-lg bg-transparent border-2 border-pink-500 text-pink-500 dark:text-white hover:bg-pink-500 hover:text-white text-md"
>
Read more
</a>
</div>
</div>
<div className="hidden sm:block sm:w-1/3 lg:w-3/5 relative">
<img
src="/images/object/10.png"
className="max-w-xs md:max-w-sm m-auto"
/>
</div>
</div>
</div>
);
};

export default WatchCta;
30 changes: 30 additions & 0 deletions components/kit/templates/homePage/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import React from "react";
import SectionDesc from "../../../site/section/SectionDesc";

const HomePage = () => {
const homeSection = [
{
title: "Products",
items: 3,
img: "images/sections/homePage2.png",
link: "/templates/simpleHome",
},
{
title: "Get Started",
items: 3,
img: "images/sections/homePage.png",
link: "/templates/getStarted",
},
];

return (
<SectionDesc
hasCommingSoon={true}
id="home"
items={homeSection}
title="Landing page"
/>
);
};

export default HomePage;
67 changes: 67 additions & 0 deletions components/kit/templates/homePage/simplePage/Natural2Home.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
import React from "react";

const Natural2Home = () => {
return (
<div className="bg-indigo-900 relative overflow-hidden h-screen">
<img
src="/images/landscape/6.svg"
className="absolute h-full w-full object-cover"
/>
<div className="inset-0 bg-black opacity-25 absolute"></div>
<header className="absolute top-0 left-0 right-0 z-20">
<nav className="container mx-auto px-6 md:px-12 py-4">
<div className="md:flex justify-center items-center">
<div className="flex justify-between items-center">
<div className="md:hidden">
<button className="text-white focus:outline-none">
<svg
className="h-12 w-12"
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M4 6H20M4 12H20M4 18H20"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
strokeLinejoin="round"
/>
</svg>
</button>
</div>
</div>

<div className="hidden md:flex items-center">
<a className="text-lg uppercase mx-3 text-white cursor-pointer hover:text-gray-300">
Ticket
</a>
<a className="text-lg uppercase mx-3 text-white cursor-pointer hover:text-gray-300">
Info
</a>
<a className="text-lg uppercase mx-3 text-white cursor-pointer hover:text-gray-300">
Contact
</a>
</div>
</div>
</nav>
</header>

<div className="container mx-auto px-6 md:px-12 relative z-10 flex items-center py-32 xl:py-40">
<div className="w-full flex flex-col items-center relative z-10">
<h1 className="font-extrabold text-7xl text-center sm:text-8xl text-white leading-tight mt-4">
Life-changing
</h1>

<a
href="#"
className="block bg-gray-800 hover:bg-gray-900 py-3 px-4 text-lg text-white font-bold uppercase mt-10"
>
Start Now
</a>
</div>
</div>
</div>
);
};
export default Natural2Home;
74 changes: 74 additions & 0 deletions components/kit/templates/homePage/simplePage/Natural3Home.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
import React from "react";

const Natural3Home = () => {
return (
<div className="bg-indigo-900 relative overflow-hidden h-screen">
<img
src="/images/landscape/7.svg"
className="absolute h-full w-full object-cover"
/>
<div className="inset-0 bg-black opacity-25 absolute"></div>
<header className="absolute top-0 left-0 right-0 z-20">
<nav className="container mx-auto px-6 md:px-12 py-4">
<div className="md:flex justify-center items-center">
<div className="flex justify-between items-center">
<div className="md:hidden">
<button className="text-white focus:outline-none">
<svg
className="h-12 w-12"
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M4 6H20M4 12H20M4 18H20"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
strokeLinejoin="round"
/>
</svg>
</button>
</div>
</div>

<div className="hidden md:flex items-center">
<a className="text-lg uppercase mx-3 text-white cursor-pointer hover:text-gray-300">
Ticket
</a>
<a className="text-lg uppercase mx-3 text-white cursor-pointer hover:text-gray-300">
Info
</a>
<a className="text-lg uppercase mx-3 text-white cursor-pointer hover:text-gray-300">
Contact
</a>
</div>
</div>
</nav>
</header>

<div className="container border-4 border-white rounded-lg mx-auto w-4/5 relative z-10 flex items-center py-16 my-24 md:my-32">
<div className="w-full flex flex-col items-center justify-between relative z-10">
<p className="flex flex-col items-center font-extrabold text-6xl text-center md:text-8xl text-white">
Planet need you
</p>
<p className="flex flex-col max-w-lg text-center items-center font-extrabold text-lg mt-6 text-white">
The first European to set eyes on the great river was a Spanish
explorer, called De Soto, who came across the mouth of the river in
1541; yet it was not until over a century later that the Mississippi
river began to take a significant place in the history of North
America.
</p>

<a
href="#"
className="block bg-gray-800 hover:bg-gray-900 py-3 px-4 text-lg text-white font-bold uppercase mt-10"
>
Plant a tree
</a>
</div>
</div>
</div>
);
};
export default Natural3Home;
Loading

0 comments on commit c30daaa

Please sign in to comment.