added header component and redesign index dashboard

This commit is contained in:
mi1468 2025-05-11 13:59:22 +03:30
parent 3ed673be9e
commit 058a10fdc9
4 changed files with 636 additions and 589 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 455 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 307 B

View File

@ -1,96 +1,384 @@
<template> <template>
<header class="header-container"> <header class="header-container">
<img class="line" src="https://c.animaapp.com/m9nvumalUMfQbN/img/line-1.svg" /> <img class="line" src="https://c.animaapp.com/m9nvumalUMfQbN/img/line-1.svg" />
<p class="welcome-message">از این داشبورد، کار با XRoom را آغاز کنید.</p> <div class="welcome-container">
<div class="user-info-container"> <p class="welcome-message">{{ pageTitle }} </p>
<div class="user-name-container"> </div>
<img class="user-icon" src="https://c.animaapp.com/m9nvumalUMfQbN/img/frame-10.svg" /> <div class="user-info-container" @click.stop="toggleDropdown">
<div class="user-name">{{ fullName }}</div> <div class="user-name-container" ref="userContainer">
</div>
<div class="avatar-wrapper"> <div class="avatar-wrapper">
<img class="user-avatar" src="https://c.animaapp.com/m9nvumalUMfQbN/img/frame.svg" /> <img class="user-avatar" :src="profileIcon" />
</div> </div>
<div class="user-name">{{ fullName }}</div>
<img class="user-icon" src="https://c.animaapp.com/m9nvumalUMfQbN/img/frame-10.svg" />
<!-- Dropdown positioned relative to user-info-container -->
<div v-if="showDropdown" class="dropdown-menu">
<router-link to="/dashboard/team" class="dropdown-item">
<span class="dropdown-label">نام تیم</span>
<span class="team-name">Dadechin</span>
<img src="https://cdn-icons-png.flaticon.com/512/1077/1077063.png" class="dropdown-icon" alt="team" />
</router-link>
<router-link to="/dashboard/edit-profile" class="dropdown-item">
<span class="dropdown-label">حساب کاربری</span>
<img src="https://cdn-icons-png.flaticon.com/512/3524/3524637.png" class="dropdown-icon" alt="account" />
</router-link>
<div class="dropdown-item logout" @click="logout">
<span class="dropdown-label">خروج</span>
<img :src="require('@/assets/img/exitIcon.png')" alt="logout" class="dropdown-icon" />
</div>
</div>
</div> </div>
</header> </div>
</template>
<script> <button class="green-button">
export default { <img :src="require('@/assets/img/shopIcon.png')" alt="Icon" class="button-icon" />
name: 'AppHeader', <span>خرید اشتراک </span>
computed: { </button>
fullName() { </header>
// Get user data from localStorage </template>
const user = JSON.parse(localStorage.getItem('user') || '{}');
// Return formatted name or default if not available
if (user.first_name && user.last_name) { <script>
return `${user.first_name} ${user.last_name}`; export default {
} name: 'AppHeader',
return 'کاربر مهمان'; props: {
pageTitle: {
type: String,
default: 'از این داشبورد، کار با XRoom را آغاز کنید.'
}
},
data() {
return {
showDropdown: false
}
},
computed: {
fullName() {
const user = JSON.parse(localStorage.getItem('user') || '{}');
if (user.first_name && user.last_name) {
return `${user.first_name} ${user.last_name}`;
}
return 'کاربر مهمان';
},
profileIcon() {
const customer = JSON.parse(localStorage.getItem('customer') || '{}');
if (customer.profile_img ) {
return `${customer.profile_img}`;
}
return 'https://c.animaapp.com/m9nvumalUMfQbN/img/frame.svg';
}
},
methods: {
toggleDropdown() {
console.log("Dropdown toggled"); // This should now appear in console
this.showDropdown = !this.showDropdown;
},
logout() {
localStorage.removeItem('user');
localStorage.removeItem('token');
window.location.href = '/login';
},
closeDropdown(event) {
if (!this.$el.contains(event.target)) {
this.showDropdown = false;
} }
} }
},
mounted() {
console.log("Component mounted"); // Check if this appears
document.addEventListener('click', this.closeDropdown);
},
beforeUnmount() {
document.removeEventListener('click', this.closeDropdown);
} }
</script> }
</script>
<style scoped>
.header-container {
display: flex;
align-items: center;
justify-content: space-between;
padding: 20px;
background-color: #ffffff;
border-bottom: 1px solid #eaeaea;
position: relative;
}
<style scoped> /* New green button styles */
.header-container { .green-button {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: center;
padding: 20px; gap: 8px;
background-color: #ffffff; background-color: #48BB78; /* Green color */
border-bottom: 1px solid #eaeaea; color: white;
} border: none;
padding: 8px 16px;
border-radius: 8px;
cursor: pointer;
font-size: 14px;
transition: background-color 0.3s;
}
.welcome-message { .green-button:hover {
font-size: 14px; background-color: #3e8e41; /* Darker green on hover */
color: #666666; }
margin: 0 15px;
}
.user-info-container { .button-icon {
display: flex; width: 16px;
align-items: center; height: 16px;
gap: 15px; filter: brightness(0) invert(1); /* Make icon white */
} }
.user-name-container { .welcome-container {
display: flex; flex: 1;
align-items: center; text-align: right;
gap: 8px; padding-right: 20px;
} }
.user-icon { .welcome-message {
width: 16px; font-size: 14px;
height: 16px; color: #666666;
} margin: 0;
}
.user-name { .user-info-container {
font-size: 14px; display: flex;
font-weight: 500; align-items: center;
color: #333333; gap: 15px;
} margin-left: 25px;
}
.avatar-wrapper { .user-name-container {
width: 40px; display: flex;
height: 40px; align-items: center;
border-radius: 50%; gap: 8px;
overflow: hidden; }
display: flex;
align-items: center;
justify-content: center;
background-color: #f5f5f5;
}
.user-avatar { .user-icon {
width: 100%; width: 16px;
height: 100%; height: 16px;
object-fit: cover; cursor: pointer;
} }
.line { .user-name {
height: 40px; font-size: 14px;
width: 1px; font-weight: 500;
background-color: #eaeaea; color: #333333;
} }
</style>
.avatar-wrapper {
width: 40px;
height: 40px;
border-radius: 50%;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
background-color: #f5f5f5;
position: relative;
cursor: pointer;
}
.user-avatar {
width: 100%;
height: 55px;
object-fit: cover;
}
.line {
height: 40px;
width: 1px;
background-color: #eaeaea;
}
.dropdown-menu {
/* position: absolute; */
top: 50px;
right: 0;
background-color: white;
border: 1px solid #eaeaea;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
z-index: 100;
min-width: 150px;
overflow: hidden;
}
.dropdown-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 15px;
cursor: pointer;
transition: background-color 0.2s;
}
.dropdown-item:hover {
background-color: #f5f5f5;
}
.logout-icon {
width: 16px;
height: 16px;
}
.user-info-container {
display: flex;
align-items: center;
gap: 15px;
margin-left: 25px;
position: relative; /* Add this for dropdown positioning */
}
.user-name-container {
display: flex;
align-items: center;
gap: 8px;
position: relative; /* Important for dropdown positioning */
}
.dropdown-menu {
position: absolute;
top: 100%; /* Position below the user info */
right: 0;
background-color: white;
border: 1px solid #eaeaea;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
z-index: 1000; /* Higher z-index to ensure it's above other elements */
min-width: 150px;
margin-top: 5px; /* Small gap from the user info */
}
.dropdown-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 15px;
cursor: pointer;
transition: background-color 0.2s;
}
.dropdown-item:hover {
background-color: #f5f5f5;
}
.logout-icon {
width: 16px;
height: 16px;
}
/* Ensure header has proper z-index */
.header-container {
display: flex;
align-items: center;
justify-content: space-between;
padding: 20px;
background-color: #ffffff;
border-bottom: 1px solid #eaeaea;
position: relative;
z-index: 100; /* Lower than dropdown but higher than page content */
}
.dropdown-menu {
position: absolute;
top: 100%;
right: 0;
background-color: white;
border: 1px solid #eaeaea;
border-radius: 16px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
z-index: 1000;
min-width: 200px;
padding: 10px 0;
}
.dropdown-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 16px;
cursor: pointer;
transition: background-color 0.2s;
}
.dropdown-item:hover {
background-color: #f5f5f5;
}
.dropdown-label {
font-size: 14px;
color: #333;
}
.team-name {
font-size: 14px;
color: #3b82f6; /* Tailwind blue-500 */
text-decoration: none;
margin-left: 8px;
}
.dropdown-icon {
width: 18px;
height: 18px;
margin-left: 8px;
}
.logout {
color: #f56565; /* Tailwind red-500 */
}
.logout .dropdown-label {
color: #f56565;
}
</style>

