Skip to content

Commit b479ca1

Browse files
committed
committo tutto
1 parent 0a74834 commit b479ca1

File tree

7 files changed

+35
-22
lines changed

7 files changed

+35
-22
lines changed

dashboard/components/CVerticalNavigation.vue

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,15 @@ const pricingDrawer = usePricingDrawer();
149149
</div>
150150
</LyxUiButton>
151151

152+
<LyxUiButton v-if="projectList && (projectList.length >= (maxProjects || 1))"
153+
type="outlined" class="w-full py-1 mt-2 text-[.7rem]">
154+
<div class="flex items-center gap-2 justify-center">
155+
<div><i class="text-lyx-text-darker far fa-lock"></i></div>
156+
<div class="text-lyx-text-darker"> Projects limit reached </div>
157+
</div>
158+
</LyxUiButton>
159+
160+
152161
</div>
153162

154163

@@ -293,7 +302,7 @@ const pricingDrawer = usePricingDrawer();
293302
class="cursor-pointer hover:text-lyx-text text-lyx-text-dark">
294303
<i class="fab fa-dev"></i>
295304
</NuxtLink> -->
296-
305+
297306
<NuxtLink to="/admin" v-if="userRoles.isAdmin.value"
298307
class="cursor-pointer hover:text-lyx-text text-lyx-text-dark">
299308
<i class="fas fa-cat"></i>

