From 14af3c7c1c850bfa7d343f93ee7eb0f50718dfd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Kuna?= <1282324+codecalm@users.noreply.github.com> Date: Tue, 15 Nov 2022 21:03:18 +0100 Subject: [PATCH] Profile page (#1288) --- _config.yml | 2 + src/pages/_data/menu.yml | 3 + src/pages/_data/timeline.yml | 31 ++++ src/pages/_docs/timelines.md | 4 +- src/pages/_includes/cards/timeline.html | 161 +++++++++--------- .../_includes/layout/headers/profile.html | 38 +++++ src/pages/_includes/layout/navbar-side.html | 2 +- src/pages/_includes/parts/modals/success.html | 2 +- src/pages/profile.html | 32 ++++ src/pages/sign-in-link.html | 20 +++ src/scss/_core.scss | 1 + src/scss/_variables.scss | 37 ++-- src/scss/layout/_dark.scss | 7 +- src/scss/layout/_page.scss | 36 +++- src/scss/layout/_root.scss | 2 + src/scss/ui/_avatars.scss | 12 +- src/scss/ui/_buttons.scss | 2 + src/scss/ui/_cards.scss | 2 +- src/scss/ui/_forms.scss | 2 +- src/scss/ui/_lists.scss | 95 ----------- src/scss/ui/_timeline.scss | 61 +++++++ src/scss/vendor/_dropzone.scss | 4 +- 22 files changed, 350 insertions(+), 206 deletions(-) create mode 100644 src/pages/_data/timeline.yml create mode 100644 src/pages/_includes/layout/headers/profile.html create mode 100644 src/pages/profile.html create mode 100644 src/pages/sign-in-link.html create mode 100644 src/scss/ui/_timeline.scss diff --git a/_config.yml b/_config.yml index 8173e75a4..fffa02be6 100644 --- a/_config.yml +++ b/_config.yml @@ -14,6 +14,8 @@ rtl: false title: Tabler description: Premium and Open Source dashboard template with responsive and high quality UI. + +email: support@tabler.io homepage: https://tabler.io github-url: https://github.com/tabler/tabler github-sponsors-url: https://github.com/sponsors/codecalm diff --git a/src/pages/_data/menu.yml b/src/pages/_data/menu.yml index 71bbcf998..825c4ee42 100644 --- a/src/pages/_data/menu.yml +++ b/src/pages/_data/menu.yml @@ -127,6 +127,9 @@ base: sign-in: title: Sign in url: sign-in.html + sign-in-link: + title: Sign in link + url: sign-in-link.html sign-in-illustration: title: Sign in with illustration url: sign-in-illustration.html diff --git a/src/pages/_data/timeline.yml b/src/pages/_data/timeline.yml new file mode 100644 index 000000000..a5855541c --- /dev/null +++ b/src/pages/_data/timeline.yml @@ -0,0 +1,31 @@ +- icon: brand-facebook + icon-bg: facebook + title: Facebook + date: just now + +- icon: briefcase + title: Products + date: 2 hrs ago + +- icon: brand-twitter + icon-bg: twitter + title: Twitter + date: 8 hrs ago + +- icon: brand-dribbble + icon-bg: dribbble + title: Dribbble + date: 12 hrs ago + +- icon: database + title: Backup + date: 2 days ago + +- icon: settings + icon-bg: primary + title: System + date: 4 days ago + +- icon: briefcase + title: Products + date: 12 days ago \ No newline at end of file diff --git a/src/pages/_docs/timelines.md b/src/pages/_docs/timelines.md index 3fc98c0ac..0518ce414 100644 --- a/src/pages/_docs/timelines.md +++ b/src/pages/_docs/timelines.md @@ -12,7 +12,7 @@ The available timeline design is comprised of many components that will help you {% capture code %} {% include cards/timeline.html %} {% endcapture %} -{% include example.html code=code %} +{% include example.html code=code columns=2 %} ## Simple timeline @@ -22,4 +22,4 @@ Use a simplified version of the timeline, if it suits your design better. You ca {% capture code %} {% include cards/timeline.html simple=true %} {% endcapture %} -{% include example.html code=code %} +{% include example.html code=code columns=2 %} diff --git a/src/pages/_includes/cards/timeline.html b/src/pages/_includes/cards/timeline.html index e95eb6ce8..9bec97986 100644 --- a/src/pages/_includes/cards/timeline.html +++ b/src/pages/_includes/cards/timeline.html @@ -1,83 +1,90 @@ -
+1150 Followers
-You’re getting more and more followers, keep it up!
+You’re getting more and more followers, keep it up!
+Congratulations!
+This is great, keep it up!
++3 New Products were added!
-Congratulations!
-+290 Page Likes
-This is great, keep it up!
-+3 Friend Requests
-+2 New photos
-