/savethedate

Primary LanguageJavaScript

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.js. The page auto-updates as you edit the file.

API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.js.

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

https://getcssscan.com/css-box-shadow-examples

https://www.zazzle.com/simple_eucalyptus_greenery_wedding_save_the_date_postcard-256388414369036465

https://www.zazzle.com/s/simple+eucalyptus+greenery+wedding+save+the+date+postcard

https://withjoy.com/save-the-date/?source=sagesearchads&msclkid=071dc475443f195086e0a7474a0d9b4e&campaignid=412822155&adgroupid=1299623106795092&keyword=online%20save%20the%20dates&creative=&msclkid=071dc475443f195086e0a7474a0d9b4e

https://withjoy.com/save-the-date/?msclkid=70533769be3d15e4da00545bb00f24be&campaignid=412822155&adgroupid=1299623106795092&keyword=online%20save%20the%20dates&creative=&msclkid=70533769be3d15e4da00545bb00f24be

  var browser = (function (agent) {
        switch (true) {
            case agent.indexOf("edge") > -1: return "MS Edge (EdgeHtml)";
            case agent.indexOf("edg") > -1: return "MS Edge Chromium";
            case agent.indexOf("opr") > -1 && !!window.opr: return "opera";
            case agent.indexOf("chrome") > -1 && !!window.chrome: return "chrome";
            case agent.indexOf("trident") > -1: return "Internet Explorer";
            case agent.indexOf("firefox") > -1: return "firefox";
            case agent.indexOf("safari") > -1: return "safari";
            default: return "other";
        }
    })(window.navigator.userAgent.toLowerCase());
    const isPhone = navigator.userAgent.toLowerCase().match(/mobile/i),
        isTablet = navigator.userAgent.toLowerCase().match(/tablet/i),
        isAndroidOS = navigator.userAgent.toLowerCase().match(/android/i),
        isiPhone = navigator.userAgent.toLowerCase().match(/iphone/i),
        isiPad = navigator.userAgent.toLowerCase().match(/ipad/i);
    const config = {
        name: "Joon and Hane Wedding",
        description: "Joon-Sub Chung and Hane No are getting married!<br>Location: Artesia, CA<br>[url]https://joonhane.com[/url]",
        startDate: "2023-02-11",
        endDate: "2023-02-11",
        options: browser === 'safari' && (isPhone || isTablet) || !(isPhone || isTablet || isAndroidOS || isiPhone || isiPad)
            ? ["Apple", "Google", "iCal"]
            : ["Google"],
        timeZone: "",
        trigger: "click",
        iCalFileName: "Joon-Hane-Wedding-Event",
    };
    const button = document.querySelector('#default-button');
    button.addEventListener('click', () => atcb_action(config, button));