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,37 +1,103 @@
<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">
<img class="user-icon" src="https://c.animaapp.com/m9nvumalUMfQbN/img/frame-10.svg" />
<div class="user-name">{{ fullName }}</div>
</div> </div>
<div class="user-info-container" @click.stop="toggleDropdown">
<div class="user-name-container" ref="userContainer">
<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 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>
</div>
</div>
<button class="green-button">
<img :src="require('@/assets/img/shopIcon.png')" alt="Icon" class="button-icon" />
<span>خرید اشتراک </span>
</button>
</header> </header>
</template> </template>
<script> <script>
export default { export default {
name: 'AppHeader', name: 'AppHeader',
props: {
pageTitle: {
type: String,
default: 'از این داشبورد، کار با XRoom را آغاز کنید.'
}
},
data() {
return {
showDropdown: false
}
},
computed: { computed: {
fullName() { fullName() {
// Get user data from localStorage
const user = JSON.parse(localStorage.getItem('user') || '{}'); const user = JSON.parse(localStorage.getItem('user') || '{}');
// Return formatted name or default if not available
if (user.first_name && user.last_name) { if (user.first_name && user.last_name) {
return `${user.first_name} ${user.last_name}`; return `${user.first_name} ${user.last_name}`;
} }
return 'کاربر مهمان'; 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> <style scoped>
.header-container { .header-container {
display: flex; display: flex;
@ -40,18 +106,52 @@
padding: 20px; padding: 20px;
background-color: #ffffff; background-color: #ffffff;
border-bottom: 1px solid #eaeaea; border-bottom: 1px solid #eaeaea;
position: relative;
}
/* New green button styles */
.green-button {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
background-color: #48BB78; /* Green color */
color: white;
border: none;
padding: 8px 16px;
border-radius: 8px;
cursor: pointer;
font-size: 14px;
transition: background-color 0.3s;
}
.green-button:hover {
background-color: #3e8e41; /* Darker green on hover */
}
.button-icon {
width: 16px;
height: 16px;
filter: brightness(0) invert(1); /* Make icon white */
}
.welcome-container {
flex: 1;
text-align: right;
padding-right: 20px;
} }
.welcome-message { .welcome-message {
font-size: 14px; font-size: 14px;
color: #666666; color: #666666;
margin: 0 15px; margin: 0;
} }
.user-info-container { .user-info-container {
display: flex; display: flex;
align-items: center; align-items: center;
gap: 15px; gap: 15px;
margin-left: 25px;
} }
.user-name-container { .user-name-container {
@ -63,6 +163,7 @@
.user-icon { .user-icon {
width: 16px; width: 16px;
height: 16px; height: 16px;
cursor: pointer;
} }
.user-name { .user-name {
@ -80,11 +181,14 @@
align-items: center; align-items: center;
justify-content: center; justify-content: center;
background-color: #f5f5f5; background-color: #f5f5f5;
position: relative;
cursor: pointer;
} }
.user-avatar { .user-avatar {
width: 100%; width: 100%;
height: 100%;
height: 55px;
object-fit: cover; object-fit: cover;
} }
@ -93,4 +197,188 @@
width: 1px; width: 1px;
background-color: #eaeaea; 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> </style>

View File

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