diff --git a/Procfile.dev b/Procfile.dev new file mode 100644 index 00000000..eb2064c3 --- /dev/null +++ b/Procfile.dev @@ -0,0 +1,2 @@ +web: bin/webpack-dev-server +api: bundle exec rails server -p 3000 \ No newline at end of file diff --git a/README.md b/README.md index c61ef1b8..05655881 100644 --- a/README.md +++ b/README.md @@ -23,9 +23,11 @@ None (yet). `bin/rspec` -## Staging Environment +## Development Environment -None (yet). +This command will run using Foreman and start the app using both webpack and puma. + +$ bin/dev ## Production Environment diff --git a/app/assets/images/ruby_au_icon.svg b/app/assets/images/ruby_au_icon.svg new file mode 100644 index 00000000..eeddc31e --- /dev/null +++ b/app/assets/images/ruby_au_icon.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 6179fa1a..b314e686 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -1,146 +1,76 @@ - - + + Ruby Australia - - - - - <%= csrf_meta_tags %> - + + + + + - - + + + + + + + + + + + + + + <%= csrf_meta_tags %> <%= javascript_pack_tag 'application' %> <%= stylesheet_pack_tag 'application' %> - - -
- - -
-
-
- <% if content_for?(:heading) || !content_for?(:banner) %> -

<%= yield :heading %>

- <% end %> - - <% if content_for?(:banner) %> - <%= yield :banner %> - <% end %> - -
-
- <% flash.each do |key, value| %> -

<%= value %>

