Giter VIP home page Giter VIP logo

site-books's Introduction

L'Académie des Renards

This is the source code of my author website. It's a French-only website that introduces my novels, articles, and artworks. To be honest, the only reason it's public is because I use GitHub pages for deployment, but feel free to have a look. It's an Ember app building with Embroider.

Prerequisites

Installation

Running

Deploying

Anything merged to master branch gets deployed to https://academie-des-renards.dunstetter.fr/ using GitHub actions.

Ember Links

site-books's People

Contributors

bluecutofficial avatar ember-tomster avatar

Watchers

 avatar

site-books's Issues

Readme

Make a README to remember the release process:

git checkout master
git fetch
git reset --hard origin master
yarn build
git checkout gh-pages

Then:

  • move CNAME into the dist folder
  • Manually check the bug with the icon that stays in the asset folder (move it to dist root)
  • Remove everything but dist folder
  • Move the content of dist to the root
  • Remove the now empty dist folder
git checkout -b release-yy-mm-dd
git add .
git commit -m "release yy-mm-dd"
git push origin release-yy-mm-dd

Then on Github:

  • Open a PR
  • Change the target branch to gh-pages
  • Merge and wait for the deployment 🎉

Ko-Fi button on hover

Change the color on hover to lighter. Not sure it can be changed easily as the button is integrated. Maybe I should do my own to change the width and border-radius too.

New Ember site: the URLs of the different routes point to a 404

Github pages is made to display static web sites. Once you visit marine.dunstetter.fr, you can access all the web site by clicking in the menus. But if you visit marine.dunstetter.fr/games, it will return a 404.
The project rafgraph/spa-github-pages has been used to make the SPA work as expected with Github pages:

  • The custom 404.hmtl page was added to public assets
  • The redirection script was copied in index.html

👉 BlueCutOfficial/site-cv#21

Booktrailer on mobile

On mobile, the presence of the book trailer on the screen makes the page size larger. The bug is fixed as soon as the left/right arrows to display other content are clicked.

Clean-up unused ids

The website assigns a lot of ids to the DOM element, they were used in the native-JS website to manipulate the element. With Ember modifiers, interactions are a lot simpler to implement and a lot of ids are no longer used. Some of them are still used for some parts that haven't been properly refactored with modifiers though.

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.