dashboard/components/FirstInteraction.vue

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -76,26 +76,32 @@ function reloadPage() {
7676

7777
<div class="flex items-center justify-center mt-10">
7878
<div class="flex flex-col gap-6">
79-
<div class="flex gap-6">
80-
<div>
81-
<CardTitled class="h-full" title="Tutorial" sub="Coming soon. For now enjoy our launch video.">
82-
<div class="flex items-center justify-center h-full">
83-
<iframe width="560" height="315"
79+
80+
<div class="flex gap-6 xl:flex-row flex-col">
81+
82+
<div class="h-full w-full">
83+
<CardTitled class="h-full w-full xl:min-w-[500px]" title="Tutorial"
84+
sub="Coming soon. For now enjoy our launch video.">
85+
86+
<div class="flex items-center justify-center h-full w-full">
87+
88+
<iframe class="w-full h-full min-h-[400px]"
8489
src="https://www.youtube.com/embed/GntyWMR7jsY?si=YGGkQwrk6-Iqmn8w" title="Litlyx"
8590
frameborder="0"
8691
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
8792
referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
8893
</div>
94+
8995
</CardTitled>
9096
</div>
9197

9298
<div class="flex flex-col gap-6">
9399

94-
<div>
100+
<div class="w-full">
95101
<CardTitled title="Quick Integration"
96102
sub="Start tracking web analytics in one line. (works everywhere js is supported)">
97103
<div class="flex flex-col items-end gap-4">
98-
<div class="w-full">
104+
<div class="w-full xl:text-[1rem] text-[.8rem]">
99105
<pre><code class="language-html">{{ scriptText }}</code></pre>
100106
</div>
101107
<LyxUiButton type="secondary" @click="copyScript()">
@@ -122,7 +128,7 @@ function reloadPage() {
122128
<CardTitled class="w-full h-full" title="Documentation"
123129
sub="Learn how to use Litlyx in every tech stack">
124130
<div class="flex flex-col items-end">
125-
<div class="flex justify-center w-full">
131+
<div class="justify-center w-full hidden xl:flex">
126132
<svg width="680" height="100" viewBox="0 0 680 100" fill="none"
127133
xmlns="http://www.w3.org/2000/svg">
128134
<mask id="path-1-inside-1_473_1361" fill="white">
@@ -263,7 +269,7 @@ function reloadPage() {
263269

264270

265271

266-
<!-- <div class="flex justify-center gap-10 flex-col lg:flex-row items-center lg:items-stretch px-10">
272+
<!-- <div class="flex justify-center gap-10 flex-col xl:flex-row items-center xl:items-stretch px-10">
267273
268274
<div class="bg-menu p-6 rounded-xl flex flex-col gap-2 w-full">
269275
<div class="poppins font-semibold"> Copy your project_id: </div>
@@ -273,7 +279,7 @@ function reloadPage() {
273279
</div>
274280
</div>
275281
276-
<div class="bg-menu p-6 rounded-xl flex flex-col gap-2 w-full lg:max-w-[40vw]">
282+
<div class="bg-menu p-6 rounded-xl flex flex-col gap-2 w-full xl:max-w-[40vw]">
277283
<div class="poppins font-semibold">
278284
Start logging visits in 1 click | Plug anywhere !
279285
</div>

dashboard/pages/admin/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ async function resetCount(project_id: string) {
138138
<div @click="onHideClicked()" v-if="!isAdminHidden"
139139
class="bg-menu hover:bg-menu/70 cursor-pointer flex gap-2 rounded-lg w-fit px-6 py-4 text-text-sub">
140140
<div class="text-text-sub/90"> <i class="far fa-eye"></i> </div>
141-
<div> Nascondi dalla barra </div>
141+
<div> Hide </div>
142142
</div>
143143

144144

dashboard/pages/analyst.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ const { visible: pricingDrawerVisible } = usePricingDrawer()
225225

226226

227227
<div :class="{
228-
'absolute': menuOpen,
228+
'absolute top-0 left-0 w-full': menuOpen,
229229
'hidden xl:flex': !menuOpen
230230
}" class="flex-[2] bg-lyx-background-light p-6 flex flex-col gap-4 h-full overflow-hidden">
231231

dashboard/pages/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const showDashboard = computed(() => project.value && firstInteraction.data.valu
3535

3636
<template>
3737

38-
<div class="dashboard w-full h-full overflow-y-auto pb-20 md:pt-4 lg:pt-0">
38+
<div class="dashboard w-full h-full overflow-y-auto overflow-x-hidden pb-[7rem] md:pt-4 lg:pt-0">
3939

4040
<div v-if="showDashboard">
4141

dashboard/pages/login.vue

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ async function signInWithCredentials() {
159159

160160
<div class="flex h-full">
161161

162-
<div class="flex-1 flex flex-col items-center pt-20 lg:pt-[22vh]">
162+
<div class="flex-1 flex flex-col items-center pt-20 xl:pt-[22vh]">
163163

164164
<div class="rotating-thing absolute top-0"></div>
165165

@@ -171,9 +171,8 @@ async function signInWithCredentials() {
171171
Sign in
172172
</div>
173173

174-
<div class="text-text/80 text-[1.2rem] text-center w-[70%] poppins mt-2">
174+
<div class="text-text/80 text-[1.2rem] font-light text-center w-[70%] poppins mt-2">
175175
Track web analytics and custom events
176-
<br>
177176
with extreme simplicity in under 30 sec.
178177
<br>
179178
<!-- <div class="font-bold poppins mt-4">
@@ -221,7 +220,7 @@ async function signInWithCredentials() {
221220
<div class="flex items-center">
222221
<i class="far fa-envelope"></i>
223222
</div>
224-
Continue with Email
223+
Sign in with Email
225224
</div>
226225

227226

dashboard/pages/register.vue

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ async function registerAccount() {
4545

4646
<div class="flex h-full">
4747

48-
<div class="flex-1 flex flex-col items-center pt-20 lg:pt-[22vh]">
48+
<div class="flex-1 flex flex-col items-center pt-20 xl:pt-[22vh]">
4949

5050
<div class="rotating-thing absolute top-0"></div>
5151

@@ -57,9 +57,8 @@ async function registerAccount() {
5757
Sign up
5858
</div>
5959

60-
<div class="text-text/80 text-[1.2rem] text-center w-[70%] poppins mt-2">
60+
<div class="text-text/80 text-[1.2rem] font-light text-center w-[70%] poppins mt-2">
6161
Track web analytics and custom events
62-
<br>
6362
with extreme simplicity in under 30 sec.
6463
<br>
6564
<!-- <div class="font-bold poppins mt-4">
@@ -114,7 +113,7 @@ async function registerAccount() {
114113
</RouterLink>
115114
</div>
116115

117-
<div v-if="!emailSended" class="text-[.9rem] poppins mt-20 text-text-sub text-center relative z-[2]">
116+
<div v-if="!emailSended" class="text-[.9rem] poppins mt-5 xl:mt-20 text-text-sub text-center relative z-[2]">
118117
By continuing you are accepting
119118
<br>
120119
our

0 commit comments

Comments
 (0)