-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
174 lines (169 loc) · 9.38 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
<!DOCTYPE html>
<html lang="en" class="bg-gray2 text-white scroll-smooth">
<head>
<meta charset="UTF-8">
<link href="https://cdn.jsdelivr.net/npm/daisyui@2.50.0/dist/full.css" rel="stylesheet" type="text/css" />
<script src="https://cdn.tailwindcss.com"></script>
<script src="/tailwind.config.js"></script>
<link href='https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap' rel='stylesheet'>
<script src="https://kit.fontawesome.com/396065dad2.js" crossorigin="anonymous"></script>
<!--
having trouble seeing icons load? Follow the below steps
1. https://fontawesome.com/start and create a free account
2. Update the script tag above (line 9) with your kit id
-->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Free Tailwind Components</title>
</head>
<body>
<div class="bg-gradient-to-t from-gray2 to-nav_bar">
<div class="grid grid-cols-3 mx-4 md:mx-6 lg:mx-9">
<div class="col-span-full text-center font-black text-4xl py-9 px-4">
<h1 class="">FOSS Tailwind Components</h1>
</div>
<div class="col-span-full">
<div id="hero" class="grid md:grid-cols-2 justify-items-center font-bold p-4">
<div class="text-3xl self-center text-left lg:text-center" id="Title">
<h1>Simple to use Tailwind Components</h1>
<a class="text-xl bg-botred hover:bg-myst_dark md:px-9 px-4 py-1 rounded-full"
href="#components">Components</a>
</div>
<div id="Image"><img src="/assets/ttc.webp" class="w-96"></div>
</div>
</div>
</div>
</div>
<div class="bg-gray1 mt-4 pb-4 pt-2 mb-24 shadow-xl">
<h1 class="text-center font-bold text-4xl">About the components</h1>
<p class="mx-24 tracking-wide leading-8">I've developed these to be as simple to copy and paste into your own
projects.
They are basic
by design, and are there
to give you a "head start" on your own projects. In making them as simple as possible, I've also made some
work with and without further addons,
such as <a class="text-botred hover:underline" href="https://flowbite.com">FlowBite</a> or <a
class="text-botred hover:underline" href="https://daisyui.com">DaisyUI</a>.<br>
I may plan on adding additional components in the future with those extensions, but for now, I'm happy with
what I've got.<br><br>
They're all available on my <a class="text-botred hover:underline"
href="https://github.com/tommerty/tailwind-components">GitHub</a> page under the
<a class="text-botred hover:underline"
href="https://github.com/tommerty/tailwind-components/blob/main/LICENSE">GNU license</a>, so feel
free to use them as you wish, as long as it's covered under the license, of course!<br>
<br>
If you come across any problems at all, please open an issue on the <a class="hover:underline text-botred"
href="https://github.com/tommerty/tailwind-components/issues"><i class="fa-brands fa-github"></i>
page</a>,
and I'll get back to you as soon as I can.<br>
Feel free to contribute as well, I'm always looking for new ideas and ways to improve my code.
</p>
</div>
<div class="justify-items-center grid grid-cols-1 md:grid-cols-2 lg:grid-cols-2 gap-1 lg:gap-9 md:mx-4 lg:mx-24">
<div id="components" class="col-span-full ">
<h1 class="text-center text-3xl font-bold">List Of Components</h1>
<div class="grid md:grid-cols-5 gap-4 text-center">
<div></div>
<a href="#base" class="bg-botred hover:bg-myst_dark px-2 py-1 rounded-full">Base Tailwind</a>
<a href="#flowbite" class="bg-botred hover:bg-myst_dark px-2 py-1 rounded-full">FlowBite</a>
<a href="#daisyui" class="bg-botred hover:bg-myst_dark px-2 py-1 rounded-full">DaisyUI</a>
<div></div>
</div>
</div>
<h3 id="base" class="col-span-full font-bold text-2xl" style="justify-self: left">Base Tailwind</h3>
<p class="col-span-full" style="justify-self: left">These components can be used with just Tailwind CSS and
require no further configuration or addons.</p>
<!-- CTA -->
<div id="call-to-action" class=" container bg-gray1 p-4 rounded-lg shadow-xl">
<h1 class="font-bold text-xl text-center pb-2">Call To Action</h1>
<div>
<p class="text-neutral-400 text-sm mb-2">Author: <a class="link hover:text-botred"
href="https://github.com/tommerty">@tommerty</a></p>
</div>
<div class="collapse">
<input type="checkbox" class="peer" />
<div
class="collapse-title bg-gray2 text-primary-content peer-checked:bg-botred peer-checked:text-secondary-content rounded-xl">
HTML <i class="fa-solid fa-arrow-right"></i>
</div>
<div
class="collapse-content bg-gray2 text-primary-content peer-checked:bg-secondary peer-checked:text-secondary-content">
<div class="mockup-code bg-nav_bar my-4 px-9">
<code id="showCTA" class="">
</code>
</div>
</div>
</div>
<div class="overflow-x-auto" style="display: flex;justify-content: center;">
<div id="ctaPreview" class="m-4 pointer-events-none"></div>
</div>
</div>
<!-- Sign Up -->
<div class=" container bg-gray1 p-4 rounded-lg shadow-xl">
<h1 class="font-bold text-xl text-center pb-2">Sign Up Box</h1>
<div>
<p class="text-neutral-400 text-sm mb-2">Author: <a class="link hover:text-botred"
href="https://github.com/tommerty">@tommerty</a></p>
</div>
<div class="collapse">
<input type="checkbox" class="peer" />
<div
class="collapse-title bg-gray2 text-primary-content peer-checked:bg-botred peer-checked:text-secondary-content rounded-xl">
HTML <i class="fa-solid fa-arrow-right"></i>
</div>
<div
class="collapse-content bg-gray2 text-primary-content peer-checked:bg-secondary peer-checked:text-secondary-content">
<div class="mockup-code bg-nav_bar my-4 px-9">
<code id="showSignin" class="">
</code>
</div>
</div>
</div>
<div class="overflow-x-auto" style="display: flex;justify-content: center;">
<div id="signinPreview" class="m-4 pointer-events-none"></div>
</div>
</div>
<!-- item -->
<div class=" container bg-gray1 p-4 rounded-lg shadow-xl">
<h1 class="font-bold text-xl text-center pb-2">Info Section</h1>
<div>
<p class="text-neutral-400 text-sm mb-2">Author: <a class="link hover:text-botred"
href="https://github.com/tommerty">@tommerty</a></p>
</div>
<div class="collapse">
<input type="checkbox" class="peer" />
<div
class="collapse-title bg-gray2 text-primary-content peer-checked:bg-botred peer-checked:text-secondary-content rounded-xl">
HTML <i class="fa-solid fa-arrow-right"></i>
</div>
<div
class="collapse-content bg-gray2 text-primary-content peer-checked:bg-secondary peer-checked:text-secondary-content">
<div class="mockup-code bg-nav_bar my-4 px-9">
<code id="showInfosec" class="">
</code>
</div>
</div>
</div>
<div class="overflow-x-auto" style="display: flex;justify-content: center;">
<div id="infosecPreview" class="m-4 pointer-events-none"></div>
</div>
</div>
<!-- item -->
<!-- end #base -->
<h3 id="flowbite" class="col-span-full font-bold text-2xl" style="justify-self: left">Flowbite</h3>
<p class="col-span-full" style="justify-self: left">These components require <a
class="text-botred hover:underline" href="https://flowbite.com">Flowbite</a> in order to work correctly.
</p>
<h3 id="" class="col-span-full font-bold text-2xl">COMING SOON</h3>
<!-- end #flowbite -->
<h3 id="daisyui" class="col-span-full font-bold text-2xl" style="justify-self: left">DaisyUI</h3>
<p class="col-span-full" style="justify-self: left">These components require <a
class="text-botred hover:underline" href="https://daisyui.com">DaisyUI</a> in order to work correctly.
</p>
<h3 id="" class="col-span-full font-bold text-2xl">COMING SOON</h3>
</div>
<script src="utils.js"></script>
<script src="codefiles.js"></script>
</body>
<script src="navbar.js"></script>
</html>