diff --git a/site/content/learn/te-foundations/2-tailwindcss/39-badges/index.html b/site/content/learn/te-foundations/2-tailwindcss/39-badges/index.html index 9f6a6a24d..1e4525e4e 100644 --- a/site/content/learn/te-foundations/2-tailwindcss/39-badges/index.html +++ b/site/content/learn/te-foundations/2-tailwindcss/39-badges/index.html @@ -12,7 +12,7 @@ layout: tutorial hidden_sidenav: true previous_lesson: "/learn/te-foundations/tailwind-css/forms/" -next_lesson: "/learn/coming-soon/" +next_lesson: "/learn/te-foundations/tailwind-css/footer/" --- diff --git a/site/content/learn/te-foundations/2-tailwindcss/40-footer/assets/footer-1.jpg b/site/content/learn/te-foundations/2-tailwindcss/40-footer/assets/footer-1.jpg new file mode 100644 index 000000000..dff63ba72 Binary files /dev/null and b/site/content/learn/te-foundations/2-tailwindcss/40-footer/assets/footer-1.jpg differ diff --git a/site/content/learn/te-foundations/2-tailwindcss/40-footer/index.html b/site/content/learn/te-foundations/2-tailwindcss/40-footer/index.html new file mode 100644 index 000000000..6d5dad79d --- /dev/null +++ b/site/content/learn/te-foundations/2-tailwindcss/40-footer/index.html @@ -0,0 +1,1057 @@ +--- +title: "Tailwind CSS footer tutorial" +url: "/learn/te-foundations/tailwind-css/footer/" +accordion_section: "headingTailwindCSS" +date: 2023-04-20T16:00:58+02:00 +draft: false + +seo_title: "Tailwind CSS footer tutorial" +description: "Learn Tailwind CSS Footer - an important part of any website. Footer serves as additional navigation and is especially crucial in huge portals with complex navigation and hundreds of links and pages" +image: "https://tailwind-elements.com/learn/te-foundations/basics/introduction/assets/tailwind-elements.png" +video: "" +layout: tutorial +hidden_sidenav: true +previous_lesson: "/learn/te-foundations/tailwind-css/badges/" +next_lesson: "/learn/coming-soon/" +--- + + +
+

Footer

+ +
+ +

+ A footer is an additional navigation component. It can hold links, buttons, + company info, copyrights, forms, and many other elements. It is placed at + the bottom of your website. +

+ +

+ Footers can hold multiple different components. Let's go through the most + popular ones one by one. +

+ + +

Copyrights

+ +

+ Footer can also be very simple with no link, only copyrights information, so + you won't distract users. +

+ + +
+ {{< twsnippet/wrapper "HTML" "" "mobile" >}}{{< twsnippet/code active=true lang="HTML" >}} + + + + + {{< /twsnippet/code >}}{{< /twsnippet/wrapper >}} +
+ + +
+ +
+ + +

Links

+ +

+ You can put a grid inside Footer and create several columns with links. +

+ + +
+ {{< twsnippet/wrapper "HTML" "" "mobile" >}}{{< twsnippet/code active=true lang="HTML" >}} + + + + + {{< /twsnippet/code >}}{{< /twsnippet/wrapper >}} +
+ + +
+ +
+ + +

Text

+ +

We can easily add text to the footer:

+ + +
+ {{< twsnippet/wrapper "HTML" "" "mobile" >}}{{< twsnippet/code active=true lang="HTML" >}} + + + + + {{< /twsnippet/code >}}{{< /twsnippet/wrapper >}} +
+ + +
+ +
+ + +

Icons

+ +

The same thing can be done with icons:

+ + +
+ {{< twsnippet/wrapper "HTML" "" "mobile" >}}{{< twsnippet/code active=true lang="HTML" >}} + + + + + {{< /twsnippet/code >}}{{< /twsnippet/wrapper >}} +
+ + +
+ +
+ + +
+

+ Note: Footers have many options available. If you want to + know more about them, read the + footer documentation page. +

+
+ + +
+ + +

+ Step 1 - create footer and add it to the project +

+ +

+ Using the knowledge above, let's create a footer containing copyrights, + links, text and icons. +

+ +

+ We will not go into details here, because each of the elements and + functionalities used in the footer has already been discussed in this and + previous lessons. +

+ +

+ Of course, you can adjust the Footer to your needs or even create your own + Footer from scratch. Everything is up to you. +

+ +

+ Add <footer> below <main> section in + your project: +

+ + +
+ {{< twsnippet/wrapper "HTML" "" "mobile" >}}{{< twsnippet/code active=true lang="HTML" >}} + + + +
+ +
+
+
+ + +
+
+
+ + + +
+
+
+
+
+ + + + Tailwind ELEMENTS +
+

+ Here you can use rows and columns to organize your footer + content. Lorem ipsum dolor sit amet, consectetur adipisicing + elit. +

+
+
+
+ Products +
+

+ Angular +

+

+ React +

+

+ Vue +

+

+ Laravel +

+
+
+
+ Useful links +
+

+ Pricing +

+

+ Settings +

+

+ Orders +

+

+ Help +

+
+
+
+ Contact +
+

+ + + + + New York, NY 10012, US +

+

+ + + + + info@example.com +

+

+ + + + + 01 234 567 88 +

+

+ + + + + 01 234 567 89 +

+
+
+
+
+ + + +
+ © 2023 Copyright: + Tailwind Elements +
+ +
+ + + {{< /twsnippet/code >}}{{< /twsnippet/wrapper >}} +
+ + + + + +
+ +
+ + Demo and source code for this lesson + +
+
+ diff --git a/site/layouts/partials/tutorial/tutorial-navigation.html b/site/layouts/partials/tutorial/tutorial-navigation.html index 91a2d1d4c..0d6d08e8b 100644 --- a/site/layouts/partials/tutorial/tutorial-navigation.html +++ b/site/layouts/partials/tutorial/tutorial-navigation.html @@ -254,6 +254,9 @@

{{ partial "tutorial/tutorial-nav-link.html" (dict "context" . "href" "/learn/te-foundations/tailwind-css/badges/" "text" "Badges") }} + {{ partial "tutorial/tutorial-nav-link.html" (dict "context" . "href" "/learn/te-foundations/tailwind-css/footer/" "text" + "Footer") + }}