mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
start pruning features for v2
This commit is contained in:
parent
87f1089a65
commit
d0cf995367
@ -3,7 +3,7 @@
|
||||
include_quick_reference = defined?(include_quick_reference) && !!include_quick_reference
|
||||
%>
|
||||
|
||||
<p class="text-4xl text-gray-500">
|
||||
<p class="text-4xl text-gray-900">
|
||||
<%=
|
||||
t(
|
||||
"serendipitous_questions.attributes.#{content.page_type.downcase}.#{field.label.downcase}",
|
||||
@ -19,7 +19,7 @@
|
||||
<span class="mx-1">›</span>
|
||||
<%= field.label %>
|
||||
</label>
|
||||
<textarea class="w-full" placeholder="Write as little or as much as you'd like!"></textarea>
|
||||
<textarea class="w-full rounded-lg focus:border-notebook-blue h-48 border-gray-300" placeholder="Write as little or as much as you'd like!"></textarea>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
@ -120,10 +120,14 @@
|
||||
|
||||
<div x-show="accountDropdownOpen" class="absolute right-2 bg-white rounded-md shadow-lg overflow-hidden z-20 w-64">
|
||||
<div class="flex my-2 pt-4 pb-6 px-4 border-b border-gray-300 shadow">
|
||||
<%= image_tag current_user.image_url(size=32), class: 'rounded-full mr-2 p-1 border-2 border-notebook-blue' %>
|
||||
<%= link_to current_user do %>
|
||||
<%= image_tag current_user.image_url(size=32), class: 'rounded-full mr-2 p-1 border-2 border-notebook-blue' %>
|
||||
<% end %>
|
||||
<div>
|
||||
<div class="text-xs text-gray-500">You're signed in as</div>
|
||||
<div class="text-sm <%= User.text_color %> font-bold">@andrew</div>
|
||||
<div class="text-sm <%= User.text_color %> font-bold">
|
||||
<%= link_to current_user.display_name, current_user %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@ -16,10 +16,10 @@
|
||||
Welcome back, <%= link_to current_user.display_name, current_user, class: User.text_color %>!
|
||||
</h1>
|
||||
</div>
|
||||
<!--
|
||||
<dl class="mt-6 flex flex-col sm:ml-3 sm:mt-1 sm:flex-row sm:flex-wrap">
|
||||
<dt class="sr-only">Company</dt>
|
||||
<dd class="flex items-center text-sm text-gray-500 font-medium sm:mr-6">
|
||||
<!-- Heroicon name: solid/office-building -->
|
||||
<svg class="flex-shrink-0 mr-1.5 h-5 w-5 text-gray-400" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
|
||||
<path fill-rule="evenodd" d="M4 4a2 2 0 012-2h8a2 2 0 012 2v12a1 1 0 110 2h-3a1 1 0 01-1-1v-2a1 1 0 00-1-1H9a1 1 0 00-1 1v2a1 1 0 01-1 1H4a1 1 0 110-2V4zm3 1h2v2H7V5zm2 4H7v2h2V9zm2-4h2v2h-2V5zm2 4h-2v2h2V9z" clip-rule="evenodd" />
|
||||
</svg>
|
||||
@ -27,34 +27,31 @@
|
||||
</dd>
|
||||
<dt class="sr-only">Account status</dt>
|
||||
<dd class="mt-3 flex items-center text-sm text-gray-500 font-medium sm:mr-6 sm:mt-0 capitalize">
|
||||
<!-- Heroicon name: solid/check-circle -->
|
||||
<svg class="flex-shrink-0 mr-1.5 h-5 w-5 text-green-400" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
|
||||
<path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd" />
|
||||
</svg>
|
||||
[progress bar]
|
||||
</dd>
|
||||
</dl>
|
||||
-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mt-6 flex space-x-3 md:mt-0 md:ml-4">
|
||||
<!--
|
||||
<button type="button" class="inline-flex items-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-cyan-500">Data Vault</button>
|
||||
-->
|
||||
<button type="button" class="inline-flex items-center px-4 py-2 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-blue-500 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">Discussions</button>
|
||||
-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="py-8">
|
||||
<!-- Writing goals
|
||||
<div class="max-w-6xl mx-auto">
|
||||
<!--
|
||||
<h2 class="text-lg leading-6 font-medium text-gray-900">Overview</h2>
|
||||
-->
|
||||
<h2 class="text-lg leading-6 font-medium text-gray-900">Your writing activity</h2>
|
||||
<div class="mt-2 mb-8 grid grid-cols-1 gap-5 sm:grid-cols-2 lg:grid-cols-3">
|
||||
<!-- Goals -->
|
||||
|
||||
<div class="bg-white overflow-hidden shadow rounded-lg">
|
||||
<div class="p-5">
|
||||
<div class="flex items-center">
|
||||
@ -150,19 +147,20 @@
|
||||
|
||||
</div>
|
||||
</div>
|
||||
-->
|
||||
|
||||
<!-- Serendipitous prompt -->
|
||||
<div class="bg-white shadow-md">
|
||||
<div class="max-w-7xl mx-auto py-16 px-4 sm:py-24 sm:px-6 lg:px-8 lg:flex lg:justify-between space-x-0 md:space-x-16">
|
||||
<div class="w-full">
|
||||
<h2 class="text-sm font-extrabold text-gray-900 sm:tracking-tight mb-1">
|
||||
<h2 class="text-sm font-extrabold text-gray-500 sm:tracking-tight">
|
||||
Expand
|
||||
<% if @universe_scope.present? %>
|
||||
<%= link_to @universe_scope.name, @universe_scope, class: "#{Universe.text_color}" %>,
|
||||
<%= link_to @universe_scope.name, @universe_scope, class: Universe.text_color %>,
|
||||
<% else %>
|
||||
your worlds,
|
||||
<% end %>
|
||||
one question at a time <!-- | little by little -->
|
||||
one question at a time
|
||||
</h2>
|
||||
<%=
|
||||
if @content && @attribute_field_to_question
|
||||
|
||||
Loading…
Reference in New Issue
Block a user