GithubHelp home page GithubHelp logo

hlxsites / zemax Goto Github PK

View Code? Open in Web Editor NEW
3.0 7.0 1.0 959 KB

AEM Franklin Solution for https://www.zemax.com/

Home Page: https://main--zemax--hlxsites.hlx.page/

License: Apache License 2.0

JavaScript 64.98% HTML 7.01% CSS 28.02%
franklin helix sites

zemax's Introduction

AEM Franklin - Zemax

Zemax.com on AEM Franklin

Environments

Installation

npm i

Tests

npm test

Local development

  1. Create a new repository based on the helix-project-boilerplate template and add a mountpoint in the fstab.yaml
  2. Add the helix-bot to the repository
  3. Install the Helix CLI: npm install -g @adobe/helix-cli
  4. Start Franklin Proxy: hlx up (opens your browser at http://localhost:3000)
  5. Open the {repo} directory in your favorite IDE and start coding :)

zemax's People

Contributors

agangam avatar amol-anand avatar francoiszhang avatar kmurugulla avatar kunwarsaluja avatar shehjadkhan-ansys avatar synox avatar trieloff avatar vinhlu-ansys avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

divyanshu975

zemax's Issues

Integrate authentication flow

@shehjadkhan-ansys explained the login flow on a call today. At a high level

  • - There is a script that needs to be included into the page that is provided by auth0
  • - on Login page , redirect the page to login form
  • - once the authentication flow succeeds , redirect user to /profile page
  • - Show in place of Login
  • - on Name hover provide Logout link
  • - Click on Logout will clear all the data store in browser caches

[Homepage] Hero Block

Implement variants of Hero Block

  • Desktop variant

image

  • Tablet ( Similar to desktop)

image

  • Mobile ( Text flows out of Hero Image)

image

[sidekick] Add Block Library

  • Add Block Library to the side kick
  • Create the spread sheet with all required block variations and sections ( place holders)
  • Create placeholder block reference docs

[Blogs] Content Import

Create import script for blog pages (~450 based on https://www.zemax.com/sitemap_blogs_1.xml )
into word doc with the following metadata

  • Created / Publish Date Dec 30, 2022
  • Category
  • Author
  • Name, Designation and Company
  • Handle superscript items in default content

And additional meta data that is shown here

image

Global Styles

Configure and define the global variables for all break points

  • Section widths
  • Navigation heights
  • Heading sizes
  • Margins
  • Custom Font Families
  • Font sizes
  • Colors
  • Buttons (primary, secondary)

Footer

Build Footer

  • with links to zemax.com till we get all the content imported
  • Build Mobile first
  • Tablet version
  • Desktop

[Homepage] Announcement Teaser

  • Mobile
  • Tablet
  • Desktop
  • Update Block Library

image

TODO - Confirm whether the item presented in the Teaser is curated or appears by tagging a "Blog" or "Page" with some metadata before starting on the task

Basic Project Setup

  • Configure mount point to Zemax.com Sharepoint
  • Update Readme.md with project specific information

[Home Page] Card Block Variants

There are multiple card variants

Note - Please feel free to create sub items of this issue and Update Block Library

image

Screenshot 2023-04-06 at 10 11 06 AM

image

image

image

There are multiple variants of Card Blocks on the home page

  • Product
  • Customer Success Story
  • Training
  • Events
  • News

the variant factors are

  • Width
  • Color
  • Image / no - image
  • Image location
  • Card Label

[Home Page] Styling and Aligning all sections

  • Styling of the background for sections
  • Styling Default Content of sections
  • Alignment of sections as it is in zemax.com

See below for comparison ( Right - Franklin , Left - Live Site )

Header (@kmurugulla )

image

  • Header is not sticky
    Screenshot 2023-04-14 at 11 59 29 AM

Teaser (@agangam )

image


Hero (@kunwarsaluja )

image


Trusted By Section (@kmurugulla )

image


Design for Manufacturability (@kmurugulla )

image


Zemax Software Section (@FrancoisZhang )

image


Customer Success Stories (@FrancoisZhang )

image


Training Section (@FrancoisZhang )

image


Subscribe to Blog Section (@kunwarsaluja )

image


Footer (@kunwarsaluja )

image

[Blogs] - style all pages under /blog/success-stories and /blog/webinars to include marketo forms

See few examples :

Note : Using importer, Extract marketo form id and place it in the marketo block. Review block library for marketo form usage

Fixed one of them for reference : https://main--zemax--hlxsites.hlx.page/blogs/success-stories/advanced-tolerancing-techniques-for-endoscope-optical-design

^^ Needs some layout css changes(to bring h4 to top of the Marketo form) to make it similar to live pages

Navigation

Build Navigation menu

  • with links to zemax.com till we get all the content imported
  • Build Mobile first
  • Tablet version
  • Desktop

generate sitemap.xml

Leaving the current sitemap.xml for reference

-https://www.zemax.com/sitemap.xml


<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<!--  This is the parent sitemap linking to additional sitemaps for products, collections and pages as shown below. The sitemap can not be edited manually, but is kept up to date in real time.  -->
<sitemap>
<loc>https://www.zemax.com/sitemap_products_1.xml?from=6263099130033&to=7252744863921</loc>
</sitemap>
<sitemap>
<loc>https://www.zemax.com/sitemap_pages_1.xml</loc>
</sitemap>
<sitemap>
<loc>https://www.zemax.com/sitemap_collections_1.xml</loc>
</sitemap>
<sitemap>
<loc>https://www.zemax.com/sitemap_blogs_1.xml</loc>
</sitemap>
</sitemapindex>

[Blogs] - Add Page Metadata 'Category' to all pages under /blogs/news

[Blogs] - Add Page Metadata 'Category' to all pages under /blogs/news

This category metadata needs to be indexed and would eventually open up tagged pages when clicked to find all categorized pages (example: https://www.zemax.com/blogs/news/tagged/industry-trends)

See https://www.zemax.com/blogs/news/angus-macleod-in-memorium

Screenshot 2023-04-13 at 4 37 49 PM

Check for sample : https://main--zemax--hlxsites.hlx.page/blogs/news/cto-industry-insights-august-2021

We might not need the tagger #33 as there are only ~60 Blog News pages and have few categories as below but all depends on what they do with these tagged pages in the current platform (We need to check this with Ansys)

Categories

  • Company News
  • Events
  • Industry Trends
  • Product News
  • Webinars
  • Success Story
  • eGuide

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.