Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Marketing pages plugin #1332

Draft
wants to merge 33 commits into
base: dev
Choose a base branch
from
Draft

Marketing pages plugin #1332

wants to merge 33 commits into from

Conversation

codecalm
Copy link
Member

tabler-website-next vercel app_ (1)

@codecalm codecalm marked this pull request as draft October 24, 2022 22:17
@vercel
Copy link

vercel bot commented Oct 24, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
tabler ✅ Ready (Inspect) Visit Preview Jun 21, 2023 7:50pm

@kevinpapst
Copy link
Collaborator

This is fantastic, damn I am so excited about that new page. Exactly what was missing for me.

I'd like to sponsor that feature ... you have my email. Just drop me a line!

@copulatrix
Copy link
Contributor

Just an FYI, this is how the menu looks for me:
image
I'm using Chrome - Version 106.0.5249.119 (Official Build) (64-bit)

@codecalm
Copy link
Member Author

@copulatrix I know, I't still draft :)

@copulatrix
Copy link
Contributor

@codecalm Sorry, wasn't sure. I compared the Vercel build preview to the image. Got a tab bit excited.

Really love the work, and how far Tabler has come in the last couple of weeks I've been following.

@github-actions
Copy link
Contributor

github-actions bot commented May 9, 2023

Images automagically compressed by Calibre's image-actions

Compression reduced images by 20.4%, saving 125.50 KB.

Filename Before After Improvement Visual comparison
src/static/marketing/preview.png 170.90 KB 135.17 KB -20.9% View diff
src/static/marketing/[email protected] 443.04 KB 353.28 KB -20.3% View diff

802 images did not require optimisation.

@changeset-bot
Copy link

changeset-bot bot commented May 16, 2023

⚠️ No Changeset found

Latest commit: 30bf668

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@kevinpapst
Copy link
Collaborator

Great progress on all pages!
Bildschirmfoto 2023-05-26 um 09 58 59

@kevinpapst
Copy link
Collaborator

Getting better and better ❤️

@codecalm
Copy link
Member Author

screencapture-localhost-3000-marketing-real-estate-html-2023-06-12-22_33_05

@github-actions
Copy link
Contributor

Images automagically compressed by Calibre's image-actions

Compression reduced images by 16.5%, saving 222.16 KB.

Filename Before After Improvement Visual comparison
src/static/marketing/photo-1494526585095-c41746248156.jpg 159.19 KB 128.24 KB -19.4% View diff
src/static/marketing/photo-1512917774080-9991f1c4c750.jpg 168.28 KB 136.41 KB -18.9% View diff
src/static/marketing/photo-1558036117-15d82a90b9b1.jpg 164.45 KB 144.96 KB -11.9% View diff
src/static/marketing/photo-1564013799919-ab600027ffc6.jpg 478.41 KB 399.93 KB -16.4% View diff
src/static/marketing/photo-1580587771525-78b9dba3b914.jpg 177.84 KB 145.09 KB -18.4% View diff
src/static/marketing/photo-1592595896551-12b371d546d5.jpg 198.45 KB 169.83 KB -14.4% View diff

804 images did not require optimisation.

@Nejcc
Copy link
Contributor

Nejcc commented Sep 21, 2023

@codecalm what do you think ?

header navigation need to have option to change state to fixed after scroll down

    // Add an event listener to the window's scroll event
    window.addEventListener("scroll", function() {
        let scrollTop = window.pageYOffset || document.documentElement.scrollTop;

        // When at the top of the page
        if (scrollTop === 0) {
            document.querySelector("header").classList.remove("bg-white-nav-shadow");
            document.querySelector("header").classList.add("bg-white-nav");
        }
        // When scrolling away from the top
        else {
            document.querySelector("header").classList.remove("bg-white-nav");
            document.querySelector("header").classList.add("bg-white-nav-shadow");
        }
    });
 .bg-white-nav {
            --tblr-bg-opacity: 1;
            background-color: #F6F8FB !important;
  }
 .bg-white-nav-shadow {
            --tblr-bg-opacity: 1;
            background-color: #F6F8FB !important;
            -webkit-box-shadow: 0 4px 6px -6px #222;
            -moz-box-shadow: 0 4px 6px -6px #222;
            box-shadow: 0 4px 6px -6px #222;
  }

quick dirty fix i bet you can do it much better

<header class="navbar navbar-expand-lg fixed-top bg-white-nav navbar-transparent py-3" style="background-color: #F6F8FB;">

Hope this will helo you a lot! tnx

@kevinpapst
Copy link
Collaborator

As you said a couple of times before: you are not sure how to monetize tabler.
What about adding this as a premium feature and not into core?
Everyone is willing to pay for a premium theme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants