├── public ├── favicon.ico ├── robots.txt ├── images │ ├── img.png │ └── default.png ├── .htaccess └── index.php ├── database ├── .gitignore ├── factories │ ├── IndustryFactory.php │ └── UserFactory.php ├── seeders │ ├── DatabaseSeeder.php │ └── IndustrySeeder.php └── migrations │ ├── 2022_02_10_171899_create_jobs_table.php │ ├── 2022_02_10_171823_create_industries_table.php │ ├── 2014_10_12_000000_create_users_table.php │ ├── 2022_02_10_171907_create_companies_table.php │ └── 2022_02_10_174219_create_comments_table.php ├── bootstrap ├── cache │ └── .gitignore └── app.php ├── storage ├── logs │ └── .gitignore ├── app │ ├── public │ │ └── .gitignore │ └── .gitignore └── framework │ ├── testing │ └── .gitignore │ ├── views │ └── .gitignore │ ├── cache │ ├── data │ │ └── .gitignore │ └── .gitignore │ ├── sessions │ └── .gitignore │ └── .gitignore ├── resources ├── views │ ├── layouts │ │ ├── logo │ │ │ └── simple.blade.php │ │ ├── assets │ │ │ ├── js.blade.php │ │ │ └── css.blade.php │ │ ├── plugins │ │ │ ├── inputMaskScript.blade.php │ │ │ └── validateScript.blade.php │ │ ├── comments │ │ │ ├── alert │ │ │ │ ├── store.blade.php │ │ │ │ ├── update.blade.php │ │ │ │ └── destroy.blade.php │ │ │ ├── rejectReasonModal.blade.php │ │ │ ├── deleteCommentsModal.blade.php │ │ │ ├── empty.blade.php │ │ │ └── commentsTable.blade.php │ │ ├── master │ │ │ └── metaTag.blade.php │ │ ├── companies │ │ │ ├── alert │ │ │ │ ├── destroy.blade.php │ │ │ │ └── store.blade.php │ │ │ ├── rejectReasonModal.blade.php │ │ │ ├── item │ │ │ │ └── card.blade.php │ │ │ ├── Indicators.blade.php │ │ │ ├── deleteCompaniesModal.blade.php │ │ │ ├── empty.blade.php │ │ │ ├── show │ │ │ │ └── sections │ │ │ │ │ ├── companyInfo.blade.php │ │ │ │ │ ├── emptyComments.blade.php │ │ │ │ │ └── companyComments.blade.php │ │ │ └── companiesTable.blade.php │ │ ├── app.blade.php │ │ ├── footer.blade.php │ │ ├── breadcrumb │ │ │ └── breadcrumb.blade.php │ │ ├── search │ │ │ ├── helpUs.blade.php │ │ │ ├── filters │ │ │ │ └── card.blade.php │ │ │ └── emptyResult.blade.php │ │ ├── navigation │ │ │ ├── navigation.blade.php │ │ │ └── profile.blade.php │ │ └── profile │ │ │ └── sidebar.blade.php │ ├── auth │ │ └── logoutForm.blade.php │ ├── companies │ │ ├── show.blade.php │ │ ├── myCompanies.blade.php │ │ ├── index.blade.php │ │ └── create.blade.php │ ├── profile │ │ ├── dashboard.blade.php │ │ └── index.blade.php │ ├── index.blade.php │ ├── comments │ │ ├── index.blade.php │ │ ├── create.blade.php │ │ └── editCommentsModal.blade.php │ └── search │ │ └── index.blade.php ├── fonts │ └── shabnam │ │ ├── Shabnam-FD_0.ttf │ │ └── shabnam.css ├── js │ ├── bootstrap.js │ └── app.js └── sass │ ├── _variables.scss │ └── app.scss ├── .gitattributes ├── tests ├── TestCase.php ├── Unit │ └── ExampleTest.php ├── Feature │ └── ExampleTest.php └── CreatesApplication.php ├── .styleci.yml ├── app ├── Http │ ├── Controllers │ │ ├── HomeController.php │ │ ├── Controller.php │ │ ├── ProfileController.php │ │ ├── Auth │ │ │ ├── ForgotPasswordController.php │ │ │ ├── ResetPasswordController.php │ │ │ ├── ConfirmPasswordController.php │ │ │ ├── LoginController.php │ │ │ ├── VerificationController.php │ │ │ └── RegisterController.php │ │ ├── Search │ │ │ └── SearchController.php │ │ ├── CompanyController.php │ │ └── CommentController.php │ ├── Middleware │ │ ├── EncryptCookies.php │ │ ├── VerifyCsrfToken.php │ │ ├── PreventRequestsDuringMaintenance.php │ │ ├── TrustHosts.php │ │ ├── TrimStrings.php │ │ ├── Authenticate.php │ │ ├── TrustProxies.php │ │ └── RedirectIfAuthenticated.php │ ├── Requests │ │ ├── SearchRequest.php │ │ ├── StoreCompanyRequest.php │ │ ├── StoreCommentRequest.php │ │ └── UpdateCommentRequest.php │ └── Kernel.php ├── Repositories │ ├── IndustryRepository.php │ ├── JobRepository.php │ ├── UserRepository.php │ ├── CommentRepository.php │ └── CompanyRepository.php ├── Facades │ ├── JobFacade.php │ ├── IndustryFacade.php │ ├── UserFacade.php │ ├── CommentFacade.php │ └── CompanyFacade.php ├── Policies │ ├── CompanyPolicy.php │ └── CommentPolicy.php ├── Providers │ ├── BroadcastServiceProvider.php │ ├── AppServiceProvider.php │ ├── AuthServiceProvider.php │ ├── RepositoryServiceProvider.php │ ├── EventServiceProvider.php │ └── RouteServiceProvider.php ├── Models │ ├── Industry.php │ ├── Job.php │ ├── User.php │ ├── Company.php │ └── Comment.php ├── Console │ └── Kernel.php ├── Exceptions │ └── Handler.php └── Helpers │ └── helpers.php ├── .editorconfig ├── .gitignore ├── webpack.mix.js ├── lang ├── en │ ├── pagination.php │ ├── auth.php │ └── passwords.php └── en.json ├── routes ├── channels.php ├── api.php ├── console.php └── web.php ├── package.json ├── config ├── cors.php ├── services.php ├── view.php ├── hashing.php ├── broadcasting.php ├── sanctum.php ├── filesystems.php ├── queue.php ├── cache.php ├── mail.php ├── auth.php ├── logging.php ├── database.php ├── session.php └── app.php ├── LICENSE ├── phpunit.xml ├── artisan ├── composer.json └── README.md /public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /database/.gitignore: -------------------------------------------------------------------------------- 1 | *.sqlite* 2 | -------------------------------------------------------------------------------- /bootstrap/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/logs/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /storage/app/public/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/app/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !public/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /storage/framework/testing/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/views/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/cache/data/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/sessions/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !data/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /public/images/img.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arefSajjadi/companyux/HEAD/public/images/img.png -------------------------------------------------------------------------------- /public/images/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arefSajjadi/companyux/HEAD/public/images/default.png -------------------------------------------------------------------------------- /resources/views/layouts/logo/simple.blade.php: -------------------------------------------------------------------------------- 1 | {{config('app.name')}} 2 | -------------------------------------------------------------------------------- /resources/views/layouts/assets/js.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /resources/views/layouts/assets/css.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /resources/fonts/shabnam/Shabnam-FD_0.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arefSajjadi/companyux/HEAD/resources/fonts/shabnam/Shabnam-FD_0.ttf -------------------------------------------------------------------------------- /resources/views/auth/logoutForm.blade.php: -------------------------------------------------------------------------------- 1 |
2 | -------------------------------------------------------------------------------- /resources/fonts/shabnam/shabnam.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'companyux'; 3 | font-display: fallback; 4 | src: url('Shabnam-FD_0.ttf'); 5 | } 6 | -------------------------------------------------------------------------------- /storage/framework/.gitignore: -------------------------------------------------------------------------------- 1 | compiled.php 2 | config.php 3 | down 4 | events.scanned.php 5 | maintenance.php 6 | routes.php 7 | routes.scanned.php 8 | schedule-* 9 | services.json 10 | -------------------------------------------------------------------------------- /resources/js/bootstrap.js: -------------------------------------------------------------------------------- 1 | try { 2 | window.Popper = require('@popperjs/core'); 3 | window.$ = window.jQuery = require('jquery'); 4 | 5 | require('bootstrap'); 6 | } catch (e) {} 7 | -------------------------------------------------------------------------------- /resources/sass/_variables.scss: -------------------------------------------------------------------------------- 1 | // Body 2 | $body-bg: #f8fafc; 3 | 4 | // Typography 5 | $font-family-sans-serif: 'companyux', sans-serif; 6 | $font-size-base: 0.9rem; 7 | $line-height-base: 1.6; 8 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | 3 | *.blade.php diff=html 4 | *.css diff=css 5 | *.html diff=html 6 | *.md diff=markdown 7 | *.php diff=php 8 | 9 | /.github export-ignore 10 | CHANGELOG.md export-ignore 11 | -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- 1 | orderBy('title')->get(); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /resources/sass/app.scss: -------------------------------------------------------------------------------- 1 | // Fonts 2 | @import "../fonts/shabnam/shabnam.css"; 3 | 4 | // Variables 5 | @import 'variables'; 6 | 7 | // Bootstrap 8 | @import '~bootstrap/scss/bootstrap'; 9 | 10 | // Bootstrap Icons 11 | @import '~bootstrap-icons/font/bootstrap-icons.css'; 12 | 13 | //custom css 14 | @import "../css/app.css"; 15 | 16 | 17 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | end_of_line = lf 6 | insert_final_newline = true 7 | indent_style = space 8 | indent_size = 4 9 | trim_trailing_whitespace = true 10 | 11 | [*.md] 12 | trim_trailing_whitespace = false 13 | 14 | [*.{yml,yaml}] 15 | indent_size = 2 16 | 17 | [docker-compose.yml] 18 | indent_size = 4 19 | -------------------------------------------------------------------------------- /tests/Unit/ExampleTest.php: -------------------------------------------------------------------------------- 1 | assertTrue(true); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /resources/views/layouts/plugins/inputMaskScript.blade.php: -------------------------------------------------------------------------------- 1 | 8 | -------------------------------------------------------------------------------- /app/Facades/JobFacade.php: -------------------------------------------------------------------------------- 1 | $this->faker->title(), 14 | ]; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /app/Facades/IndustryFacade.php: -------------------------------------------------------------------------------- 1 | id === $company->user->id; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /public/hot 3 | /public/storage 4 | /storage/*.key 5 | /vendor 6 | .env 7 | .env.backup 8 | .phpunit.result.cache 9 | docker-compose.override.yml 10 | Homestead.json 11 | Homestead.yaml 12 | npm-debug.log 13 | yarn-error.log 14 | /.idea 15 | /.vscode 16 | /public/css/app.css 17 | /public/js/app.js 18 | /public/mix-manifest.json 19 | /public/fonts 20 | package-lock.json 21 | composer.lock 22 | -------------------------------------------------------------------------------- /app/Http/Middleware/EncryptCookies.php: -------------------------------------------------------------------------------- 1 | 13 | */ 14 | protected $except = [ 15 | // 16 | ]; 17 | } 18 | -------------------------------------------------------------------------------- /database/seeders/DatabaseSeeder.php: -------------------------------------------------------------------------------- 1 | create(); 14 | 15 | $this->call([ 16 | IndustrySeeder::class, 17 | JobSeeder::class 18 | ]); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /resources/views/companies/show.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.app') 2 | 3 | @section('content') 4 | @includeWhen($breadcrumb,'layouts.breadcrumb.breadcrumb',$breadcrumb) 5 | 6 | @include('layouts.companies.show.sections.companyInfo') 7 | 8 | @include('layouts.companies.show.sections.companyComments') 9 | @endsection 10 | 11 | @section('scripts') 12 | @include('layouts.plugins.validateScript') 13 | @endsection 14 | -------------------------------------------------------------------------------- /app/Http/Middleware/VerifyCsrfToken.php: -------------------------------------------------------------------------------- 1 | 13 | */ 14 | protected $except = [ 15 | // 16 | ]; 17 | } 18 | -------------------------------------------------------------------------------- /resources/views/layouts/comments/alert/store.blade.php: -------------------------------------------------------------------------------- 1 | 10 | -------------------------------------------------------------------------------- /app/Http/Controllers/Controller.php: -------------------------------------------------------------------------------- 1 | $this->faker->userName(), 13 | 'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password 14 | ]; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /resources/views/layouts/master/metaTag.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | @hasSection('title') 5 |15 | 16 | 19 |20 |
10 | برای هرچه جامع تر شدن این پلتفرم اگر شرکت موردنظر خود را پیدا نکرده اید 11 | میتوانید درخواست ثبت آنرا برای ما ارسال کنید :) 12 |
13 |20 | اگر شما با این شرکت تجربه همکاری یا مصاحبه و.. 21 | دارید میتوانید آنرا با دیگران به اشتراک بگذارید 22 |
23 |
9 | 15 | شرکتی با این عنوان یافت نشد میتوانید درخواست خود را برای ثبت این 16 | شرکت به راحتی ثبت کنید 17 |
18 |23 | جهت ثبت درخواست بر روی دکمه زیر کلیک نمایید 24 |
25 | 27 | درخواست افزودن شرکت 28 | 29 |33 | توجه داشته باشید که اطلاعات اولیه که از شما گرفته میشود بررسی میشود و 34 | درصورت تایید نهایت تا ۲۴ ساعت شرکت به پایگاه داده ما اضافه خواهد شد، ممنونیم که در 35 | توسعه این پلتفرم کمک میکنید 36 |
37 |
9 | 15 | اگر شما به هرنوعی با این شرکت ارتباط داشته اید و میتوانید تجربه خود را برای دیگران به اشتراک بگذارید 16 |
17 |22 | جهت ثبت تجربه خود بر روی دکمه زیر کلیک نمایید 23 |
24 | 26 | ثبت تجربه یا نظر 27 | 28 |32 | توجه داشته باشید که اطلاعات اولیه که از شما گرفته میشود بررسی میشود و درصورت تایید، نهایت تا ۲۴ ساعت در 33 | کنار تجربه دیگران قرار میگیرد، ممنونیم که در توسعه این پلتفرم کمک میکنید! 34 |
35 |12 | A repository for collecting the experiences of a company's user 13 |
14 | 15 |{!! $comment->comment !!}
23 |4 | 5 | لیست تمامی درخواست های شما - 6 | درخواست افزودن شرکت 7 |
8 || # | 14 |نام | 15 |برند | 16 |تلقن | 17 |وبسایت | 18 |تعداد کارمندان | 19 |سال تاسیس | 20 |حوزه فعالیت | 21 |تعداد نظرات | 22 |وضعیت | 23 |تنظیمات | 24 |
|---|---|---|---|---|---|---|---|---|---|---|
| {{loopWithPaginate($loop, $companies)}} | 30 |{{$company->name}} | 31 |{{$company->brand}} | 32 |{{$company->telephone}} | 33 |{{$company->url}} | 34 |{{$company->employees}} | 35 |{{$company->establishment_at}} | 36 |{{$company->industry->title}} | 37 |{{$company->activeComments()->count()}} | 38 |39 | @switch($company->status) 40 | @case(\App\Models\Company::STATUS_ACTIVE) @php($textColor = 'text-success') 41 | @break 42 | @case(\App\Models\Company::STATUS_WAITING) @php($textColor = 'text-warning') 43 | @break 44 | @case(\App\Models\Company::STATUS_REJECT) @php($textColor = 'text-danger') 45 | @break 46 | @default @php($textColor = 'text-warning') 47 | @endswitch 48 | 49 | {{$company->fa_status}} 50 | 51 | | 52 |
53 |
54 | @if ($company->status === \App\Models\Company::STATUS_REJECT and !empty($company->reason))
55 |
57 |
58 |
59 | @include('layouts.companies.rejectReasonModal')
60 | @endif
61 |
64 |
65 |
66 | @includeWhen($company and !$company->activeComments()->count(), 'layouts.companies.deleteCompaniesModal')
67 |
69 |
70 |
71 |
72 | |
73 |
4 | 5 | لیست تمامی تجربه های شما 6 |
7 || # | 13 |شرکت | 14 |نام نمایشی | 15 |حقوق درخواستی | 16 |حقوق دریافتی | 17 |عنوان شغلی | 18 |نوع همکاری | 19 |استخدام شده اید؟ | 20 |نظر | 21 |وضعیت | 22 |تاریخ ثبت | 23 |تنظیمات | 24 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{loopWithPaginate($loop, $comments)}} | 30 |{{$comment->company->name}} | 31 |{{$comment->display_name}} | 32 |{{number_format($comment->requested_wage)}} | 33 |{{number_format($comment->received_wage)}} | 34 |{{$comment->job->title}} | 35 |{{$comment->fa_type}} | 36 |{{$comment->fa_hire}} | 37 |{!! substr($comment->comment, 0, 130) . ' ...' !!} | 38 |39 | @switch($comment->status) 40 | @case(\App\Models\Comment::STATUS_ACTIVE) @php($textColor = 'text-success') 41 | @break 42 | @case(\App\Models\Comment::STATUS_WAITING) @php($textColor = 'text-warning') 43 | @break 44 | @case(\App\Models\Comment::STATUS_REJECT) @php($textColor = 'text-danger') 45 | @break 46 | @default @php($textColor = 'text-warning') 47 | @endswitch 48 | 49 | {{$comment->fa_status}} 50 | 51 | | 52 |{{convert_date($comment->created_at, true)}} | 53 |
54 |
55 | @if ($comment->status === \App\Models\Comment::STATUS_REJECT and !empty($comment->reason))
56 |
58 |
59 |
60 | @include('layouts.comments.rejectReasonModal')
61 | @endif
62 |
64 |
65 |
66 | @includeWhen($comment, 'layouts.comments.deleteCommentsModal')
67 |
69 |
70 |
71 | @includeWhen($comment, 'comments.editCommentsModal')
72 |
74 |
75 |
76 |
77 | |
78 |