From ddfab312f73a3f3e15ceb6fec7d350500adb53d6 Mon Sep 17 00:00:00 2001 From: Logan Hunt Date: Thu, 14 Apr 2022 00:18:01 -0600 Subject: Update UI --- lib/aggiedit_web/templates/page/index.html.heex | 67 ++++++++++--------------- 1 file changed, 26 insertions(+), 41 deletions(-) (limited to 'lib/aggiedit_web/templates/page') diff --git a/lib/aggiedit_web/templates/page/index.html.heex b/lib/aggiedit_web/templates/page/index.html.heex index f844bd8..f2d2128 100644 --- a/lib/aggiedit_web/templates/page/index.html.heex +++ b/lib/aggiedit_web/templates/page/index.html.heex @@ -1,41 +1,26 @@ -
-

<%= gettext "Welcome to %{name}!", name: "Phoenix" %>

-

Peace of mind from prototype to production

-
- -
- - -
+
+

+ Welcome to AggiEdit! +

+
+
+

+ How does it work? +

+

+ AggiEdit is a Reddit clone, but "sub-aggies" are only available to other users that share the same domain name in the email as yourself. + For example, if you sign up with your email address "joe@mailinator.com" you are assigned to the sub-aggie "mailinator.com". +
+ In a sub-aggie, you can create posts with a title, a body, and an attachment. Posts are visible to everyone in your sub-aggie, and a realtime + chat-room is created for each post in the sub-aggie to discuss that post. +

+ <%= if !@current_user do %> +

+ Get started by <%= link "registering", to: Routes.user_registration_path(@conn, :new) %> to be able to view posts in your sub-aggie! +

+ <% else %> +

+ You are signed in! <%= link "Visit your sub-aggie!", to: "/room/#{@current_user.room_id}" %> +

+ <% end %> +
\ No newline at end of file -- cgit v1.2.3-70-g09d2