diff options
Diffstat (limited to 'config')
| -rw-r--r-- | config/routes.rb | 9 | ||||
| -rw-r--r-- | config/tailwind.config.js | 43 |
2 files changed, 32 insertions, 20 deletions
diff --git a/config/routes.rb b/config/routes.rb index 786c21d..7d8a766 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,15 +1,24 @@ Rails.application.routes.draw do namespace :api do namespace :v1 do + resources :games + + # USERS get 'users/index', to: 'users#index' #get 'users/new' #get 'users/create' #get 'users/delete' + + # GAMES + + + # BLOGS get 'blogs/index', to: 'blog#index' post 'blogs/create', to: 'blog#create' get '/show/:id', to: 'blog#show' delete '/destroy/:id', to: 'blog#destroy' + # AUTH get 'auth/callback', to: 'auth#callback' get 'auth/data', to: 'auth#data' end diff --git a/config/tailwind.config.js b/config/tailwind.config.js index a5ba70b..ddc2e3e 100644 --- a/config/tailwind.config.js +++ b/config/tailwind.config.js @@ -1,24 +1,27 @@ const defaultTheme = require('tailwindcss/defaultTheme') module.exports = { - content: [ - './public/*.html', - './app/helpers/**/*.rb', - './app/javascript/**/*.js', - './app/javascript/**/*.jsx', - './app/views/**/*.{erb,haml,html,slim}' - ], - theme: { - extend: { - fontFamily: { - sans: ['Inter var', ...defaultTheme.fontFamily.sans], - }, - }, - }, - plugins: [ - require('@tailwindcss/forms'), - require('@tailwindcss/aspect-ratio'), - require('@tailwindcss/typography'), - require('@tailwindcss/container-queries'), - ] + content: [ + './public/*.html', + './app/helpers/**/*.rb', + './app/javascript/**/*.js', + './app/javascript/**/*.jsx', + './app/views/**/*.{erb,haml,html,slim}' + ], + theme: { + extend: { + backgroundImage: { + 'star': "url('/img/star.png')", + }, + fontFamily: { + sans: ['Inter var', ...defaultTheme.fontFamily.sans], + }, + }, + }, + plugins: [ + require('@tailwindcss/forms'), + require('@tailwindcss/aspect-ratio'), + require('@tailwindcss/typography'), + require('@tailwindcss/container-queries'), + ] } |
