Giter VIP home page Giter VIP logo

commercial-templates's Introduction

Guardian Commercial Templates

This projects creates bespoke ads that fit perfectly on The Guardian, known as “native” in Google Ad Manager parlance.

Aiming to provide a great developer and reader experience, this project uses Svelte to build the template, and SvelteKit to help preview development. You can see the current templates on guardian.github.io/commercial-templates.

This project is a rewrite and work-in-progress. Legacy templates can still be found in the /legacy folder

Developing Locally

Once you've created a project and installed dependencies by running yarn, start a development server:

yarn dev

# or start the server and open the app in a new browser tab
yarn dev --open

When you change templates or shared components, the components will reload automatically. Read more about Svelte templates in src/templates/

Deploying to Github Pages

Deploying is done via building the project using the static adapter, and then pushing the build folder to the gh-pages branch.

yarn deploy

You can build the app by running yarn build and then preview it with yarn preview, regardless of whether you installed an adapter. This should not be used to serve your app in production.

commercial-templates's People

Contributors

mxdvl avatar jamieb-gu avatar buck06191 avatar robertfreeman avatar siadcock avatar emma-imber avatar frankie297 avatar jakeii avatar ghaberis avatar chrislomaxjones avatar katebee avatar lps88 avatar dependabot[bot] avatar marsavar avatar ioanna0 avatar ap0c avatar simonbyford avatar onelittlewolfe avatar shtukas avatar kelvin-chappell avatar rich-nguyen avatar sndrs avatar mullefa avatar arelra avatar janua avatar kant avatar novembertang avatar

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.