GithubHelp home page GithubHelp logo

canonical / canonical.com Goto Github PK

View Code? Open in Web Editor NEW
28.0 16.0 63.0 13.5 MB

Repository for the new version of canonical.com

License: Other

Shell 1.95% Python 8.75% HTML 76.77% JavaScript 6.70% Dockerfile 0.14% SCSS 4.27% TypeScript 1.41%
website hacktoberfest web-and-design

canonical.com's Introduction

Canonical canonical.com

The new codebase, to replace the old one.

CircleCI build status Code coverage

This is the repository for the canonical.com website.

Architecture overview

This website is written with the help of the flask framework. In order to use functionalities that multiple of our websites here at Canonical share, we import the base-flask-extension module.

Development

The simplest way to run the site is with the dotrun snap:

dotrun

Afterwards the website will be available at http://localhost:8002.

When you start changing files, the server should reload and make the changes available immediately.

Greenhouse API

To work locally on the /careers section of the site, you will need to add a HARVEST_API_KEY environment variable to .env file. You can find this via the Greenhouse admin panel.

Deploy

You can find the deployment config in the deploy folder.

License

The content of this project is licensed under the Creative Commons Attribution-ShareAlike 4.0 International license, and the underlying code used to format and display that content is licensed under the LGPLv3 by Canonical Ltd.

canonical.com's People

Contributors

akbarkz avatar andesol avatar anthonydillon avatar b-m-f avatar barrymcgee avatar bartaz avatar bethcollins92 avatar britneywwc avatar carkod avatar clementchaumel avatar deadlight avatar dependabot[bot] avatar goulinkh avatar jkfran avatar jpmartinspt avatar lizzochek avatar lyubomir-popov avatar minkyngkm avatar mtruj013 avatar muhammadbassiony avatar nottrobin avatar pedoch avatar petesfrench avatar renovate-bot avatar renovate[bot] avatar samhotep avatar solazio avatar sowasred2012 avatar steverydz avatar tbille avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

canonical.com's Issues

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Error type: undefined

Home page navigation vs careers navigation

Found on https://staging.canonical.com/

Canonical.com main page navigation looks and behaves differently from /careers nav:

canonical.com:
Screenshot 2019-12-19 at 16 46 18

canonical.com/careers:
Screenshot 2019-12-19 at 16 46 05

Both navs look a bit different (different hover state) and the same items of navigation do different things on both pages:

It's weird that 'Careers' on main page just scrolls the page to relevant section, but when you are in /careers section it's a link to /careers page.
Also there is no way to get to /careers page from home page. "Explore career" button links directly to /careers/start.

Products dropdown is only on /careers, but not on home page.

Also there seems to be an issue with home page navigation on small screens:
Screenshot 2019-12-19 at 16 49 40

Screenshot 2019-12-19 at 16 49 51

Improvements to the navigation

  • Make the Canonical a little bigger too, so it has a min-height: 2rem; and also make the menu sticky on all pages. (width: 115px)
  • Also with the menu on the home page, can you make the background selected when you click or get to that area on the page. So when you click Products and it jumps down the background is highlighted but when you scroll off that area it goes away?
  • Make navigation sticky on all pages

Talk to Gordon about the general job application procedure

  • when a user finds no jobs under a category, then sends us their CV, how should we associate that CV with the category? Default job IDs for each category? Or an extra field containing the category name?
  • some categories are showing no jobs, there's some sort of mismatch between category names on c.c and those in Greenhouse

Replace Port in README with the correct one

Right now the README has XXXX instead of the correct port.

Once decided which port it should be ( take over the old one, or get a new one ) at https://canonical-web-and-design.github.io/practices/project-structure/ports.html, this should be reflected in the README.

Long job results list make "Apply Now" button hard to find

If the list of results from the careers game is reasonably large, it's not obvious that there is an "Apply Now" button at the bottom of it, or at least requires a lot of scrolling to find the thing that will let me proceed to the next step.

Update copy on /careers/results

After you visit /careers/start and you select your skills, click on the Submit choices button and see there is some lorem ipsum text displayed. This should be eighter removed or replaced with some meaningful text.

Also the generated text mentioning the departments suitable for you shows one extra comma.
image

Disappearing tab content when using back button

When selecting a tab within a job category, if you press the browser back button, the tab content area will become blank, rather than either showing the previous tab content or sending the user to the previous page:

tabs

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.