Skip to content

Commit

Permalink
feat(cong): add new conf
Browse files Browse the repository at this point in the history
  • Loading branch information
Charlie85270 committed Dec 24, 2020
1 parent b303c63 commit c7b2aaa
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const ClassicShoppingCard: FC = () => {
<div className="flex-none w-48 relative">
<img
src="/images/object/8.jpg"
alt=""
alt="shopping image"
className="absolute rounded-lg inset-0 w-full h-full object-cover"
/>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@ const MultipleShoppingCard = (props: Props) => {
</svg>
<div className="relative pt-10 px-10 flex items-center justify-center">
<div className="block absolute w-48 h-48 bottom-0 left-0 -mb-24 ml-3"></div>
<img className="relative w-40" src="/images/object/5.png" alt="" />
<img
className="relative w-40"
src="/images/object/5.png"
alt="shopping"
/>
</div>
<div className="relative text-white px-6 pb-6 mt-6">
<span className="block opacity-75 -mb-1">Indoor</span>
Expand Down Expand Up @@ -76,7 +80,7 @@ const MultipleShoppingCard = (props: Props) => {
<img
className="relative w-40"
src="/images/object/6.png"
alt=""
alt="shopping"
/>
</div>
<div className="relative text-white px-6 pb-6 mt-6">
Expand Down Expand Up @@ -118,7 +122,7 @@ const MultipleShoppingCard = (props: Props) => {
<img
className="relative w-40"
src="/images/object/7.png"
alt=""
alt="shopping"
/>
</div>
<div className="relative text-white px-6 pb-6 mt-6">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const SimpleNotificationCard: FC = () => {
<div className="w-2/6">
<img
src="/images/person/2.jpeg"
alt=""
alt="person"
className="h-12 w-12 rounded-full"
/>
</div>
Expand Down
8 changes: 4 additions & 4 deletions components/kit/components/form/select/CustomSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const CustomSelect = (props: Props) => {
{!props.hideImage && (
<img
src="/images/person/2.jpeg"
alt=""
alt="person"
className="flex-shrink-0 h-6 w-6 rounded-full"
/>
)}
Expand Down Expand Up @@ -89,7 +89,7 @@ const CustomSelect = (props: Props) => {
{!props.hideImage && (
<img
src="/images/person/1.jpg"
alt=""
alt="person"
className="flex-shrink-0 h-6 w-6 rounded-full"
/>
)}
Expand Down Expand Up @@ -122,8 +122,8 @@ const CustomSelect = (props: Props) => {
<div className="flex items-center">
{!props.hideImage && (
<img
src="https://images.unsplash.com/photo-1491528323818-fdd1faba62cc?ixlib=rb-1.2.1&amp;ixid=eyJhcHBfaWQiOjEyMDd9&amp;auto=format&amp;fit=facearea&amp;facepad=2&amp;w=256&amp;h=256&amp;q=80"
alt=""
src="/images/person/1.jpg"
alt="person"
className="flex-shrink-0 h-6 w-6 rounded-full"
/>
)}
Expand Down
4 changes: 2 additions & 2 deletions components/kit/components/list/list/BlockList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ const BlockList = (props: Props) => {
{props.withAction && (
<button className="w-24 text-right">
<svg
width="20"
width="12"
fill="currentColor"
height="20"
height="12"
className="hover:text-gray-800 dark:hover:text-white dark:text-gray-200 text-gray-500"
viewBox="0 0 1792 1792"
xmlns="http://www.w3.org/2000/svg"
Expand Down
2 changes: 1 addition & 1 deletion components/layout/HomeLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const HomeLayout: FC = ({ children }) => {
return (
<>
<Meta
pageTitle="Tailwind UI KIT"
pageTitle="Tailwind UI KIT 200 Free and open source components"
description="Over 200 free and open source components and templates for tailwind css to build beautiful UI"
/>

Expand Down
2 changes: 1 addition & 1 deletion components/site/header/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const Header = ({ hideGithub, hideHelp }) => {
<img
className="h-12 w-auto sm:h-12"
src="/icons/rocket.svg"
alt=""
alt="site"
/>
<span className="text-indigo-600 ml-2 text-2xl font-bold">
Tailwind-kit
Expand Down
7 changes: 4 additions & 3 deletions pages/started/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ const confCode = `module.exports = {
important: true,
// Active dark mode on class basis
darkMode: "class",
i18n: {
locales: ["en-US"],
defaultLocale: "en-US",
},
purge: {
content: ["./pages/**/*.tsx", "./components/**/*.tsx"],
// These options are passed through directly to PurgeCSS
options: {
safelist: [/bg-/, /focus:ring/, /text-/],
},
},
theme: {
extend: {
Expand Down
4 changes: 4 additions & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ module.exports = {
important: true,
// Active dark mode on class basis
darkMode: "class",
i18n: {
locales: ["en-US"],
defaultLocale: "en-US",
},
purge: {
content: ["./pages/**/*.tsx", "./components/**/*.tsx"],
// These options are passed through directly to PurgeCSS
Expand Down

0 comments on commit c7b2aaa

Please sign in to comment.