-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a basic home page, small description and prepare for other links
- Loading branch information
1 parent
0d7ba69
commit 0a9c414
Showing
13 changed files
with
131 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
@import "https://cdn.jsdelivr.net/npm/[email protected]/public/assets/styles/choices.min.css"; | ||
@import "https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css"; | ||
@import "https://cdn.jsdelivr.net/npm/[email protected]/css/fork-awesome.min.css"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
@import "https://cdn.jsdelivr.net/npm/[email protected]/public/assets/styles/choices.min.css"; | ||
@import "https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css"; | ||
|
||
:root { | ||
--bulma-primary-h: 31deg; | ||
--bulma-primary-s: 84%; | ||
|
@@ -23,3 +20,14 @@ | |
.navbar { | ||
--bulma-navbar-background-color: #E7D8B7; | ||
} | ||
|
||
.hero-body .subtitle { | ||
padding-top: 2rem; | ||
line-height: 1.5; | ||
} | ||
|
||
.card-image > .fa { | ||
font-size: 5rem; | ||
padding-top: 2rem; | ||
padding-bottom: 2rem; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# frozen_string_literal: true | ||
|
||
class HomeController < ApplicationController | ||
layout "home" | ||
allow_unauthenticated_access | ||
|
||
def index; end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
%footer.section | ||
.box.cta | ||
.container | ||
.pb-5.is-flex.is-flex-wrap-wrap.is-justify-content-between.is-align-items-center | ||
.mr-auto.mb-2 | ||
%a.is-inline-block{:href => "#"} | ||
%img.image{:alt => "", :src => "https://bulma.io/images/bulma-logo.png", :width => "96px"}/ | ||
%div | ||
%ul.is-flex.is-flex-wrap-wrap.is-align-items-center.is-justify-content-center | ||
%li.mr-4 | ||
%a.is-white{:href => "#"} About | ||
%li.mr-4 | ||
%a.is-white{:href => "#"} Terms | ||
%li.mr-4 | ||
%a.is-white{:href => "#"} Privacy | ||
%hr | ||
.container | ||
.is-flex-tablet.is-justify-content-between.is-align-items-center | ||
%p | ||
Powered by | ||
%a{href: "https://join.retromeet.social", target: "_blank"} | ||
RetroMeet | ||
© 2024, RetroMeet contributors. | ||
.py-2.is-hidden-tablet | ||
.ml-auto | ||
%a.mr-4.is-inline-block{href: "https://github.com/retromeet", target: "_blank"} | ||
%i.fa.fa-github{ "aria-hidden": true } | ||
%a.mr-4.is-inline-block{href: "https://masto.donte.com.br/@retromeet", target: "_blank"} | ||
%i.fa.fa-mastodon{ "aria-hidden": true } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
.hero-head | ||
= render "header" | ||
.hero-body | ||
.container.has-text-centered | ||
%h1.title | ||
Dating online can be different: free, open-source and privacy conscious! | ||
%h2.subtitle | ||
RetroMeet is and always will be free, and since it's open source you can help build the best friend-finding and dating app out there! | ||
%section.container | ||
.columns.features | ||
.column.is-4 | ||
.card.is-shady | ||
.card-image.has-text-centered | ||
%i.fa.fa-lightbulb-o | ||
.card-content | ||
.content | ||
%h4 Free | ||
%p RetroMeet is free, no more paying to maybe get in touch with people that interest you. No anxiety-inducing "someone liked you" prompt. | ||
.column.is-4 | ||
.card.is-shady | ||
.card-image.has-text-centered | ||
%i.fa.fa-user-secret | ||
.card-content | ||
.content | ||
%h4 Privacy conscious | ||
%p We do not sell your data or give it to third parties. You have controls to help navigate who can see your data. | ||
.column.is-4 | ||
.card.is-shady | ||
.card-image.has-text-centered | ||
%i.fa.fa-code-fork | ||
.card-content | ||
.content | ||
%h4 Open-source | ||
%p | ||
The code for RetroMeet is available and can be modified by many hands to improve |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,3 +37,4 @@ | |
|
||
.column.is-9 | ||
= yield | ||
= render "footer" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
!!! | ||
%html | ||
%head | ||
%meta{:content => "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/ | ||
%title RetromeetWeb | ||
%meta{:content => "width=device-width,initial-scale=1", :name => "viewport"}/ | ||
%meta{:content => "yes", :name => "apple-mobile-web-app-capable"}/ | ||
%meta{:content => "yes", :name => "mobile-web-app-capable"}/ | ||
= csrf_meta_tags | ||
= csp_meta_tag | ||
= yield :head | ||
%link{:href => "/icon.png", :rel => "icon", :type => "image/png"}/ | ||
%link{:href => "/icon.svg", :rel => "icon", :type => "image/svg+xml"}/ | ||
%link{:href => "/icon.png", :rel => "apple-touch-icon"}/ | ||
= stylesheet_link_tag :app, "data-turbo-track": "reload" | ||
= javascript_importmap_tags | ||
%body | ||
%section.hero.is-medium.is-bold | ||
= yield | ||
= render "footer" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,3 +26,5 @@ | |
.notification.is-success | ||
= flash[:success] | ||
= yield | ||
|
||
= render "footer" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# frozen_string_literal: true | ||
|
||
require "test_helper" | ||
|
||
class HomeControllerTest < ActionDispatch::IntegrationTest | ||
test "should get index" do | ||
get root_url | ||
assert_response :success | ||
end | ||
end |