- <% end %> +
- - <% if complex_view? %> - <%= yield %> - <% else %> -
-
- <%= yield %> -
-
- <% end %> +
+ <%= render "shared/footer" %>
- - - - - + diff --git a/app/views/shared/_footer.html.erb b/app/views/shared/_footer.html.erb new file mode 100644 index 00000000..dd2b1b87 --- /dev/null +++ b/app/views/shared/_footer.html.erb @@ -0,0 +1,7 @@ + diff --git a/app/views/shared/_navigation.html.erb b/app/views/shared/_navigation.html.erb new file mode 100644 index 00000000..12636135 --- /dev/null +++ b/app/views/shared/_navigation.html.erb @@ -0,0 +1,96 @@ + diff --git a/bin/dev b/bin/dev new file mode 100755 index 00000000..74ade166 --- /dev/null +++ b/bin/dev @@ -0,0 +1,8 @@ +#!/usr/bin/env sh + +if ! gem list foreman -i --silent; then + echo "Installing foreman..." + gem install foreman +fi + +exec foreman start -f Procfile.dev "$@" diff --git a/bin/setup b/bin/setup index 5853b5ea..2d33af1a 100755 --- a/bin/setup +++ b/bin/setup @@ -18,7 +18,7 @@ FileUtils.chdir APP_ROOT do system('bundle check') || system!('bundle install') # Install JavaScript dependencies - # system('bin/yarn') + system('bin/yarn') # puts "\n== Copying sample files ==" # unless File.exist?('config/database.yml') diff --git a/postcss.config.js b/postcss.config.js index aa5998a8..f5c43596 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -1,6 +1,7 @@ module.exports = { plugins: [ require('postcss-import'), + require('tailwindcss')('./tailwind.config.js'), require('postcss-flexbugs-fixes'), require('postcss-preset-env')({ autoprefixer: { diff --git a/public/favicon.ico b/public/favicon.ico index e69de29b..bf76d1d6 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ diff --git a/public/images/Android/googleplay/icon.png b/public/images/Android/googleplay/icon.png new file mode 100644 index 00000000..f8cb45bd Binary files /dev/null and b/public/images/Android/googleplay/icon.png differ diff --git a/public/images/Android/hdpi/icon.png b/public/images/Android/hdpi/icon.png new file mode 100644 index 00000000..44eee470 Binary files /dev/null and b/public/images/Android/hdpi/icon.png differ diff --git a/public/images/Android/ldpi/icon.png b/public/images/Android/ldpi/icon.png new file mode 100644 index 00000000..0f93c387 Binary files /dev/null and b/public/images/Android/ldpi/icon.png differ diff --git a/public/images/Android/mdpi/icon.png b/public/images/Android/mdpi/icon.png new file mode 100644 index 00000000..db862a68 Binary files /dev/null and b/public/images/Android/mdpi/icon.png differ diff --git a/public/images/Android/xhdpi/icon.png b/public/images/Android/xhdpi/icon.png new file mode 100644 index 00000000..e41ac2e6 Binary files /dev/null and b/public/images/Android/xhdpi/icon.png differ diff --git a/public/images/Android/xxhdpi/icon.png b/public/images/Android/xxhdpi/icon.png new file mode 100644 index 00000000..50173ef8 Binary files /dev/null and b/public/images/Android/xxhdpi/icon.png differ diff --git a/public/images/Android/xxxhdpi/icon.png b/public/images/Android/xxxhdpi/icon.png new file mode 100644 index 00000000..75deb15f Binary files /dev/null and b/public/images/Android/xxxhdpi/icon.png differ diff --git a/public/images/iPad/icon-76@2x~ipad.png b/public/images/iPad/icon-76@2x~ipad.png new file mode 100644 index 00000000..b5b68e48 Binary files /dev/null and b/public/images/iPad/icon-76@2x~ipad.png differ diff --git a/public/images/iPad/icon-76~ipad.png b/public/images/iPad/icon-76~ipad.png new file mode 100644 index 00000000..2210e2d9 Binary files /dev/null and b/public/images/iPad/icon-76~ipad.png differ diff --git a/public/images/iPad/icon-83.5@2x~ipad.png b/public/images/iPad/icon-83.5@2x~ipad.png new file mode 100644 index 00000000..cb4ba6fb Binary files /dev/null and b/public/images/iPad/icon-83.5@2x~ipad.png differ diff --git a/public/images/iPad/icon-Notification@2x ~ipad.png b/public/images/iPad/icon-Notification@2x ~ipad.png new file mode 100644 index 00000000..bdc23110 Binary files /dev/null and b/public/images/iPad/icon-Notification@2x ~ipad.png differ diff --git a/public/images/iPad/icon-Notification~ipad.png b/public/images/iPad/icon-Notification~ipad.png new file mode 100644 index 00000000..d0d0a4fb Binary files /dev/null and b/public/images/iPad/icon-Notification~ipad.png differ diff --git a/public/images/iPad/icon-Settings@2x~ipad.png b/public/images/iPad/icon-Settings@2x~ipad.png new file mode 100644 index 00000000..adff1aaf Binary files /dev/null and b/public/images/iPad/icon-Settings@2x~ipad.png differ diff --git a/public/images/iPad/icon-Settings~ipad.png b/public/images/iPad/icon-Settings~ipad.png new file mode 100644 index 00000000..750c1d04 Binary files /dev/null and b/public/images/iPad/icon-Settings~ipad.png differ diff --git a/public/images/iPad/icon-Spotlight-40@2x~ipad.png b/public/images/iPad/icon-Spotlight-40@2x~ipad.png new file mode 100644 index 00000000..de42d29e Binary files /dev/null and b/public/images/iPad/icon-Spotlight-40@2x~ipad.png differ diff --git a/public/images/iPad/icon-Spotlight-40~ipad.png b/public/images/iPad/icon-Spotlight-40~ipad.png new file mode 100644 index 00000000..5658c31a Binary files /dev/null and b/public/images/iPad/icon-Spotlight-40~ipad.png differ diff --git a/public/images/iPad/icon@ios~marketing.png b/public/images/iPad/icon@ios~marketing.png new file mode 100644 index 00000000..b2297e3f Binary files /dev/null and b/public/images/iPad/icon@ios~marketing.png differ diff --git a/public/images/iPhone/icon-60@2x.png b/public/images/iPhone/icon-60@2x.png new file mode 100644 index 00000000..7acac1b1 Binary files /dev/null and b/public/images/iPhone/icon-60@2x.png differ diff --git a/public/images/iPhone/icon-60@3x.png b/public/images/iPhone/icon-60@3x.png new file mode 100644 index 00000000..cadb9af7 Binary files /dev/null and b/public/images/iPhone/icon-60@3x.png differ diff --git a/public/images/iPhone/icon-Notification@2x.png b/public/images/iPhone/icon-Notification@2x.png new file mode 100644 index 00000000..bdc23110 Binary files /dev/null and b/public/images/iPhone/icon-Notification@2x.png differ diff --git a/public/images/iPhone/icon-Notification@3x.png b/public/images/iPhone/icon-Notification@3x.png new file mode 100644 index 00000000..6bafb257 Binary files /dev/null and b/public/images/iPhone/icon-Notification@3x.png differ diff --git a/public/images/iPhone/icon-Settings@2x.png b/public/images/iPhone/icon-Settings@2x.png new file mode 100644 index 00000000..adff1aaf Binary files /dev/null and b/public/images/iPhone/icon-Settings@2x.png differ diff --git a/public/images/iPhone/icon-Settings@3x.png b/public/images/iPhone/icon-Settings@3x.png new file mode 100644 index 00000000..87562f77 Binary files /dev/null and b/public/images/iPhone/icon-Settings@3x.png differ diff --git a/public/images/iPhone/icon-Spotlight-40@2x.png b/public/images/iPhone/icon-Spotlight-40@2x.png new file mode 100644 index 00000000..de42d29e Binary files /dev/null and b/public/images/iPhone/icon-Spotlight-40@2x.png differ diff --git a/public/images/iPhone/icon-Spotlight-40@3x.png b/public/images/iPhone/icon-Spotlight-40@3x.png new file mode 100644 index 00000000..d834b788 Binary files /dev/null and b/public/images/iPhone/icon-Spotlight-40@3x.png differ diff --git a/public/images/iPhone/iconios~marketing.png b/public/images/iPhone/iconios~marketing.png new file mode 100644 index 00000000..b2297e3f Binary files /dev/null and b/public/images/iPhone/iconios~marketing.png differ diff --git a/public/images/ico/icon.ico b/public/images/ico/icon.ico new file mode 100644 index 00000000..bf76d1d6 Binary files /dev/null and b/public/images/ico/icon.ico differ diff --git a/public/preview.jpg b/public/preview.jpg new file mode 100644 index 00000000..2b8d888d Binary files /dev/null and b/public/preview.jpg differ diff --git a/tailwind.config.js b/tailwind.config.js new file mode 100644 index 00000000..62dfdaf3 --- /dev/null +++ b/tailwind.config.js @@ -0,0 +1,11 @@ +module.exports = { + purge: [], + darkMode: false, // or 'media' or 'class' + theme: { + extend: {}, + }, + variants: { + extend: {}, + }, + plugins: [], +}