View File

@ -1,577 +1,336 @@
<!-- DashboardPage.vue -->
<template> <template>
<SidebarMenu /> <SidebarMenu />
<div class="dashboard-page">
<div class="content">
<!-- <AppHeader /> -->
<AppHeader pageTitle="از این داشبورد، کار با XRoom را آغاز کنید." />
<div class="dashboard-page"> <div class="dashboard-grid">
<div class="content">
<!-- Right Section -->
<div class="right-section">
<AppHeader /> <h2 class="section-title">راهنمای شروع</h2>
<div class="tutorial-grid">
<img class="tutorial-item" src="https://c.animaapp.com/m9nvumalUMfQbN/img/tutorials.svg" />
<img class="tutorial-item" src="https://c.animaapp.com/m9nvumalUMfQbN/img/frame-20.svg" />
<img class="tutorial-item" src="https://c.animaapp.com/m9nvumalUMfQbN/img/frame-19.svg" />
<img class="tutorial-item" src="https://c.animaapp.com/m9nvumalUMfQbN/img/frame-21.svg" />
<div class="group-2">
<div class="text-wrapper-6">راهنمای شروع</div>
<img class="tutorials" src="https://c.animaapp.com/m9nvumalUMfQbN/img/tutorials.svg" />
<img class="frame-6" src="https://c.animaapp.com/m9nvumalUMfQbN/img/frame-20.svg" />
<img class="frame-7" src="https://c.animaapp.com/m9nvumalUMfQbN/img/frame-19.svg" />
<img class="frame-8" src="https://c.animaapp.com/m9nvumalUMfQbN/img/frame-21.svg" />
</div>
<p class="text-wrapper-7">
فقط یک ایده با جلسه شگفتانگیز بعدیتان در واقعیت مجازی فاصله دارید. همین امروز آن را برگزار کنید!
</p>
<div class="text-wrapper-8">جلسات</div>
<div class="group-3">
<div class="text-wrapper-9">آخرین فایلها</div>
<div class="frame-9">
<img class="BTN-2" src="https://c.animaapp.com/m9nvumalUMfQbN/img/btn-1.svg" />
<img class="BTN-2" src="https://c.animaapp.com/m9nvumalUMfQbN/img/btn.svg" />
</div>
<div class="frame-10">
<div class="card">
<div class="frame-11"></div>
<div class="frame-12">
<div class="text-wrapper-10">Pico Control</div>
<div class="history">
<img class="frame-13" src="https://c.animaapp.com/m9nvumalUMfQbN/img/frame-1.svg" />
<div class="text-wrapper-11">24 تیر 1403</div>
</div>
</div> </div>
</div> </div>
<div class="frame-14">
<div class="frame-15"></div> <!-- Left Section -->
<div class="frame-12"> <div class="left-section">
<div class="text-wrapper-10">Fakor Sanat Tehran</div> <h2 class="section-title">جلسات</h2>
<div class="history"> <p class="section-description">
<img class="frame-13" src="https://c.animaapp.com/m9nvumalUMfQbN/img/frame-1.svg" /> فقط یک ایده با جلسه شگفتانگیز بعدیتان در واقعیت مجازی فاصله دارید. همین امروز آن را برگزار کنید!
<div class="text-wrapper-11">24 تیر 1403</div> </p>
<button class="create-meeting-btn">
<img src="https://c.animaapp.com/m9nvumalUMfQbN/img/frame-2.svg" />
<span>ایجاد جلسه جدید</span>
</button>
</div>
<!-- Meetings Section -->
<div class="meetings-section">
<div class="files-header">
<h1 style=" font-size: 24px;">آخرین فایل ها</h1>
<div class="file-buttons">
<button class="white-button">بارگذاری فایل</button>
<button class="white-button">مدیریت فایلها</button>
</div> </div>
</div> </div>
</div>
<div class="frame-16"> <div class="meetings-scroll">
<div class="frame-17"></div> <div class="meeting-cards">
<div class="frame-12"> <div class="meeting-card">
<div class="text-wrapper-10">Design Artist</div> <div class="card-image" style="background-image: url(https://c.animaapp.com/m9nvumalUMfQbN/img/frame-23-1.png)"></div>
<div class="history"> <div class="card-content">
<img class="frame-13" src="https://c.animaapp.com/m9nvumalUMfQbN/img/frame-1.svg" /> <h3>Pico Control</h3>
<div class="text-wrapper-11">24 تیر 1403</div> <div class="meeting-date">
</div> <img src="https://c.animaapp.com/m9nvumalUMfQbN/img/frame-1.svg" />
</div> <span>24 تیر 1403</span>
</div> </div>
<div class="frame-18"> </div>
<div class="frame-19"></div> </div>
<div class="frame-12">
<div class="text-wrapper-10">Flash Back</div> <div class="meeting-card">
<div class="history"> <div class="card-image" style="background-image: url(https://c.animaapp.com/m9nvumalUMfQbN/img/frame-23-2.png)"></div>
<img class="frame-13" src="https://c.animaapp.com/m9nvumalUMfQbN/img/frame-1.svg" /> <div class="card-content">
<div class="text-wrapper-11">24 تیر 1403</div> <h3>Fakor Sanat Tehran</h3>
<div class="meeting-date">
<img src="https://c.animaapp.com/m9nvumalUMfQbN/img/frame-1.svg" />
<span>24 تیر 1403</span>
</div>
</div>
</div>
<div class="meeting-card">
<div class="card-image" style="background-image: url(https://c.animaapp.com/m9nvumalUMfQbN/img/frame-23-3.png)"></div>
<div class="card-content">
<h3>Design Artist</h3>
<div class="meeting-date">
<img src="https://c.animaapp.com/m9nvumalUMfQbN/img/frame-1.svg" />
<span>24 تیر 1403</span>
</div>
</div>
</div>
<div class="meeting-card">
<div class="card-image" style="background-image: url(https://c.animaapp.com/m9nvumalUMfQbN/img/frame-23-4.png)"></div>
<div class="card-content">
<h3>Flash Back</h3>
<div class="meeting-date">
<img src="https://c.animaapp.com/m9nvumalUMfQbN/img/frame-1.svg" />
<span>24 تیر 1403</span>
</div>
</div>
</div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<div class="BTN-icon">
<img class="frame-20" src="https://c.animaapp.com/m9nvumalUMfQbN/img/frame-2.svg" />
<div class="text-wrapper-12">ایجاد جلسه جدید</div>
</div>
<div class="buy-a-subscription">
<img class="frame-21" src="https://c.animaapp.com/m9nvumalUMfQbN/img/frame-6.svg" />
<div class="text-wrapper-12">خرید اشتراک</div>
</div>
</div> </div>
<div class="footer">
<div class="text-wrapper-13">All Rights Reserved ©Dadechin</div>
<div class="logo">
<div class="clip-path-group-wrapper">
<img class="clip-path-group" src="https://c.animaapp.com/m9nvumalUMfQbN/img/clip-path-group.png" />
</div>
</div>
</div>
</div>
</template> </template>
<script> <script>
import SidebarMenu from '@/components/SidebarMenu.vue' import SidebarMenu from '@/components/SidebarMenu.vue'
import AppHeader from '@/components/Header.vue'; import AppHeader from '@/components/Header.vue';
export default { export default {
name: 'DashboardPage', name: 'DashboardPage',
components: { components: {
SidebarMenu, SidebarMenu,
AppHeader, AppHeader,
} }
} }
</script> </script>
<style scoped> <style scoped>
.dashboard-page { .dashboard-page {
margin-right: 360px; margin-right: 360px;
padding: 20px; padding: 20px;
direction: rtl; direction: rtl;
display: flex;
flex-direction: column;
min-height: 100vh;
} }
.content { .content {
width: 100%; flex: 1;
height: 860px; background-color: #f8f9fa;
background-color: #f8f9fa; border-radius: 20px;
border-radius: 20px; padding: 35px 80px;
overflow: hidden; display: flex;
padding: 35px 80px; flex-direction: column;
position: relative;
} }
.line { .dashboard-grid {
position: absolute; display: grid;
width: calc(100% - 160px); grid-template-columns: 1fr 1fr;
height: 1px; gap: 40px;
top: 90px; margin-top: 80px;
right: 80px;
object-fit: cover;
} }
.p { .left-section {
position: absolute; display: flex;
height: 22px; flex-direction: column;
top: 35px; gap: 20px;
right: 80px;
font-family: "IRANSansXFaNum-Medium", Helvetica;
font-weight: 500;
color: #101010;
font-size: 16px;
letter-spacing: 0;
line-height: 22.4px;
white-space: nowrap;
} }
.frame-3 { .right-section {
display: inline-flex; display: flex;
height: 42px; flex-direction: column;
align-items: center; gap: 20px;
gap: 8px;
position: absolute;
top: 35px;
right: 605px;
} }
.frame-4 { .section-title {
display: inline-flex; font-family: "IRANSansXFaNum-DemiBold", Helvetica;
align-items: center; font-weight: 700;
gap: 4px; color: #101010;
position: relative; font-size: 19px;
flex: 0 0 auto; line-height: 26.6px;
margin: 0;
} }
.text-wrapper-5 { .section-description {
position: relative; font-family: "IRANSansXFaNum-Medium", Helvetica;
width: fit-content; font-weight: 500;
font-family: "IRANSansXFaNum-Medium", Helvetica; color: #4f5a69;
font-weight: 500; font-size: 14px;
color: #101010; line-height: 26.6px;
font-size: 16px; margin: 0;
text-align: right;
line-height: 22.4px;
white-space: nowrap;
letter-spacing: 0;
} }
.frame-wrapper { .tutorial-grid {
position: relative; display: grid;
width: 42px; grid-template-columns: 1fr 1fr;
height: 42px; gap: 20px;
background-color: white;
border-radius: 8px;
overflow: hidden;
border: 1px solid #e2dee9;
} }
.frame-5 { .tutorial-item {
position: absolute; width: 300px;
width: 20px; height: auto;
height: 20px; border-radius: 8px;
top: 11px; margin: auto;
right: 11px;
} }
.group-2 { .create-meeting-btn {
position: absolute; display: flex;
width: 522px; align-items: center;
height: 270px; gap: 10px;
top: 112px; padding: 12px 24px;
right: 80px; border-radius: 8px;
background-color: #3a57e8;
color: white;
font-family: "IRANSansXFaNum-Medium", Helvetica;
font-weight: 500;
font-size: 16px;
border: none;
cursor: pointer;
width: fit-content;
} }
.text-wrapper-6 { .create-meeting-btn img {
position: absolute; width: 16px;
height: 27px; height: 16px;
top: 0;
right: 0px;
font-family: "IRANSansXFaNum-DemiBold", Helvetica;
font-weight: 700;
color: #101010;
font-size: 19px;
line-height: 26.6px;
white-space: nowrap;
letter-spacing: 0;
} }
.tutorials { .meetings-section {
position: absolute; grid-column: 1 / -1;
width: 250px; margin-top: 40px;
height: 94px;
top: 54px;
right: 270px;
} }
.frame-6 { .meeting-controls {
position: absolute; display: flex;
width: 250px; gap: 20px;
height: 94px; margin-bottom: 20px;
top: 176px;
right: 270px;
} }
.frame-7 { .meeting-btn {
position: absolute; width: 130px;
width: 250px; cursor: pointer;
height: 94px;
top: 54px;
right: 0;
} }
.frame-8 { .meetings-scroll {
position: absolute; width: 100%;
width: 250px; overflow-x: auto;
height: 94px; padding-bottom: 20px;
top: 176px;
right: 0;
} }
.text-wrapper-7 { .meetings-scroll::-webkit-scrollbar {
position: absolute; display: none;
width: 292px;
top: 148px;
right: 687px;
font-family: "IRANSansXFaNum-Medium", Helvetica;
font-weight: 500;
color: #4f5a69;
font-size: 14px;
line-height: 26.6px;
letter-spacing: 0;
text-align: right;
} }
.text-wrapper-8 { .meeting-cards {
position: absolute; display: flex;
height: 27px; gap: 20px;
top: 112px; width: max-content;
right: 689px;
font-family: "IRANSansXFaNum-DemiBold", Helvetica;
font-weight: 700;
color: #101010;
font-size: 19px;
line-height: 26.6px;
white-space: nowrap;
letter-spacing: 0;
} }
.group-3 { .meeting-card {
position: absolute; width: 250px;
width: calc(100% - 160px); background-color: white;
height: 341px; border-radius: 16px;
top: 40px; border: 0.5px solid #b8c0cb;
right: 80px; overflow: hidden;
flex-shrink: 0;
} }
.text-wrapper-9 { .card-image {
position: absolute; width: 100%;
width: 116px; height: 172px;
height: 29px; background-size: cover;
top: 4px; background-position: center;
right: 784px; border-radius: 14px;
font-family: "IRANSansXFaNum-DemiBold", Helvetica;
font-weight: 700;
color: #101010;
font-size: 19px;
line-height: 26.6px;
white-space: nowrap;
letter-spacing: 0;
} }
.frame-9 { .card-content {
display: flex; padding: 8px 16px 16px;
width: 292px;
align-items: center;
justify-content: space-between;
position: absolute;
top: 450px;
right: 600px;
} }
.BTN-2 { .card-content h3 {
position: relative; font-family: "IRANSansXFaNum-DemiBold", Helvetica;
width: 130px; font-weight: 700;
cursor: pointer; color: #444d5a;
font-size: 15px;
margin: 0 0 14px 0;
} }
.frame-10 { .meeting-date {
position: absolute; display: flex;
width: 900px; align-items: center;
height: 267px; gap: 10px;
top: 512px; font-family: "IRANSansXFaNum-Medium", Helvetica;
right: 0; font-weight: 500;
overflow: hidden; color: #7f8da1;
overflow-x: scroll; font-size: 13px;
} }
.frame-10::-webkit-scrollbar { .meeting-date img {
width: 0; width: 20px;
display: none; height: 20px;
}
.card {
display: flex;
flex-direction: column;
width: 250px;
align-items: center;
gap: 16px;
padding: 8px 8px 16px;
position: absolute;
top: -2px;
right: 650px;
background-color: white;
border-radius: 16px;
border: 0.5px solid #b8c0cb;
}
.frame-11 {
position: relative;
align-self: stretch;
width: 100%;
height: 172px;
border-radius: 14px;
background: url(https://c.animaapp.com/m9nvumalUMfQbN/img/frame-23-1.png) 50% 50% / cover;
}
.frame-12 {
display: flex;
flex-direction: column;
width: 218px;
align-items: flex-start;
gap: 14px;
position: relative;
flex: 0 0 auto;
}
.text-wrapper-10 {
position: relative;
width: fit-content;
margin-top: -1px;
font-family: "IRANSansXFaNum-DemiBold", Helvetica;
font-weight: 700;
color: #444d5a;
font-size: 15px;
text-align: left;
letter-spacing: 0;
line-height: 21px;
white-space: nowrap;
}
.history {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 10px;
position: relative;
flex: 0 0 auto;
}
.text-wrapper-11 {
position: relative;
width: fit-content;
font-family: "IRANSansXFaNum-Medium", Helvetica;
font-weight: 500;
color: #7f8da1;
font-size: 13px;
letter-spacing: 0;
line-height: 18.2px;
white-space: nowrap;
}
.frame-13 {
position: relative;
width: 20px;
height: 20px;
}
.frame-14 {
display: flex;
flex-direction: column;
width: 250px;
align-items: center;
gap: 16px;
padding: 8px 8px 16px;
position: absolute;
top: -2px;
right: 380px;
background-color: white;
border-radius: 16px;
border: 0.5px solid #b8c0cb;
}
.frame-15 {
background: url(https://c.animaapp.com/m9nvumalUMfQbN/img/frame-23-2.png) 50% 50% / cover;
position: relative;
align-self: stretch;
width: 100%;
height: 172px;
border-radius: 14px;
}
.frame-16 {
display: flex;
flex-direction: column;
width: 250px;
align-items: center;
gap: 16px;
padding: 8px 8px 16px;
position: absolute;
top: -2px;
right: 110px;
background-color: white;
border-radius: 16px;
border: 0.5px solid #b8c0cb;
}
.frame-17 {
background: url(https://c.animaapp.com/m9nvumalUMfQbN/img/frame-23-3.png) 50% 50% / cover;
position: relative;
align-self: stretch;
width: 100%;
height: 172px;
border-radius: 14px;
}
.frame-18 {
display: flex;
flex-direction: column;
width: 250px;
align-items: center;
gap: 16px;
padding: 8px 8px 16px;
position: absolute;
top: -2px;
right: -160px;
background-color: white;
border-radius: 16px;
border: 0.5px solid #b8c0cb;
}
.frame-19 {
background: url(https://c.animaapp.com/m9nvumalUMfQbN/img/frame-23-4.png) 50% 50% / cover;
position: relative;
align-self: stretch;
width: 100%;
height: 172px;
border-radius: 14px;
}
.BTN-icon {
display: flex;
width: 292px;
align-items: center;
justify-content: flex-start;
gap: 10px;
padding: 12px 24px;
top: 250px;
right: 687px;
border-radius: 8px;
position: absolute;
background-color: #3a57e8;
cursor: pointer;
}
.text-wrapper-12 {
position: relative;
width: fit-content;
margin-top: -2px;
font-family: "IRANSansXFaNum-Medium", Helvetica;
font-weight: 500;
color: white;
font-size: 16px;
text-align: right;
line-height: 22.4px;
white-space: nowrap;
letter-spacing: 0;
}
.frame-20 {
position: relative;
width: 16px;
height: 16px;
}
.buy-a-subscription {
display: inline-flex;
align-items: center;
justify-content: flex-start;
gap: 10px;
padding: 10px;
position: absolute;
top: 35px;
right: 858px;
background-color: #48bb78;
border-radius: 8px;
cursor: pointer;
}
.frame-21 {
position: relative;
width: 20px;
height: 20px;
} }
.footer { .footer {
margin-top: 20px; text-align: center;
text-align: center; margin-top: 20px;
position: relative;
} }
.text-wrapper-13 { .footer-text {
width: 100%; font-family: "IRANSansXFaNum-Medium", Helvetica;
height: 18px; font-weight: 500;
font-family: "IRANSansXFaNum-Medium", Helvetica; color: white;
font-weight: 500; font-size: 13px;
color: white; line-height: 18.2px;
font-size: 13px;
text-align: center;
letter-spacing: 0;
line-height: 18.2px;
} }
.logo { .footer-logo {
width: 360px; width: 150px;
height: 45px; margin: 30px auto;
margin: 30px auto;
} }
.clip-path-group-wrapper { .footer-logo img {
position: relative; width: 100%;
height: 45px; height: auto;
} }
.clip-path-group {
position: absolute;
width: 150px;
height: 40px;
top: 5px; .files-header {
right: 105px; display: flex;
align-items: center;
margin-bottom: 20px;
} }
.file-buttons {
display: flex;
gap: 30px;
margin-right: 40px;
}
.white-button {
background-color: white;
border: 1px solid #e0e0e0;
border-radius: 8px;
padding: 8px 16px;
font-size: 14px;
font-family: "IRANSansXFaNum-Medium", Helvetica;
cursor: pointer;
transition: background-color 0.2s;
}
.white-button:hover {
background-color: #f5f5f5;
}
</style> </style>