plutonium 0.10.3 → 0.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -2
- data/app/assets/application.js.bk +31419 -0
- data/app/assets/plutonium-original.png +0 -0
- data/app/assets/plutonium-white.png +0 -0
- data/app/assets/plutonium.css +1 -0
- data/app/assets/plutonium.ico +0 -0
- data/app/assets/plutonium.js +12416 -0
- data/app/assets/plutonium.js.map +7 -0
- data/app/assets/plutonium.min.js +39 -0
- data/app/assets/plutonium.min.js.map +7 -0
- data/app/assets/plutonium.png +0 -0
- data/app/views/application/_flash_alerts.html.erb +2 -2
- data/app/views/application/_resource_header.html.erb +261 -697
- data/app/views/application/_resource_sidebar.html.erb +14 -12
- data/app/views/components/action_button/action_button_component.rb +3 -3
- data/app/views/components/attributes.rb +184 -0
- data/app/views/components/base.rb +19 -40
- data/app/views/components/block/block_component.html.erb +1 -1
- data/app/views/components/block/block_component.rb +11 -7
- data/app/views/components/breadcrumbs/breadcrumbs_component.rb +3 -3
- data/app/views/components/button/button_component.html.erb +2 -2
- data/app/views/components/button/button_component.rb +10 -5
- data/app/views/components/dyna_frame_content/dyna_frame_content_component.html.erb +1 -0
- data/app/views/components/dyna_frame_content/dyna_frame_content_component.rb +3 -3
- data/app/views/components/dyna_frame_host/dyna_frame_host_component.html.erb +1 -2
- data/app/views/components/dyna_frame_host/dyna_frame_host_component.rb +12 -5
- data/app/views/components/empty_card/empty_card_component.rb +3 -3
- data/app/views/components/form/form_builder.rb +1 -1
- data/app/views/components/form/form_component.rb +3 -3
- data/app/views/components/has_many_panel/has_many_panel_component.html.erb +25 -0
- data/app/views/components/has_many_panel/has_many_panel_component.rb +16 -0
- data/app/views/components/header/header_component.rb +3 -3
- data/app/views/components/interactive_action_form/interactive_action_form_component.rb +3 -3
- data/app/views/components/nav_grid_menu/nav_grid_menu_component.html.erb +24 -0
- data/app/views/components/nav_grid_menu/nav_grid_menu_component.rb +23 -0
- data/app/views/components/nav_grid_menu_item/nav_grid_menu_item_component.html.erb +4 -0
- data/app/views/components/nav_grid_menu_item/nav_grid_menu_item_component.rb +20 -0
- data/app/views/components/nav_user/nav_user_component.html.erb +50 -0
- data/app/views/components/nav_user/nav_user_component.rb +32 -0
- data/app/views/components/nav_user_link/nav_user_link_component.html.erb +7 -0
- data/app/views/components/nav_user_link/nav_user_link_component.rb +23 -0
- data/app/views/components/nav_user_section/nav_user_section_component.html.erb +7 -0
- data/app/views/components/nav_user_section/nav_user_section_component.rb +18 -0
- data/app/views/components/nested_resource_form_fields/nested_resource_form_fields_component.html.erb +1 -3
- data/app/views/components/nested_resource_form_fields/nested_resource_form_fields_component.rb +11 -5
- data/app/views/components/pagination/pagination_component.html.erb +1 -1
- data/app/views/components/pagination/pagination_component.rb +10 -7
- data/app/views/components/panel/panel_component.html.erb +13 -6
- data/app/views/components/panel/panel_component.rb +11 -5
- data/app/views/components/resource_header/resource_header_component.html.erb +83 -0
- data/app/views/components/resource_header/resource_header_component.rb +30 -0
- data/app/views/components/resource_layout/resource_layout_component.html.erb +49 -0
- data/app/views/components/resource_layout/resource_layout_component.rb +41 -0
- data/app/views/components/sidebar/sidebar_component.html.erb +3 -33
- data/app/views/components/sidebar/sidebar_component.rb +3 -3
- data/app/views/components/sidebar_menu/sidebar_menu_component.html.erb +4 -2
- data/app/views/components/sidebar_menu/sidebar_menu_component.rb +10 -6
- data/app/views/components/sidebar_menu_item/sidebar_menu_item_component.html.erb +63 -71
- data/app/views/components/sidebar_menu_item/sidebar_menu_item_component.rb +27 -8
- data/app/views/components/skeleton/table/table_component.html.erb +1 -1
- data/app/views/components/skeleton/table/table_component.rb +3 -3
- data/app/views/components/table/table_component.html.erb +40 -89
- data/app/views/components/table/table_component.rb +124 -28
- data/app/views/components/table_search_input/table_search_input_component.html.erb +1 -1
- data/app/views/components/table_search_input/table_search_input_component.rb +11 -6
- data/app/views/components/table_toolbar/table_toolbar_component.html.erb +1 -1
- data/app/views/components/table_toolbar/table_toolbar_component.rb +11 -3
- data/app/views/components/toolbar/toolbar_component.html.erb +2 -2
- data/app/views/components/toolbar/toolbar_component.rb +16 -8
- data/app/views/layouts/resource.html.erb +12 -45
- data/app/views/layouts/rodauth.html.erb +20 -36
- data/app/views/resource/_interactive_resource_action_form.html.erb +1 -1
- data/app/views/resource/_resource_details.html.erb +8 -5
- data/app/views/resource/_resource_table.html.erb +70 -1
- data/app/views/resource/interactive_resource_collection_action.html.erb +1 -0
- data/app/views/resource/interactive_resource_record_action.html.erb +1 -0
- data/app/views/resource/interactive_resource_recordless_action.html.erb +1 -0
- data/app/views/resource/new.html.erb +1 -0
- data/config/initializers/simple_form.rb +22 -2
- data/esbuild.config.js +35 -31
- data/lib/generators/pu/core/assets/assets_generator.rb +44 -0
- data/lib/generators/pu/core/assets/templates/tailwind.config.js +18 -0
- data/lib/generators/pu/core/install/install_generator.rb +4 -1
- data/lib/generators/pu/gem/dotenv/templates/config/initializers/001_ensure_required_env.rb +6 -0
- data/lib/generators/pu/gen/component/component_generator.rb +13 -10
- data/lib/generators/pu/gen/component/templates/component.html.erb.tt +1 -1
- data/lib/generators/pu/gen/component/templates/component.rb.tt +10 -4
- data/lib/generators/pu/pkg/app/app_generator.rb +4 -4
- data/lib/generators/pu/pkg/app/templates/app/controllers/concerns/controller.rb.tt +28 -0
- data/lib/generators/pu/pkg/app/templates/app/controllers/controller.rb.tt +5 -0
- data/lib/generators/pu/pkg/app/templates/app/controllers/dashboard_controller.rb.tt +1 -1
- data/lib/generators/pu/res/conn/conn_generator.rb +4 -4
- data/lib/generators/pu/res/conn/templates/app/controllers/resource_controller.rb.tt +1 -1
- data/lib/generators/pu/res/model/model_generator.rb +3 -3
- data/lib/generators/pu/res/scaffold/templates/policy.rb.tt +6 -0
- data/lib/generators/pu/service/sidekiq/sidekiq_generator.rb +0 -5
- data/lib/generators/pu/service/sidekiq/templates/app/sidekiq/sidekiq_job.rb +0 -2
- data/lib/plutonium/config.rb +2 -14
- data/lib/plutonium/core/associations/renderers/basic_renderer.rb +28 -0
- data/lib/plutonium/core/associations/renderers/factory.rb +36 -0
- data/lib/plutonium/core/associations/renderers/has_many_renderer.rb +16 -0
- data/lib/plutonium/core/autodiscovery/association_renderer_discoverer.rb +31 -0
- data/lib/plutonium/core/controllers/authorizable.rb +13 -17
- data/lib/plutonium/core/controllers/base.rb +3 -7
- data/lib/plutonium/core/controllers/presentable.rb +6 -1
- data/lib/plutonium/core/definers/association_renderer_definer.rb +33 -0
- data/lib/plutonium/core/fields/inputs/checkbox_input.rb +13 -0
- data/lib/plutonium/core/fields/inputs/factory.rb +1 -0
- data/lib/plutonium/core/fields/inputs/polymorphic_belongs_to_association_input.rb +1 -1
- data/lib/plutonium/core/ui/detail.rb +1 -0
- data/lib/plutonium/helpers/application_helper.rb +8 -9
- data/lib/plutonium/helpers/assets_helper.rb +41 -0
- data/lib/plutonium/helpers/display_helper.rb +13 -0
- data/lib/plutonium/helpers/form_helper.rb +1 -1
- data/lib/plutonium/helpers.rb +1 -0
- data/lib/plutonium/icons.rb +12 -5
- data/lib/plutonium/pkg/app.rb +10 -0
- data/lib/plutonium/pundit/context.rb +18 -0
- data/lib/plutonium/pundit/policy_finder.rb +25 -0
- data/lib/plutonium/railtie.rb +26 -8
- data/lib/plutonium/reloader.rb +18 -7
- data/lib/plutonium/resource/controller.rb +4 -0
- data/lib/plutonium/resource/policy.rb +69 -47
- data/lib/plutonium/resource/presenter.rb +1 -0
- data/lib/plutonium/resource/query_object.rb +139 -130
- data/lib/plutonium/rodauth/controller_methods.rb +7 -3
- data/lib/plutonium/version.rb +1 -1
- data/lib/plutonium.rb +9 -57
- data/package-lock.json +782 -17
- data/package.json +31 -8
- data/postcss.config.js +17 -7
- data/src/.npmignore +2 -0
- data/src/js/controllers/color_mode_controller.js +41 -0
- data/src/js/controllers/frame_navigator_controller.js +99 -0
- data/src/js/controllers/has_many_panel_controller.js +8 -0
- data/src/js/controllers/nav_grid_menu_controller.js +8 -0
- data/src/js/controllers/nav_grid_menu_item_controller.js +8 -0
- data/{app/views/components/tab_bar/tab_bar_controller.js → src/js/controllers/nav_user_controller.js} +2 -2
- data/src/js/controllers/nav_user_link_controller.js +8 -0
- data/src/js/controllers/nav_user_section_controller.js +8 -0
- data/src/js/controllers/register_controllers.js +45 -0
- data/{app/assets/javascripts → src/js}/controllers/resource_dismiss_controller.js +2 -0
- data/{app/assets/javascripts → src/js}/controllers/resource_drop_down_controller.js +2 -0
- data/src/js/controllers/resource_header_controller.js +8 -0
- data/src/js/controllers/resource_layout_controller.js +8 -0
- data/src/js/controllers/sidebar_menu_controller.js +8 -0
- data/src/js/controllers/sidebar_menu_item_controller.js +8 -0
- data/src/js/core.js +4 -0
- data/{app/assets/javascripts/plutonium-app.js → src/js/plutonium.js} +1 -1
- data/{app/assets/javascripts → src/js}/turbo/turbo_debug.js +2 -4
- data/tailwind.config.js +85 -84
- metadata +73 -39
- data/app/assets/build/plutonium.js +0 -5122
- data/app/assets/javascripts/controllers/index.js +0 -34
- data/app/assets/javascripts/plutonium.js +0 -1
- data/app/views/application/_color_modes.html.erb +0 -57
- data/app/views/components/tab_bar/tab_bar_component.html.erb +0 -11
- data/app/views/components/tab_bar/tab_bar_component.rb +0 -9
- data/app/views/resource/_nav_user.html.erb +0 -4
- data/app/views/resource/_tab_menu.html.erb +0 -13
- data/css.manifest +0 -3
- data/js.manifest +0 -4
- data/lib/generators/pu/pkg/app/templates/app/controllers/app_controller.rb.tt +0 -5
- data/lib/generators/pu/pkg/app/templates/app/controllers/package_controller.rb.tt +0 -26
- data/public/plutonium-assets/application.css +0 -25086
- data/public/plutonium-assets/plutonium-app-36KN5FVJ.js +0 -6
- data/public/plutonium-assets/plutonium-app-36KN5FVJ.js.map +0 -7
- data/public/plutonium-assets/plutonium-app-6WILQCTT.js +0 -39
- data/public/plutonium-assets/plutonium-app-6WILQCTT.js.map +0 -7
- data/public/plutonium-assets/plutonium.2d4f0c333cd000051d3b.css +0 -3424
- data/public/plutonium-assets/plutonium.50232e35b5495f5ad90d.css +0 -3415
- data/public/plutonium-assets/plutonium.8bee7a8482988b0360e3.css +0 -3420
- /data/{app/assets/build → lib/generators/pu/core/assets/templates}/.keep +0 -0
- /data/{app/assets/stylesheets → src/css}/plutonium.css +0 -0
- /data/{app/views/components/form → src/js/controllers}/form_controller.js +0 -0
- /data/{app/views/components/interactive_action_form → src/js/controllers}/interactive_action_form_controller.js +0 -0
- /data/{app/views/components/nested_resource_form_fields → src/js/controllers}/nested_resource_form_fields_controller.js +0 -0
- /data/{app/views/components/table → src/js/controllers}/table_controller.js +0 -0
- /data/{app/views/components/table_search_input → src/js/controllers}/table_search_input_controller.js +0 -0
- /data/{app/views/components/table_toolbar → src/js/controllers}/table_toolbar_controller.js +0 -0
- /data/{app/views/components/toolbar → src/js/controllers}/toolbar_controller.js +0 -0
- /data/{app/assets/javascripts → src/js}/turbo/index.js +0 -0
- /data/{app/assets/javascripts → src/js}/turbo/turbo_actions.js +0 -0
- /data/{app/assets/javascripts → src/js}/turbo/turbo_frame_monkey_patch.js +0 -0
@@ -1,723 +1,287 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
1
|
+
<%# locals: (sidebar_toggle:) %>
|
2
|
+
|
3
|
+
<%= render_component :resource_header, sidebar_toggle: do |header| %>
|
4
|
+
<% header.with_action do %>
|
5
|
+
<%=
|
6
|
+
render_component :nav_grid_menu, label: "Apps" do |menu|
|
7
|
+
menu.with_item url: "#", name: "Sales", icon: "outline/sale-percent"
|
8
|
+
menu.with_item url: "#", name: "Users", icon: "outline/users"
|
9
|
+
end
|
10
|
+
%>
|
11
|
+
<% end %>
|
12
|
+
|
13
|
+
<% header.with_action do %>
|
14
|
+
<%= render_component :nav_user, email: current_user.email, logout_url: try(:logout_url) do |nav_user| %>
|
15
|
+
<% nav_user.with_section do |section| %>
|
16
|
+
<% section.with_link url: "#", label: "My profile" %>
|
17
|
+
<% section.with_link url: "#", label: "Account settings" %>
|
18
|
+
<% end %>
|
19
|
+
|
20
|
+
<% nav_user.with_section do |section| %>
|
21
|
+
<% section.with_link url: "#", label: "My likes" do |link| %>
|
22
|
+
<% link.with_leading do %>
|
23
|
+
<%= render_icon "outline/heart", classname: "mr-2 text-gray-400" %>
|
24
|
+
<% end %>
|
25
|
+
<% end %>
|
26
|
+
|
27
|
+
<% section.with_link url: "#", label: "Pro version" do |link| %>
|
28
|
+
<% link.with_leading do %>
|
29
|
+
<%= render_icon "outline/fire", classname: "mr-2 text-primary-600 dark:text-primary-500" %>
|
30
|
+
<% end %>
|
31
|
+
<% link.with_trailing do %>
|
32
|
+
<%= render_icon "outline/angle-right", size: :sm %>
|
33
|
+
<% end %>
|
34
|
+
<% end %>
|
35
|
+
<% end %>
|
36
|
+
<% end %>
|
37
|
+
<% end %>
|
38
|
+
|
39
|
+
<%#
|
40
|
+
|
41
|
+
<!-- Notifications -->
|
42
|
+
<div data-controller="resource-drop-down">
|
43
|
+
<button
|
44
|
+
type="button"
|
45
|
+
data-resource-drop-down-target="trigger"
|
46
|
+
class="p-2 mr-1 text-gray-500 rounded-lg hover:text-gray-900 hover:bg-gray-100 dark:text-gray-200 dark:hover:text-white dark:hover:bg-gray-700 focus:ring-4 focus:ring-gray-300 dark:focus:ring-gray-600">
|
47
|
+
<span class="sr-only">View notifications</span>
|
48
|
+
<!-- Bell icon -->
|
49
|
+
<svg
|
50
|
+
aria-hidden="true"
|
51
|
+
class="w-6 h-6"
|
52
|
+
fill="currentColor"
|
53
|
+
viewBox="0 0 20 20"
|
54
|
+
xmlns="http://www.w3.org/2000/svg">
|
55
|
+
<path
|
56
|
+
d="M10 2a6 6 0 00-6 6v3.586l-.707.707A1 1 0 004 14h12a1 1 0 00.707-1.707L16 11.586V8a6 6 0 00-6-6zM10 18a3 3 0 01-3-3h6a3 3 0 01-3 3z"></path>
|
57
|
+
</svg>
|
58
|
+
</button>
|
59
|
+
<!-- Dropdown menu -->
|
60
|
+
<div
|
61
|
+
data-resource-drop-down-target="menu"
|
62
|
+
class="hidden overflow-hidden z-50 my-4 max-w-sm text-base list-none bg-white divide-y divide-gray-100 shadow-lg dark:divide-gray-600 dark:bg-gray-700 rounded-xl">
|
63
|
+
<div
|
64
|
+
class="block py-2 px-4 text-base font-medium text-center text-gray-700 bg-gray-50 dark:bg-gray-600 dark:text-gray-300">
|
65
|
+
Notifications
|
66
|
+
</div>
|
67
|
+
<div>
|
68
|
+
<a
|
69
|
+
href="#"
|
70
|
+
class="flex py-3 px-4 border-b hover:bg-gray-100 dark:hover:bg-gray-600 dark:border-gray-600">
|
71
|
+
<div class="shrink-0">
|
72
|
+
<img
|
73
|
+
class="w-11 h-11 rounded-full"
|
74
|
+
src="https://flowbite.s3.amazonaws.com/blocks/marketing-ui/avatars/bonnie-green.png"
|
75
|
+
alt="Bonnie Green avatar"
|
76
|
+
/>
|
77
|
+
<div
|
78
|
+
class="flex absolute justify-center items-center ml-6 -mt-5 w-5 h-5 rounded-full border border-white bg-primary-700 dark:border-gray-700">
|
79
|
+
<svg
|
80
|
+
aria-hidden="true"
|
81
|
+
class="w-3 h-3 text-white"
|
82
|
+
fill="currentColor"
|
83
|
+
viewBox="0 0 20 20"
|
84
|
+
xmlns="http://www.w3.org/2000/svg">
|
85
|
+
<path
|
86
|
+
d="M8.707 7.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l2-2a1 1 0 00-1.414-1.414L11 7.586V3a1 1 0 10-2 0v4.586l-.293-.293z"></path>
|
87
|
+
<path
|
88
|
+
d="M3 5a2 2 0 012-2h1a1 1 0 010 2H5v7h2l1 2h4l1-2h2V5h-1a1 1 0 110-2h1a2 2 0 012 2v10a2 2 0 01-2 2H5a2 2 0 01-2-2V5z"></path>
|
89
|
+
</svg>
|
90
|
+
</div>
|
91
|
+
</div>
|
92
|
+
<div class="pl-3 w-full">
|
93
|
+
<div
|
94
|
+
class="text-gray-500 font-normal text-sm mb-1.5 dark:text-gray-200">
|
95
|
+
New message from
|
96
|
+
<span class="font-semibold text-gray-900 dark:text-white"
|
97
|
+
>Bonnie Green</span
|
98
|
+
>: "Hey, what's up? All set for the presentation?"
|
99
|
+
</div>
|
100
|
+
<div
|
101
|
+
class="text-xs font-medium text-primary-600 dark:text-primary-500">
|
102
|
+
a few moments ago
|
103
|
+
</div>
|
104
|
+
</div>
|
47
105
|
</a>
|
48
|
-
|
49
|
-
|
50
|
-
|
106
|
+
<a
|
107
|
+
href="#"
|
108
|
+
class="flex py-3 px-4 border-b hover:bg-gray-100 dark:hover:bg-gray-600 dark:border-gray-600">
|
109
|
+
<div class="shrink-0">
|
110
|
+
<img
|
111
|
+
class="w-11 h-11 rounded-full"
|
112
|
+
src="https://flowbite.s3.amazonaws.com/blocks/marketing-ui/avatars/jese-leos.png"
|
113
|
+
alt="Jese Leos avatar"
|
114
|
+
/>
|
51
115
|
<div
|
52
|
-
class="flex absolute
|
53
|
-
>
|
116
|
+
class="flex absolute justify-center items-center ml-6 -mt-5 w-5 h-5 bg-gray-900 rounded-full border border-white dark:border-gray-700">
|
54
117
|
<svg
|
55
|
-
|
118
|
+
aria-hidden="true"
|
119
|
+
class="w-3 h-3 text-white"
|
56
120
|
fill="currentColor"
|
57
121
|
viewBox="0 0 20 20"
|
58
|
-
xmlns="http://www.w3.org/2000/svg"
|
59
|
-
|
122
|
+
xmlns="http://www.w3.org/2000/svg">
|
123
|
+
<path
|
124
|
+
d="M8 9a3 3 0 100-6 3 3 0 000 6zM8 11a6 6 0 016 6H2a6 6 0 016-6zM16 7a1 1 0 10-2 0v1h-1a1 1 0 100 2h1v1a1 1 0 102 0v-1h1a1 1 0 100-2h-1V7z"></path>
|
125
|
+
</svg>
|
126
|
+
</div>
|
127
|
+
</div>
|
128
|
+
<div class="pl-3 w-full">
|
129
|
+
<div
|
130
|
+
class="text-gray-500 font-normal text-sm mb-1.5 dark:text-gray-200">
|
131
|
+
<span class="font-semibold text-gray-900 dark:text-white"
|
132
|
+
>Jese leos</span>
|
133
|
+
and
|
134
|
+
<span class="font-medium text-gray-900 dark:text-white"
|
135
|
+
>5 others</span>
|
136
|
+
started following you.
|
137
|
+
</div>
|
138
|
+
<div
|
139
|
+
class="text-xs font-medium text-primary-600 dark:text-primary-500">
|
140
|
+
10 minutes ago
|
141
|
+
</div>
|
142
|
+
</div>
|
143
|
+
</a>
|
144
|
+
<a
|
145
|
+
href="#"
|
146
|
+
class="flex py-3 px-4 border-b hover:bg-gray-100 dark:hover:bg-gray-600 dark:border-gray-600">
|
147
|
+
<div class="shrink-0">
|
148
|
+
<img
|
149
|
+
class="w-11 h-11 rounded-full"
|
150
|
+
src="https://flowbite.s3.amazonaws.com/blocks/marketing-ui/avatars/joseph-mcfall.png"
|
151
|
+
alt="Joseph McFall avatar"
|
152
|
+
/>
|
153
|
+
<div
|
154
|
+
class="flex absolute justify-center items-center ml-6 -mt-5 w-5 h-5 bg-red-600 rounded-full border border-white dark:border-gray-700">
|
155
|
+
<svg
|
156
|
+
aria-hidden="true"
|
157
|
+
class="w-3 h-3 text-white"
|
158
|
+
fill="currentColor"
|
159
|
+
viewBox="0 0 20 20"
|
160
|
+
xmlns="http://www.w3.org/2000/svg">
|
60
161
|
<path
|
61
162
|
fill-rule="evenodd"
|
163
|
+
d="M3.172 5.172a4 4 0 015.656 0L10 6.343l1.172-1.171a4 4 0 115.656 5.656L10 17.657l-6.828-6.829a4 4 0 010-5.656z"
|
62
164
|
clip-rule="evenodd"
|
63
|
-
d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z"
|
64
165
|
></path>
|
65
166
|
</svg>
|
66
167
|
</div>
|
67
|
-
<input
|
68
|
-
type="text"
|
69
|
-
name="email"
|
70
|
-
id="topbar-search"
|
71
|
-
class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-primary-500 focus:border-primary-500 block w-full pl-10 p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500"
|
72
|
-
placeholder="Search"
|
73
|
-
/>
|
74
168
|
</div>
|
75
|
-
|
76
|
-
</div>
|
77
|
-
<div class="flex items-center lg:order-2">
|
78
|
-
<!-- Notifications -->
|
79
|
-
<div data-controller="resource-drop-down">
|
80
|
-
<button
|
81
|
-
type="button"
|
82
|
-
data-resource-drop-down-target="trigger"
|
83
|
-
class="p-2 mr-1 text-gray-500 rounded-lg hover:text-gray-900 hover:bg-gray-100 dark:text-gray-200 dark:hover:text-white dark:hover:bg-gray-700 focus:ring-4 focus:ring-gray-300 dark:focus:ring-gray-600">
|
84
|
-
<span class="sr-only">View notifications</span>
|
85
|
-
<!-- Bell icon -->
|
86
|
-
<svg
|
87
|
-
aria-hidden="true"
|
88
|
-
class="w-6 h-6"
|
89
|
-
fill="currentColor"
|
90
|
-
viewBox="0 0 20 20"
|
91
|
-
xmlns="http://www.w3.org/2000/svg"
|
92
|
-
>
|
93
|
-
<path
|
94
|
-
d="M10 2a6 6 0 00-6 6v3.586l-.707.707A1 1 0 004 14h12a1 1 0 00.707-1.707L16 11.586V8a6 6 0 00-6-6zM10 18a3 3 0 01-3-3h6a3 3 0 01-3 3z"
|
95
|
-
></path>
|
96
|
-
</svg>
|
97
|
-
</button>
|
98
|
-
<!-- Dropdown menu -->
|
99
|
-
<div
|
100
|
-
data-resource-drop-down-target="menu"
|
101
|
-
class="hidden overflow-hidden z-50 my-4 max-w-sm text-base list-none bg-white divide-y divide-gray-100 shadow-lg dark:divide-gray-600 dark:bg-gray-700 rounded-xl">
|
169
|
+
<div class="pl-3 w-full">
|
102
170
|
<div
|
103
|
-
class="
|
104
|
-
|
105
|
-
|
171
|
+
class="text-gray-500 font-normal text-sm mb-1.5 dark:text-gray-200">
|
172
|
+
<span class="font-semibold text-gray-900 dark:text-white"
|
173
|
+
>Joseph Mcfall</span>
|
174
|
+
and
|
175
|
+
<span class="font-medium text-gray-900 dark:text-white"
|
176
|
+
>141 others</span>
|
177
|
+
love your story. See it and view more stories.
|
106
178
|
</div>
|
107
|
-
<div
|
108
|
-
|
109
|
-
|
110
|
-
class="flex py-3 px-4 border-b hover:bg-gray-100 dark:hover:bg-gray-600 dark:border-gray-600"
|
111
|
-
>
|
112
|
-
<div class="shrink-0">
|
113
|
-
<img
|
114
|
-
class="w-11 h-11 rounded-full"
|
115
|
-
src="https://flowbite.s3.amazonaws.com/blocks/marketing-ui/avatars/bonnie-green.png"
|
116
|
-
alt="Bonnie Green avatar"
|
117
|
-
/>
|
118
|
-
<div
|
119
|
-
class="flex absolute justify-center items-center ml-6 -mt-5 w-5 h-5 rounded-full border border-white bg-primary-700 dark:border-gray-700"
|
120
|
-
>
|
121
|
-
<svg
|
122
|
-
aria-hidden="true"
|
123
|
-
class="w-3 h-3 text-white"
|
124
|
-
fill="currentColor"
|
125
|
-
viewBox="0 0 20 20"
|
126
|
-
xmlns="http://www.w3.org/2000/svg"
|
127
|
-
>
|
128
|
-
<path
|
129
|
-
d="M8.707 7.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l2-2a1 1 0 00-1.414-1.414L11 7.586V3a1 1 0 10-2 0v4.586l-.293-.293z"
|
130
|
-
></path>
|
131
|
-
<path
|
132
|
-
d="M3 5a2 2 0 012-2h1a1 1 0 010 2H5v7h2l1 2h4l1-2h2V5h-1a1 1 0 110-2h1a2 2 0 012 2v10a2 2 0 01-2 2H5a2 2 0 01-2-2V5z"
|
133
|
-
></path>
|
134
|
-
</svg>
|
135
|
-
</div>
|
136
|
-
</div>
|
137
|
-
<div class="pl-3 w-full">
|
138
|
-
<div
|
139
|
-
class="text-gray-500 font-normal text-sm mb-1.5 dark:text-gray-200"
|
140
|
-
>
|
141
|
-
New message from
|
142
|
-
<span class="font-semibold text-gray-900 dark:text-white"
|
143
|
-
>Bonnie Green</span
|
144
|
-
>: "Hey, what's up? All set for the presentation?"
|
145
|
-
</div>
|
146
|
-
<div
|
147
|
-
class="text-xs font-medium text-primary-600 dark:text-primary-500"
|
148
|
-
>
|
149
|
-
a few moments ago
|
150
|
-
</div>
|
151
|
-
</div>
|
152
|
-
</a>
|
153
|
-
<a
|
154
|
-
href="#"
|
155
|
-
class="flex py-3 px-4 border-b hover:bg-gray-100 dark:hover:bg-gray-600 dark:border-gray-600"
|
156
|
-
>
|
157
|
-
<div class="shrink-0">
|
158
|
-
<img
|
159
|
-
class="w-11 h-11 rounded-full"
|
160
|
-
src="https://flowbite.s3.amazonaws.com/blocks/marketing-ui/avatars/jese-leos.png"
|
161
|
-
alt="Jese Leos avatar"
|
162
|
-
/>
|
163
|
-
<div
|
164
|
-
class="flex absolute justify-center items-center ml-6 -mt-5 w-5 h-5 bg-gray-900 rounded-full border border-white dark:border-gray-700"
|
165
|
-
>
|
166
|
-
<svg
|
167
|
-
aria-hidden="true"
|
168
|
-
class="w-3 h-3 text-white"
|
169
|
-
fill="currentColor"
|
170
|
-
viewBox="0 0 20 20"
|
171
|
-
xmlns="http://www.w3.org/2000/svg"
|
172
|
-
>
|
173
|
-
<path
|
174
|
-
d="M8 9a3 3 0 100-6 3 3 0 000 6zM8 11a6 6 0 016 6H2a6 6 0 016-6zM16 7a1 1 0 10-2 0v1h-1a1 1 0 100 2h1v1a1 1 0 102 0v-1h1a1 1 0 100-2h-1V7z"
|
175
|
-
></path>
|
176
|
-
</svg>
|
177
|
-
</div>
|
178
|
-
</div>
|
179
|
-
<div class="pl-3 w-full">
|
180
|
-
<div
|
181
|
-
class="text-gray-500 font-normal text-sm mb-1.5 dark:text-gray-200"
|
182
|
-
>
|
183
|
-
<span class="font-semibold text-gray-900 dark:text-white"
|
184
|
-
>Jese leos</span
|
185
|
-
>
|
186
|
-
and
|
187
|
-
<span class="font-medium text-gray-900 dark:text-white"
|
188
|
-
>5 others</span
|
189
|
-
>
|
190
|
-
started following you.
|
191
|
-
</div>
|
192
|
-
<div
|
193
|
-
class="text-xs font-medium text-primary-600 dark:text-primary-500"
|
194
|
-
>
|
195
|
-
10 minutes ago
|
196
|
-
</div>
|
197
|
-
</div>
|
198
|
-
</a>
|
199
|
-
<a
|
200
|
-
href="#"
|
201
|
-
class="flex py-3 px-4 border-b hover:bg-gray-100 dark:hover:bg-gray-600 dark:border-gray-600"
|
202
|
-
>
|
203
|
-
<div class="shrink-0">
|
204
|
-
<img
|
205
|
-
class="w-11 h-11 rounded-full"
|
206
|
-
src="https://flowbite.s3.amazonaws.com/blocks/marketing-ui/avatars/joseph-mcfall.png"
|
207
|
-
alt="Joseph McFall avatar"
|
208
|
-
/>
|
209
|
-
<div
|
210
|
-
class="flex absolute justify-center items-center ml-6 -mt-5 w-5 h-5 bg-red-600 rounded-full border border-white dark:border-gray-700"
|
211
|
-
>
|
212
|
-
<svg
|
213
|
-
aria-hidden="true"
|
214
|
-
class="w-3 h-3 text-white"
|
215
|
-
fill="currentColor"
|
216
|
-
viewBox="0 0 20 20"
|
217
|
-
xmlns="http://www.w3.org/2000/svg"
|
218
|
-
>
|
219
|
-
<path
|
220
|
-
fill-rule="evenodd"
|
221
|
-
d="M3.172 5.172a4 4 0 015.656 0L10 6.343l1.172-1.171a4 4 0 115.656 5.656L10 17.657l-6.828-6.829a4 4 0 010-5.656z"
|
222
|
-
clip-rule="evenodd"
|
223
|
-
></path>
|
224
|
-
</svg>
|
225
|
-
</div>
|
226
|
-
</div>
|
227
|
-
<div class="pl-3 w-full">
|
228
|
-
<div
|
229
|
-
class="text-gray-500 font-normal text-sm mb-1.5 dark:text-gray-200"
|
230
|
-
>
|
231
|
-
<span class="font-semibold text-gray-900 dark:text-white"
|
232
|
-
>Joseph Mcfall</span
|
233
|
-
>
|
234
|
-
and
|
235
|
-
<span class="font-medium text-gray-900 dark:text-white"
|
236
|
-
>141 others</span
|
237
|
-
>
|
238
|
-
love your story. See it and view more stories.
|
239
|
-
</div>
|
240
|
-
<div
|
241
|
-
class="text-xs font-medium text-primary-600 dark:text-primary-500"
|
242
|
-
>
|
243
|
-
44 minutes ago
|
244
|
-
</div>
|
245
|
-
</div>
|
246
|
-
</a>
|
247
|
-
<a
|
248
|
-
href="#"
|
249
|
-
class="flex py-3 px-4 border-b hover:bg-gray-100 dark:hover:bg-gray-600 dark:border-gray-600"
|
250
|
-
>
|
251
|
-
<div class="shrink-0">
|
252
|
-
<img
|
253
|
-
class="w-11 h-11 rounded-full"
|
254
|
-
src="https://flowbite.s3.amazonaws.com/blocks/marketing-ui/avatars/roberta-casas.png"
|
255
|
-
alt="Roberta Casas image"
|
256
|
-
/>
|
257
|
-
<div
|
258
|
-
class="flex absolute justify-center items-center ml-6 -mt-5 w-5 h-5 bg-green-400 rounded-full border border-white dark:border-gray-700"
|
259
|
-
>
|
260
|
-
<svg
|
261
|
-
aria-hidden="true"
|
262
|
-
class="w-3 h-3 text-white"
|
263
|
-
fill="currentColor"
|
264
|
-
viewBox="0 0 20 20"
|
265
|
-
xmlns="http://www.w3.org/2000/svg"
|
266
|
-
>
|
267
|
-
<path
|
268
|
-
fill-rule="evenodd"
|
269
|
-
d="M18 13V5a2 2 0 00-2-2H4a2 2 0 00-2 2v8a2 2 0 002 2h3l3 3 3-3h3a2 2 0 002-2zM5 7a1 1 0 011-1h8a1 1 0 110 2H6a1 1 0 01-1-1zm1 3a1 1 0 100 2h3a1 1 0 100-2H6z"
|
270
|
-
clip-rule="evenodd"
|
271
|
-
></path>
|
272
|
-
</svg>
|
273
|
-
</div>
|
274
|
-
</div>
|
275
|
-
<div class="pl-3 w-full">
|
276
|
-
<div
|
277
|
-
class="text-gray-500 font-normal text-sm mb-1.5 dark:text-gray-200"
|
278
|
-
>
|
279
|
-
<span class="font-semibold text-gray-900 dark:text-white"
|
280
|
-
>Leslie Livingston</span
|
281
|
-
>
|
282
|
-
mentioned you in a comment:
|
283
|
-
<span
|
284
|
-
class="font-medium text-primary-600 dark:text-primary-500"
|
285
|
-
>@bonnie.green</span
|
286
|
-
>
|
287
|
-
what do you say?
|
288
|
-
</div>
|
289
|
-
<div
|
290
|
-
class="text-xs font-medium text-primary-600 dark:text-primary-500"
|
291
|
-
>
|
292
|
-
1 hour ago
|
293
|
-
</div>
|
294
|
-
</div>
|
295
|
-
</a>
|
296
|
-
<a
|
297
|
-
href="#"
|
298
|
-
class="flex py-3 px-4 hover:bg-gray-100 dark:hover:bg-gray-600"
|
299
|
-
>
|
300
|
-
<div class="shrink-0">
|
301
|
-
<img
|
302
|
-
class="w-11 h-11 rounded-full"
|
303
|
-
src="https://flowbite.s3.amazonaws.com/blocks/marketing-ui/avatars/robert-brown.png"
|
304
|
-
alt="Robert image"
|
305
|
-
/>
|
306
|
-
<div
|
307
|
-
class="flex absolute justify-center items-center ml-6 -mt-5 w-5 h-5 bg-purple-500 rounded-full border border-white dark:border-gray-700"
|
308
|
-
>
|
309
|
-
<svg
|
310
|
-
aria-hidden="true"
|
311
|
-
class="w-3 h-3 text-white"
|
312
|
-
fill="currentColor"
|
313
|
-
viewBox="0 0 20 20"
|
314
|
-
xmlns="http://www.w3.org/2000/svg"
|
315
|
-
>
|
316
|
-
<path
|
317
|
-
d="M2 6a2 2 0 012-2h6a2 2 0 012 2v8a2 2 0 01-2 2H4a2 2 0 01-2-2V6zM14.553 7.106A1 1 0 0014 8v4a1 1 0 00.553.894l2 1A1 1 0 0018 13V7a1 1 0 00-1.447-.894l-2 1z"
|
318
|
-
></path>
|
319
|
-
</svg>
|
320
|
-
</div>
|
321
|
-
</div>
|
322
|
-
<div class="pl-3 w-full">
|
323
|
-
<div
|
324
|
-
class="text-gray-500 font-normal text-sm mb-1.5 dark:text-gray-200"
|
325
|
-
>
|
326
|
-
<span class="font-semibold text-gray-900 dark:text-white"
|
327
|
-
>Robert Brown</span
|
328
|
-
>
|
329
|
-
posted a new video: Glassmorphism - learn how to implement
|
330
|
-
the new design trend.
|
331
|
-
</div>
|
332
|
-
<div
|
333
|
-
class="text-xs font-medium text-primary-600 dark:text-primary-500"
|
334
|
-
>
|
335
|
-
3 hours ago
|
336
|
-
</div>
|
337
|
-
</div>
|
338
|
-
</a>
|
179
|
+
<div
|
180
|
+
class="text-xs font-medium text-primary-600 dark:text-primary-500">
|
181
|
+
44 minutes ago
|
339
182
|
</div>
|
340
|
-
<a
|
341
|
-
href="#"
|
342
|
-
class="block py-2 text-md font-medium text-center text-gray-900 bg-gray-50 hover:bg-gray-100 dark:bg-gray-600 dark:text-white dark:hover:underline"
|
343
|
-
>
|
344
|
-
<div class="inline-flex items-center">
|
345
|
-
<svg
|
346
|
-
aria-hidden="true"
|
347
|
-
class="mr-2 w-4 h-4 text-gray-500 dark:text-gray-200"
|
348
|
-
fill="currentColor"
|
349
|
-
viewBox="0 0 20 20"
|
350
|
-
xmlns="http://www.w3.org/2000/svg"
|
351
|
-
>
|
352
|
-
<path d="M10 12a2 2 0 100-4 2 2 0 000 4z"></path>
|
353
|
-
<path
|
354
|
-
fill-rule="evenodd"
|
355
|
-
d="M.458 10C1.732 5.943 5.522 3 10 3s8.268 2.943 9.542 7c-1.274 4.057-5.064 7-9.542 7S1.732 14.057.458 10zM14 10a4 4 0 11-8 0 4 4 0 018 0z"
|
356
|
-
clip-rule="evenodd"
|
357
|
-
></path>
|
358
|
-
</svg>
|
359
|
-
View all
|
360
|
-
</div>
|
361
|
-
</a>
|
362
183
|
</div>
|
363
|
-
</
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
<
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
<
|
374
|
-
class="
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
184
|
+
</a>
|
185
|
+
<a
|
186
|
+
href="#"
|
187
|
+
class="flex py-3 px-4 border-b hover:bg-gray-100 dark:hover:bg-gray-600 dark:border-gray-600">
|
188
|
+
<div class="shrink-0">
|
189
|
+
<img
|
190
|
+
class="w-11 h-11 rounded-full"
|
191
|
+
src="https://flowbite.s3.amazonaws.com/blocks/marketing-ui/avatars/roberta-casas.png"
|
192
|
+
alt="Roberta Casas image"
|
193
|
+
/>
|
194
|
+
<div
|
195
|
+
class="flex absolute justify-center items-center ml-6 -mt-5 w-5 h-5 bg-green-400 rounded-full border border-white dark:border-gray-700">
|
196
|
+
<svg
|
197
|
+
aria-hidden="true"
|
198
|
+
class="w-3 h-3 text-white"
|
199
|
+
fill="currentColor"
|
200
|
+
viewBox="0 0 20 20"
|
201
|
+
xmlns="http://www.w3.org/2000/svg">
|
202
|
+
<path
|
203
|
+
fill-rule="evenodd"
|
204
|
+
d="M18 13V5a2 2 0 00-2-2H4a2 2 0 00-2 2v8a2 2 0 002 2h3l3 3 3-3h3a2 2 0 002-2zM5 7a1 1 0 011-1h8a1 1 0 110 2H6a1 1 0 01-1-1zm1 3a1 1 0 100 2h3a1 1 0 100-2H6z"
|
205
|
+
clip-rule="evenodd"></path>
|
206
|
+
</svg>
|
207
|
+
</div>
|
208
|
+
</div>
|
209
|
+
<div class="pl-3 w-full">
|
388
210
|
<div
|
389
|
-
class="
|
390
|
-
|
391
|
-
|
211
|
+
class="text-gray-500 font-normal text-sm mb-1.5 dark:text-gray-200">
|
212
|
+
<span class="font-semibold text-gray-900 dark:text-white"
|
213
|
+
>Leslie Livingston</span>
|
214
|
+
mentioned you in a comment:
|
215
|
+
<span
|
216
|
+
class="font-medium text-primary-600 dark:text-primary-500"
|
217
|
+
>@bonnie.green</span>
|
218
|
+
what do you say?
|
392
219
|
</div>
|
393
|
-
<div
|
394
|
-
|
395
|
-
|
396
|
-
class="block p-4 text-center rounded-lg hover:bg-gray-100 dark:hover:bg-gray-600 group"
|
397
|
-
>
|
398
|
-
<svg
|
399
|
-
aria-hidden="true"
|
400
|
-
class="mx-auto mb-1 w-7 h-7 text-gray-400 group-hover:text-gray-500 dark:text-gray-200 dark:group-hover:text-gray-400"
|
401
|
-
fill="currentColor"
|
402
|
-
viewBox="0 0 20 20"
|
403
|
-
xmlns="http://www.w3.org/2000/svg"
|
404
|
-
>
|
405
|
-
<path
|
406
|
-
fill-rule="evenodd"
|
407
|
-
d="M10 2a4 4 0 00-4 4v1H5a1 1 0 00-.994.89l-1 9A1 1 0 004 18h12a1 1 0 00.994-1.11l-1-9A1 1 0 0015 7h-1V6a4 4 0 00-4-4zm2 5V6a2 2 0 10-4 0v1h4zm-6 3a1 1 0 112 0 1 1 0 01-2 0zm7-1a1 1 0 100 2 1 1 0 000-2z"
|
408
|
-
clip-rule="evenodd"
|
409
|
-
></path>
|
410
|
-
</svg>
|
411
|
-
<div class="text-sm text-gray-900 dark:text-white">Sales</div>
|
412
|
-
</a>
|
413
|
-
<a
|
414
|
-
href="#"
|
415
|
-
class="block p-4 text-center rounded-lg hover:bg-gray-100 dark:hover:bg-gray-600 group"
|
416
|
-
>
|
417
|
-
<svg
|
418
|
-
aria-hidden="true"
|
419
|
-
class="mx-auto mb-1 w-7 h-7 text-gray-400 group-hover:text-gray-500 dark:text-gray-200 dark:group-hover:text-gray-400"
|
420
|
-
fill="currentColor"
|
421
|
-
viewBox="0 0 20 20"
|
422
|
-
xmlns="http://www.w3.org/2000/svg"
|
423
|
-
>
|
424
|
-
<path
|
425
|
-
d="M13 6a3 3 0 11-6 0 3 3 0 016 0zM18 8a2 2 0 11-4 0 2 2 0 014 0zM14 15a4 4 0 00-8 0v3h8v-3zM6 8a2 2 0 11-4 0 2 2 0 014 0zM16 18v-3a5.972 5.972 0 00-.75-2.906A3.005 3.005 0 0119 15v3h-3zM4.75 12.094A5.973 5.973 0 004 15v3H1v-3a3 3 0 013.75-2.906z"
|
426
|
-
></path>
|
427
|
-
</svg>
|
428
|
-
<div class="text-sm text-gray-900 dark:text-white">Users</div>
|
429
|
-
</a>
|
430
|
-
<a
|
431
|
-
href="#"
|
432
|
-
class="block p-4 text-center rounded-lg hover:bg-gray-100 dark:hover:bg-gray-600 group"
|
433
|
-
>
|
434
|
-
<svg
|
435
|
-
aria-hidden="true"
|
436
|
-
class="mx-auto mb-1 w-7 h-7 text-gray-400 group-hover:text-gray-500 dark:text-gray-200 dark:group-hover:text-gray-400"
|
437
|
-
fill="currentColor"
|
438
|
-
viewBox="0 0 20 20"
|
439
|
-
xmlns="http://www.w3.org/2000/svg"
|
440
|
-
>
|
441
|
-
<path
|
442
|
-
fill-rule="evenodd"
|
443
|
-
d="M5 3a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2V5a2 2 0 00-2-2H5zm0 2h10v7h-2l-1 2H8l-1-2H5V5z"
|
444
|
-
clip-rule="evenodd"
|
445
|
-
></path>
|
446
|
-
</svg>
|
447
|
-
<div class="text-sm text-gray-900 dark:text-white">Inbox</div>
|
448
|
-
</a>
|
449
|
-
<a
|
450
|
-
href="#"
|
451
|
-
class="block p-4 text-center rounded-lg hover:bg-gray-100 dark:hover:bg-gray-600 group"
|
452
|
-
>
|
453
|
-
<svg
|
454
|
-
aria-hidden="true"
|
455
|
-
class="mx-auto mb-1 w-7 h-7 text-gray-400 group-hover:text-gray-500 dark:text-gray-200 dark:group-hover:text-gray-400"
|
456
|
-
fill="currentColor"
|
457
|
-
viewBox="0 0 20 20"
|
458
|
-
xmlns="http://www.w3.org/2000/svg"
|
459
|
-
>
|
460
|
-
<path
|
461
|
-
fill-rule="evenodd"
|
462
|
-
d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-6-3a2 2 0 11-4 0 2 2 0 014 0zm-2 4a5 5 0 00-4.546 2.916A5.986 5.986 0 0010 16a5.986 5.986 0 004.546-2.084A5 5 0 0010 11z"
|
463
|
-
clip-rule="evenodd"
|
464
|
-
></path>
|
465
|
-
</svg>
|
466
|
-
<div class="text-sm text-gray-900 dark:text-white">
|
467
|
-
Profile
|
468
|
-
</div>
|
469
|
-
</a>
|
470
|
-
<a
|
471
|
-
href="#"
|
472
|
-
class="block p-4 text-center rounded-lg hover:bg-gray-100 dark:hover:bg-gray-600 group"
|
473
|
-
>
|
474
|
-
<svg
|
475
|
-
aria-hidden="true"
|
476
|
-
class="mx-auto mb-1 w-7 h-7 text-gray-400 group-hover:text-gray-500 dark:text-gray-200 dark:group-hover:text-gray-400"
|
477
|
-
fill="currentColor"
|
478
|
-
viewBox="0 0 20 20"
|
479
|
-
xmlns="http://www.w3.org/2000/svg"
|
480
|
-
>
|
481
|
-
<path
|
482
|
-
fill-rule="evenodd"
|
483
|
-
d="M11.49 3.17c-.38-1.56-2.6-1.56-2.98 0a1.532 1.532 0 01-2.286.948c-1.372-.836-2.942.734-2.106 2.106.54.886.061 2.042-.947 2.287-1.561.379-1.561 2.6 0 2.978a1.532 1.532 0 01.947 2.287c-.836 1.372.734 2.942 2.106 2.106a1.532 1.532 0 012.287.947c.379 1.561 2.6 1.561 2.978 0a1.533 1.533 0 012.287-.947c1.372.836 2.942-.734 2.106-2.106a1.533 1.533 0 01.947-2.287c1.561-.379 1.561-2.6 0-2.978a1.532 1.532 0 01-.947-2.287c.836-1.372-.734-2.942-2.106-2.106a1.532 1.532 0 01-2.287-.947zM10 13a3 3 0 100-6 3 3 0 000 6z"
|
484
|
-
clip-rule="evenodd"
|
485
|
-
></path>
|
486
|
-
</svg>
|
487
|
-
<div class="text-sm text-gray-900 dark:text-white">
|
488
|
-
Settings
|
489
|
-
</div>
|
490
|
-
</a>
|
491
|
-
<a
|
492
|
-
href="#"
|
493
|
-
class="block p-4 text-center rounded-lg hover:bg-gray-100 dark:hover:bg-gray-600 group"
|
494
|
-
>
|
495
|
-
<svg
|
496
|
-
aria-hidden="true"
|
497
|
-
class="mx-auto mb-1 w-7 h-7 text-gray-400 group-hover:text-gray-500 dark:text-gray-200 dark:group-hover:text-gray-400"
|
498
|
-
fill="currentColor"
|
499
|
-
viewBox="0 0 20 20"
|
500
|
-
xmlns="http://www.w3.org/2000/svg"
|
501
|
-
>
|
502
|
-
<path d="M4 3a2 2 0 100 4h12a2 2 0 100-4H4z"></path>
|
503
|
-
<path
|
504
|
-
fill-rule="evenodd"
|
505
|
-
d="M3 8h14v7a2 2 0 01-2 2H5a2 2 0 01-2-2V8zm5 3a1 1 0 011-1h2a1 1 0 110 2H9a1 1 0 01-1-1z"
|
506
|
-
clip-rule="evenodd"
|
507
|
-
></path>
|
508
|
-
</svg>
|
509
|
-
<div class="text-sm text-gray-900 dark:text-white">
|
510
|
-
Products
|
511
|
-
</div>
|
512
|
-
</a>
|
513
|
-
<a
|
514
|
-
href="#"
|
515
|
-
class="block p-4 text-center rounded-lg hover:bg-gray-100 dark:hover:bg-gray-600 group"
|
516
|
-
>
|
517
|
-
<svg
|
518
|
-
aria-hidden="true"
|
519
|
-
class="mx-auto mb-1 w-7 h-7 text-gray-400 group-hover:text-gray-500 dark:text-gray-200 dark:group-hover:text-gray-400"
|
520
|
-
fill="currentColor"
|
521
|
-
viewBox="0 0 20 20"
|
522
|
-
xmlns="http://www.w3.org/2000/svg"
|
523
|
-
>
|
524
|
-
<path
|
525
|
-
d="M8.433 7.418c.155-.103.346-.196.567-.267v1.698a2.305 2.305 0 01-.567-.267C8.07 8.34 8 8.114 8 8c0-.114.07-.34.433-.582zM11 12.849v-1.698c.22.071.412.164.567.267.364.243.433.468.433.582 0 .114-.07.34-.433.582a2.305 2.305 0 01-.567.267z"
|
526
|
-
></path>
|
527
|
-
<path
|
528
|
-
fill-rule="evenodd"
|
529
|
-
d="M10 18a8 8 0 100-16 8 8 0 000 16zm1-13a1 1 0 10-2 0v.092a4.535 4.535 0 00-1.676.662C6.602 6.234 6 7.009 6 8c0 .99.602 1.765 1.324 2.246.48.32 1.054.545 1.676.662v1.941c-.391-.127-.68-.317-.843-.504a1 1 0 10-1.51 1.31c.562.649 1.413 1.076 2.353 1.253V15a1 1 0 102 0v-.092a4.535 4.535 0 001.676-.662C13.398 13.766 14 12.991 14 12c0-.99-.602-1.765-1.324-2.246A4.535 4.535 0 0011 9.092V7.151c.391.127.68.317.843.504a1 1 0 101.511-1.31c-.563-.649-1.413-1.076-2.354-1.253V5z"
|
530
|
-
clip-rule="evenodd"
|
531
|
-
></path>
|
532
|
-
</svg>
|
533
|
-
<div class="text-sm text-gray-900 dark:text-white">
|
534
|
-
Pricing
|
535
|
-
</div>
|
536
|
-
</a>
|
537
|
-
<a
|
538
|
-
href="#"
|
539
|
-
class="block p-4 text-center rounded-lg hover:bg-gray-100 dark:hover:bg-gray-600 group"
|
540
|
-
>
|
541
|
-
<svg
|
542
|
-
aria-hidden="true"
|
543
|
-
class="mx-auto mb-1 w-7 h-7 text-gray-400 group-hover:text-gray-500 dark:text-gray-200 dark:group-hover:text-gray-400"
|
544
|
-
fill="currentColor"
|
545
|
-
viewBox="0 0 20 20"
|
546
|
-
xmlns="http://www.w3.org/2000/svg"
|
547
|
-
>
|
548
|
-
<path
|
549
|
-
fill-rule="evenodd"
|
550
|
-
d="M5 2a2 2 0 00-2 2v14l3.5-2 3.5 2 3.5-2 3.5 2V4a2 2 0 00-2-2H5zm2.5 3a1.5 1.5 0 100 3 1.5 1.5 0 000-3zm6.207.293a1 1 0 00-1.414 0l-6 6a1 1 0 101.414 1.414l6-6a1 1 0 000-1.414zM12.5 10a1.5 1.5 0 100 3 1.5 1.5 0 000-3z"
|
551
|
-
clip-rule="evenodd"
|
552
|
-
></path>
|
553
|
-
</svg>
|
554
|
-
<div class="text-sm text-gray-900 dark:text-white">
|
555
|
-
Billing
|
556
|
-
</div>
|
557
|
-
</a>
|
558
|
-
<a
|
559
|
-
href="#"
|
560
|
-
class="block p-4 text-center rounded-lg hover:bg-gray-100 dark:hover:bg-gray-600 group"
|
561
|
-
>
|
562
|
-
<svg
|
563
|
-
aria-hidden="true"
|
564
|
-
class="mx-auto mb-1 w-7 h-7 text-gray-400 group-hover:text-gray-500 dark:text-gray-200 dark:group-hover:text-gray-400"
|
565
|
-
fill="none"
|
566
|
-
stroke="currentColor"
|
567
|
-
viewBox="0 0 24 24"
|
568
|
-
xmlns="http://www.w3.org/2000/svg"
|
569
|
-
>
|
570
|
-
<path
|
571
|
-
stroke-linecap="round"
|
572
|
-
stroke-linejoin="round"
|
573
|
-
stroke-width="2"
|
574
|
-
d="M11 16l-4-4m0 0l4-4m-4 4h14m-5 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h7a3 3 0 013 3v1"
|
575
|
-
></path>
|
576
|
-
</svg>
|
577
|
-
<div class="text-sm text-gray-900 dark:text-white">
|
578
|
-
Logout
|
579
|
-
</div>
|
580
|
-
</a>
|
220
|
+
<div
|
221
|
+
class="text-xs font-medium text-primary-600 dark:text-primary-500">
|
222
|
+
1 hour ago
|
581
223
|
</div>
|
582
224
|
</div>
|
583
|
-
</
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
<
|
588
|
-
type="button"
|
589
|
-
class="flex mx-3 text-sm bg-gray-800 rounded-full md:mr-0 focus:ring-4 focus:ring-gray-300 dark:focus:ring-gray-600"
|
590
|
-
aria-expanded="false"
|
591
|
-
data-resource-drop-down-target="trigger">
|
592
|
-
<span class="sr-only">Open user menu</span>
|
225
|
+
</a>
|
226
|
+
<a
|
227
|
+
href="#"
|
228
|
+
class="flex py-3 px-4 hover:bg-gray-100 dark:hover:bg-gray-600">
|
229
|
+
<div class="shrink-0">
|
593
230
|
<img
|
594
|
-
class="w-
|
595
|
-
src="https://flowbite.s3.amazonaws.com/blocks/marketing-ui/avatars/
|
596
|
-
alt="
|
231
|
+
class="w-11 h-11 rounded-full"
|
232
|
+
src="https://flowbite.s3.amazonaws.com/blocks/marketing-ui/avatars/robert-brown.png"
|
233
|
+
alt="Robert image"
|
597
234
|
/>
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
>name@flowbite.com</span
|
611
|
-
>
|
235
|
+
<div
|
236
|
+
class="flex absolute justify-center items-center ml-6 -mt-5 w-5 h-5 bg-purple-500 rounded-full border border-white dark:border-gray-700">
|
237
|
+
<svg
|
238
|
+
aria-hidden="true"
|
239
|
+
class="w-3 h-3 text-white"
|
240
|
+
fill="currentColor"
|
241
|
+
viewBox="0 0 20 20"
|
242
|
+
xmlns="http://www.w3.org/2000/svg">
|
243
|
+
<path
|
244
|
+
d="M2 6a2 2 0 012-2h6a2 2 0 012 2v8a2 2 0 01-2 2H4a2 2 0 01-2-2V6zM14.553 7.106A1 1 0 0014 8v4a1 1 0 00.553.894l2 1A1 1 0 0018 13V7a1 1 0 00-1.447-.894l-2 1z"
|
245
|
+
></path>
|
246
|
+
</svg>
|
612
247
|
</div>
|
613
|
-
<ul
|
614
|
-
class="py-1 text-gray-700 dark:text-gray-300"
|
615
|
-
aria-labelledby="user-menu-dropdown-toggle"
|
616
|
-
>
|
617
|
-
<li>
|
618
|
-
<a
|
619
|
-
href="#"
|
620
|
-
class="block py-2 px-4 text-sm hover:bg-gray-100 dark:hover:bg-gray-600 dark:text-gray-200 dark:hover:text-white"
|
621
|
-
>My profile</a
|
622
|
-
>
|
623
|
-
</li>
|
624
|
-
<li>
|
625
|
-
<a
|
626
|
-
href="#"
|
627
|
-
class="block py-2 px-4 text-sm hover:bg-gray-100 dark:hover:bg-gray-600 dark:text-gray-200 dark:hover:text-white"
|
628
|
-
>Account settings</a
|
629
|
-
>
|
630
|
-
</li>
|
631
|
-
</ul>
|
632
|
-
<ul
|
633
|
-
class="py-1 text-gray-700 dark:text-gray-300"
|
634
|
-
aria-labelledby="dropdown"
|
635
|
-
>
|
636
|
-
<li>
|
637
|
-
<a
|
638
|
-
href="#"
|
639
|
-
class="flex items-center py-2 px-4 text-sm hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
640
|
-
><svg
|
641
|
-
class="mr-2 w-5 h-5 text-gray-400"
|
642
|
-
fill="currentColor"
|
643
|
-
viewBox="0 0 20 20"
|
644
|
-
xmlns="http://www.w3.org/2000/svg"
|
645
|
-
>
|
646
|
-
<path
|
647
|
-
fill-rule="evenodd"
|
648
|
-
d="M3.172 5.172a4 4 0 015.656 0L10 6.343l1.172-1.171a4 4 0 115.656 5.656L10 17.657l-6.828-6.829a4 4 0 010-5.656z"
|
649
|
-
clip-rule="evenodd"
|
650
|
-
></path>
|
651
|
-
</svg>
|
652
|
-
My likes</a
|
653
|
-
>
|
654
|
-
</li>
|
655
|
-
<li>
|
656
|
-
<a
|
657
|
-
href="#"
|
658
|
-
class="flex items-center py-2 px-4 text-sm hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
659
|
-
><svg
|
660
|
-
class="mr-2 w-5 h-5 text-gray-400"
|
661
|
-
fill="currentColor"
|
662
|
-
viewBox="0 0 20 20"
|
663
|
-
xmlns="http://www.w3.org/2000/svg"
|
664
|
-
>
|
665
|
-
<path
|
666
|
-
d="M7 3a1 1 0 000 2h6a1 1 0 100-2H7zM4 7a1 1 0 011-1h10a1 1 0 110 2H5a1 1 0 01-1-1zM2 11a2 2 0 012-2h12a2 2 0 012 2v4a2 2 0 01-2 2H4a2 2 0 01-2-2v-4z"
|
667
|
-
></path>
|
668
|
-
</svg>
|
669
|
-
Collections</a
|
670
|
-
>
|
671
|
-
</li>
|
672
|
-
<li>
|
673
|
-
<a
|
674
|
-
href="#"
|
675
|
-
class="flex justify-between items-center py-2 px-4 text-sm hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
676
|
-
>
|
677
|
-
<span class="flex items-center">
|
678
|
-
<svg
|
679
|
-
aria-hidden="true"
|
680
|
-
class="mr-2 w-5 h-5 text-primary-600 dark:text-primary-500"
|
681
|
-
fill="currentColor"
|
682
|
-
viewBox="0 0 20 20"
|
683
|
-
xmlns="http://www.w3.org/2000/svg"
|
684
|
-
>
|
685
|
-
<path
|
686
|
-
fill-rule="evenodd"
|
687
|
-
d="M12.395 2.553a1 1 0 00-1.45-.385c-.345.23-.614.558-.822.88-.214.33-.403.713-.57 1.116-.334.804-.614 1.768-.84 2.734a31.365 31.365 0 00-.613 3.58 2.64 2.64 0 01-.945-1.067c-.328-.68-.398-1.534-.398-2.654A1 1 0 005.05 6.05 6.981 6.981 0 003 11a7 7 0 1011.95-4.95c-.592-.591-.98-.985-1.348-1.467-.363-.476-.724-1.063-1.207-2.03zM12.12 15.12A3 3 0 017 13s.879.5 2.5.5c0-1 .5-4 1.25-4.5.5 1 .786 1.293 1.371 1.879A2.99 2.99 0 0113 13a2.99 2.99 0 01-.879 2.121z"
|
688
|
-
clip-rule="evenodd"
|
689
|
-
></path>
|
690
|
-
</svg>
|
691
|
-
Pro version
|
692
|
-
</span>
|
693
|
-
<svg
|
694
|
-
aria-hidden="true"
|
695
|
-
class="w-5 h-5 text-gray-400"
|
696
|
-
fill="currentColor"
|
697
|
-
viewBox="0 0 20 20"
|
698
|
-
xmlns="http://www.w3.org/2000/svg"
|
699
|
-
>
|
700
|
-
<path
|
701
|
-
fill-rule="evenodd"
|
702
|
-
d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z"
|
703
|
-
clip-rule="evenodd"
|
704
|
-
></path>
|
705
|
-
</svg>
|
706
|
-
</a>
|
707
|
-
</li>
|
708
|
-
</ul>
|
709
|
-
|
710
|
-
<% if respond_to? :logout_url -%>
|
711
|
-
<ul
|
712
|
-
class="py-1 text-gray-700 dark:text-gray-300"
|
713
|
-
aria-labelledby="dropdown">
|
714
|
-
<li>
|
715
|
-
<%= link_to "Sign out", logout_url, class: "block py-2 px-4 text-sm hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white", data: { turbo: false } %>
|
716
|
-
</li>
|
717
|
-
</ul>
|
718
|
-
<% end -%>
|
719
248
|
</div>
|
720
|
-
|
249
|
+
<div class="pl-3 w-full">
|
250
|
+
<div
|
251
|
+
class="text-gray-500 font-normal text-sm mb-1.5 dark:text-gray-200">
|
252
|
+
<span class="font-semibold text-gray-900 dark:text-white"
|
253
|
+
>Robert Brown</span>
|
254
|
+
posted a new video: Glassmorphism - learn how to implement
|
255
|
+
the new design trend.
|
256
|
+
</div>
|
257
|
+
<div
|
258
|
+
class="text-xs font-medium text-primary-600 dark:text-primary-500">
|
259
|
+
3 hours ago
|
260
|
+
</div>
|
261
|
+
</div>
|
262
|
+
</a>
|
721
263
|
</div>
|
264
|
+
<a
|
265
|
+
href="#"
|
266
|
+
class="block py-2 text-md font-medium text-center text-gray-900 bg-gray-50 hover:bg-gray-100 dark:bg-gray-600 dark:text-white dark:hover:underline">
|
267
|
+
<div class="inline-flex items-center">
|
268
|
+
<svg
|
269
|
+
aria-hidden="true"
|
270
|
+
class="mr-2 w-4 h-4 text-gray-500 dark:text-gray-200"
|
271
|
+
fill="currentColor"
|
272
|
+
viewBox="0 0 20 20"
|
273
|
+
xmlns="http://www.w3.org/2000/svg">
|
274
|
+
<path d="M10 12a2 2 0 100-4 2 2 0 000 4z"></path>
|
275
|
+
<path
|
276
|
+
fill-rule="evenodd"
|
277
|
+
d="M.458 10C1.732 5.943 5.522 3 10 3s8.268 2.943 9.542 7c-1.274 4.057-5.064 7-9.542 7S1.732 14.057.458 10zM14 10a4 4 0 11-8 0 4 4 0 018 0z"
|
278
|
+
clip-rule="evenodd"></path>
|
279
|
+
</svg>
|
280
|
+
View all
|
281
|
+
</div>
|
282
|
+
</a>
|
722
283
|
</div>
|
723
|
-
</
|
284
|
+
</div>
|
285
|
+
|
286
|
+
%>
|
287
|
+
<% end %>
|