feat: initial import of the23 theme for lamp-link

This commit is contained in:
eldov
2026-08-30 05:16:58 +02:00
commit 0955b0c0cc
60 changed files with 6543 additions and 0 deletions
+127
View File
@@ -0,0 +1,127 @@
<footer class="pt-5 text-start" id="footer-main">
<div class="container">
<div class="row">
<div class="col-lg-4 mb-5 mb-lg-0" class="text-dark">
<a href="<?php echo route('home') ?>">
<?php if(config('logo')): ?>
<?php if((request()->cookie('darkmode') || themeSettings::isDark()) && config('altlogo')): ?>
<img alt="<?php echo config('title') ?>" src="<?php echo uploads(config('altlogo')) ?>" id="navbar-logo">
<?php else: ?>
<img alt="<?php echo config('title') ?>" src="<?php echo uploads(config('logo')) ?>" id="navbar-logo">
<?php endif ?>
<?php else: ?>
<h1 class="h5 mt-2 fw-bold text-dark"><?php echo config('sitename') ?></h1>
<?php endif ?>
</a>
<p class="mt-4"><?php echo e(config('description')) ?></p>
<ul class="nav mt-4">
<?php if($facebook = config('facebook')): ?>
<li>
<a class="nav-link text-muted ps-0 me-2" href="<?php echo $facebook ?>" target="_blank">
<i class="fab fa-facebook"></i>
</a>
</li>
<?php endif ?>
<?php if($twitter = config('twitter')): ?>
<li>
<a class="nav-link text-muted ps-0 me-2" href="<?php echo $twitter ?>" target="_blank">
<i class="fab fa-x-twitter"></i>
</a>
</li>
<?php endif ?>
<?php if($instagram = config('sociallinks')->instagram): ?>
<li>
<a class="nav-link text-muted ps-0 me-2" href="<?php echo $instagram ?>" target="_blank">
<i class="fab fa-instagram"></i>
</a>
</li>
<?php endif ?>
<?php if($linkedin = config('sociallinks')->linkedin): ?>
<li>
<a class="nav-link text-muted ps-0 me-2" href="<?php echo $linkedin ?>" target="_blank">
<i class="fab fa-linkedin"></i>
</a>
</li>
<?php endif ?>
</ul>
</div>
<div class="col-lg-4 col-6 col-sm-6 ml-lg-auto mb-5 mb-lg-0">
<h6 class="fw-bold mb-3"><?php ee('Solutions') ?></h6>
<ul class="list-unstyled">
<li class="mb-2"><a class="nav-link" href="<?php echo route('page.qr') ?>"><?php ee('QR Codes') ?></a></li>
<li class="mb-2"><a class="nav-link" href="<?php echo route('page.bio') ?>"><?php ee('Bio Pages') ?></a></li>
<?php if($plugged = plug('solutionsmenu')): ?>
<?php foreach($plugged as $link): ?>
<?php if(is_array($link)): ?>
<li class="mb-2"><a class="nav-link" href="<?php echo $link['link'] ?>"><?php echo $link['title'] ?></a></li>
<?php endif ?>
<?php endforeach ?>
<?php endif ?>
<?php foreach(\Helpers\App::pages('main') as $page): ?>
<li class="mb-2"><a class="nav-link" href="<?php echo route('page', [$page->seo]) ?>"><?php ee($page->name) ?></a></li>
<?php endforeach ?>
</ul>
</div>
<div class="col-lg-4 col-6 col-sm-6 mb-5 mb-lg-0">
<h6 class="fw-bold mb-3"><?php ee('Resources') ?></h6>
<ul class="list-unstyled">
<?php foreach(\Helpers\App::pages('company') as $page): ?>
<li class="mb-2"><a class="nav-link" href="<?php echo route('page', [$page->seo]) ?>"><?php ee($page->name) ?></a></li>
<?php endforeach ?>
<?php if(config('helpcenter')): ?>
<li class="mb-2"><a class="nav-link" href="<?php echo route('help') ?>"><?php ee('Help Center') ?></a></li>
<?php endif ?>
<?php if(config('api')): ?>
<li class="mb-2"><a class="nav-link" href="<?php echo route('apidocs') ?>"><?php ee('Developer API') ?></a></li>
<?php endif ?>
<?php if(config('pro') && config('affiliate')->enabled): ?>
<li class="mb-2"><a class="nav-link" href="<?php echo route('affiliate') ?>"><?php ee('Affiliate Program') ?></a></li>
<?php endif ?>
<?php if(config('contact')): ?>
<li class="mb-2"><a class="nav-link" href="<?php echo route('contact') ?>"><?php ee('Contact Us') ?></a></li>
<?php endif ?>
</ul>
</div>
</div>
<div class="row align-items-center justify-content-md-between pb-2 mt-5">
<div class="col-md-4">
<div class="copyright text-sm text-center text-md-start">
<?php if(isset(config('theme_config')->customfooter) && !empty(config('theme_config')->customfooter)): ?>
<?php echo config('theme_config')->customfooter ?>
<?php else: ?>
&copy; <?php echo date("Y") ?> <a href="<?php echo config('url') ?>" class="fw-bold"><?php echo config('sitename') ?></a>. <?php ee('All Rights Reserved') ?>
<?php endif ?>
</div>
</div>
<div class="col-md-8">
<ul class="nav justify-content-center justify-content-md-end mt-3 mt-md-0">
<?php foreach(\Helpers\App::pages('policy') as $page): ?>
<li class="nav-item"><a class="nav-link text-dark" href="<?php echo route('page', [$page->seo]) ?>"><?php ee($page->name) ?></a></li>
<?php endforeach ?>
<?php foreach(\Helpers\App::pages('terms') as $page): ?>
<li class="nav-item"><a class="nav-link text-dark" href="<?php echo route('page', [$page->seo]) ?>"><?php ee($page->name) ?></a></li>
<?php endforeach ?>
<?php if(config('report')): ?>
<li class="nav-item"><a class="nav-link text-dark" href="<?php echo route('report') ?>"><?php ee('Report') ?></a></li>
<?php endif ?>
<?php if(config('verifylink')): ?>
<li class="nav-item"><a class="nav-link text-dark" href="<?php echo route('links.verify') ?>"><?php ee('Verify Link') ?></a></li>
<?php endif ?>
<?php if(config('cookieconsent')->enabled): ?>
<li class="nav-item"><a class="nav-link text-dark" href="" data-cc="c-settings"><?php ee('Cookie Settings') ?></a></li>
<?php endif ?>
<?php if($langs = \Helpers\App::langs()): ?>
<li class="nav-item dropup">
<a class="nav-link text-dark" data-bs-toggle="dropdown" href="#"><i class="fa fa-globe" class="mr-1"></i> <?php echo strtoupper(\Core\Localization::locale()) ?></a>
<ul class="dropdown-menu">
<?php foreach($langs as $lang): ?>
<li><a class="dropdown-item" href="<?php echo \Core\Localization::localUrl($lang) ?>"><?php echo $lang['name'] ?></a></li>
<?php endforeach ?>
</ul>
</li>
<?php endif ?>
</ul>
</div>
</div>
</div>
</footer>
+44
View File
@@ -0,0 +1,44 @@
<script type="text/javascript">
var lang = <?php echo json_encode([
"error" => e('Please enter a valid URL.'),
"couponinvalid" => e("The coupon enter is not valid"),
"minurl" => e("You must select at least 1 url."),
"minsearch" => e("Keyword must be more than 3 characters!"),
"nodata" => e("No data is available for this request."),
"datepicker" => [
'7d' => 'Last 7 Days',
'3d' => 'Last 30 Days',
'tm' => 'This Month',
'lm' => 'Last Month',
],
'cookie' => [
'title' => e('Cookie Preferences'),
'description' => !empty(config('cookieconsent')->message) ? e(config('cookieconsent')->message) : e('This website uses essential cookies to ensure its proper operation and tracking cookies to understand how you interact with it. You have the option to choose which one to allow.'),
'button' => ' <button type="button" data-cc="c-settings" class="cc-link" aria-haspopup="dialog">'.e('Let me choose').'</button>',
'accept_all' => e('Accept All'),
'accept_necessary' => e('Accept Necessary'),
'close' => e('Close'),
'save' => e('Save Settings'),
'necessary' => [
'title' => e('Strictly Necessary Cookies'),
'description' => e('These cookies are required for the correct functioning of our service and without these cookies you will not be able to use our product.')
],
'analytics' => [
'title' => e('Targeting and Analytics'),
'description' => e('Providers such as Google use these cookies to measure and provide us with analytics on how you interact with our website. All of the data is anonymized and cannot be used to identify you.')
],
'ads' => [
'title' => e('Advertisement'),
'description' => e('These cookies are set by our advertisers so they can provide you with relevant ads.')
],
'extra' => [
'title' => e('Additional Functionality'),
'description' => e('We use various providers to enhance our products and they may or may not set cookies. Enhancement can include Content Delivery Networks, Google Fonts, etc')
],
'privacy' => [
'title' => e('Privacy Policy'),
'description' => e('You can view our privacy policy').' <a target="_blank" class="cc-link" href="'.(!empty(config('cookieconsent')->link) ? config('cookieconsent')->link : route('page', ['privacy'])).'">'.e('here').'</a>. '.e('If you have any questions, please do not hesitate to').' <a href="'.route('contact').'" target="_blank" class="cc-link">'.e('Contact us').'</a>'
]
]
]) ?>
</script>
+239
View File
@@ -0,0 +1,239 @@
<header class="py-3" id="<?php echo themeSettings::config('menutype', 'top') ? 'menu-top' : 'main-header' ?>">
<div class="<?php echo isset($menu) && $menu == 'full' ? 'container-fluid' : 'container' ?>">
<div class="navbar navbar-expand-lg liquid-blur py-3 zindex-100">
<a href="<?php echo route('home') ?>" class="d-flex align-items-center col-md-3 text-dark text-decoration-none navbar-logo">
<?php if(config('logo')): ?>
<img alt="<?php echo config('title') ?>" src="<?php echo uploads(config('logo')) ?>" id="navbar-logo">
<?php if(config('altlogo')): ?>
<img alt="<?php echo config('title') ?>" src="<?php echo uploads(config('altlogo')) ?>" id="navbar-logo">
<?php endif ?>
<?php else: ?>
<h1 class="h5 mt-2 fw-bold" title="<?php echo config('title') ?>"><?php echo config('sitename') ?></h1>
<?php endif ?>
</a>
<button class="navbar-toggler border-0 collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggle-icon text-secondary">
<span></span>
<span></span>
<span></span>
<span></span>
</span>
</button>
<div class="collapse navbar-collapse" id="navbar">
<ul class="nav col-12 col-md-auto mb-2 justify-content-center mb-md-0 flex-fill text-start" id="main-menu">
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
<?php ee('Solutions') ?>
</a>
<ul class="dropdown-menu dropdown-menu-lg dropdown-menu-lg-end border-0 shadow-lg end-0 rounded-3 p-3">
<li class="mb-2 me-0">
<a class="dropdown-item rounded d-flex align-items-center p-2 border-0" href="<?php echo route('page.link') ?>">
<div class="justify-content-center icon-md bg-primary align-items-center d-flex rounded-3">
<i class="fa fa-link gradient-primary clip-text h4 fa-fw mb-0"></i>
</div>
<div class="ms-3 flex-fill">
<strong class="d-block"><?php ee('Link Shortener') ?></strong>
<small class="opacity-50 text-wrap"><?php ee('Smart trackable short links') ?></small>
</div>
</a>
</li>
<li class="mb-2 me-0">
<a class="dropdown-item rounded d-flex align-items-center p-2 border-0" href="<?php echo route('page.bio') ?>">
<div class="justify-content-center icon-md bg-primary align-items-center d-flex rounded-3">
<i class="fa fa-mobile gradient-primary clip-text h4 fa-fw mb-0"></i>
</div>
<div class="ms-3 flex-fill">
<strong class="d-block"><?php ee('Bio Pages') ?></strong>
<small class="opacity-50 text-wrap"><?php ee('Convert your social media followers') ?></small>
</div>
</a>
</li>
<li class="me-0">
<a class="dropdown-item rounded d-flex align-items-center p-2 border-0" href="<?php echo route('page.qr') ?>">
<div class="justify-content-center icon-md bg-primary align-items-center d-flex rounded-3">
<i class="fa fa-qrcode gradient-primary clip-text h4 mb-0 fa-fw"></i>
</div>
<div class="ms-3 flex-fill">
<strong class="d-block"><?php ee('QR Codes') ?></strong>
<small class="opacity-50 text-wrap"><?php ee('Customizable & trackable QR codes') ?></small>
</div>
</a>
</li>
<?php if($plugged = plug('solutionsmenu')): ?>
<?php foreach($plugged as $link): ?>
<?php if(is_array($link)): ?>
<li class="mt-2 m-0">
<a class="dropdown-item rounded d-flex align-items-center p-2 border-0" href="<?php echo $link['link'] ?>">
<div class="justify-content-center icon-md bg-primary align-items-center d-flex rounded-3">
<i class="fa <?php echo $link['icon'] ?? 'fa-star' ?> gradient-primary clip-text h4 fa-fw mb-0"></i>
</div>
<div class="ms-3 flex-fill">
<strong class="d-block"><?php echo $link['title'] ?></strong>
<?php if(isset($link['description'])): ?>
<small class="opacity-50 text-wrap"><?php echo $link['description'] ?></small>
<?php endif ?>
</div>
</a>
</li>
<?php endif ?>
<?php endforeach ?>
<?php endif ?>
<?php foreach(\Helpers\App::pages('main') as $page): ?>
<li class="mt-2 m-0">
<a class="dropdown-item rounded d-flex align-items-center p-2 border-0" href="<?php echo route('page', [$page->seo]) ?>">
<div class="justify-content-center icon-md bg-primary align-items-center d-flex rounded-3">
<i class="fa fa-star gradient-primary clip-text h4 fa-fw mb-0"></i>
</div>
<div class="ms-3 flex-fill">
<strong class="d-block"><?php echo $page->name ?></strong>
<?php if(isset($page->metadata->description) && $page->metadata->description): ?>
<small class="opacity-50 text-wrap"><?php echo \Core\Helper::truncate($page->metadata->description, 50) ?></small>
<?php endif ?>
</div>
</a>
</li>
<?php endforeach ?>
</ul>
</li>
<?php if(config('pro')): ?>
<li class="nav-item">
<a class="nav-link" href="<?php echo route('pricing') ?>"><?php ee('Pricing') ?></a>
</li>
<?php endif ?>
<?php if(config('blog')): ?>
<li class="nav-item">
<a class="nav-link" href="<?php echo route('blog') ?>"><?php ee('Blog') ?></a>
</li>
<?php endif ?>
<?php if($plugged = plug('homemenu')): ?>
<?php foreach($plugged as $pages): ?>
<?php if(is_array($pages)): ?>
<?php foreach($pages as $page): ?>
<li class="nav-item">
<a class="nav-link" href="<?php echo $page['link'] ?>"><?php echo $page['title'] ?></a>
</li>
<?php endforeach ?>
<?php endif ?>
<?php endforeach ?>
<?php endif ?>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
<?php ee('Resources') ?>
</a>
<ul class="dropdown-menu dropdown-menu-lg dropdown-menu-lg-end border-0 shadow-lg end-0 rounded-3 p-3">
<?php if(config('helpcenter')): ?>
<li class="mb-2 me-0">
<a class="dropdown-item rounded d-flex align-items-center p-2 border-0" href="<?php echo route('help') ?>">
<div class="justify-content-center icon-md bg-primary align-items-center d-flex rounded-3">
<i class="fa fa-life-ring gradient-primary clip-text h4 mb-0 fa-fw"></i>
</div>
<div class="ms-3 flex-fill">
<strong class="d-block"><?php ee('Help Center') ?></strong>
<small class="opacity-50 text-wrap"><?php ee('Find answers to your questions') ?></small>
</div>
</a>
</li>
<?php endif ?>
<?php if(config('api')): ?>
<li class="m-0">
<a class="dropdown-item rounded d-flex align-items-center p-2 border-0" href="<?php echo route('apidocs') ?>">
<div class="justify-content-center icon-md bg-primary align-items-center d-flex rounded-3">
<i class="fa fa-code gradient-primary clip-text h4 fa-fw mb-0"></i>
</div>
<div class="ms-3 flex-fill">
<strong class="d-block"><?php ee('Developer API') ?></strong>
<small class="opacity-50 text-wrap"><?php ee('Guide on how to use our API') ?></small>
</div>
</a>
</li>
<?php endif ?>
<?php if($plugged = plug('resourcemenu')): ?>
<?php foreach($plugged as $link): ?>
<?php if(is_array($link)): ?>
<li class="mt-2 m-0">
<a class="dropdown-item rounded d-flex align-items-center p-2 border-0" href="<?php echo $link['link'] ?>">
<div class="justify-content-center icon-md bg-primary align-items-center d-flex rounded-3">
<i class="fa <?php echo $link['icon'] ?? 'fa-star' ?> gradient-primary clip-text h4 fa-fw mb-0"></i>
</div>
<div class="ms-3 flex-fill">
<strong class="d-block"><?php echo $link['title'] ?></strong>
<?php if(isset($link['description'])): ?>
<small class="opacity-50 text-wrap"><?php echo $link['description'] ?></small>
<?php endif ?>
</div>
</a>
</li>
<?php endif ?>
<?php endforeach ?>
<?php endif ?>
</ul>
</li>
</ul>
<div class="col-md-3 text-end flex-fill" id="login-menu">
<?php if(themeSettings::config('languageselector', 'top') && $langs = \Helpers\App::langs()): ?>
<span class="dropdown d-none d-md-inline-block">
<a class="text-muted small me-3" data-bs-toggle="dropdown" href="#"><i class="fa fa-globe" class="mr-1"></i> <?php echo strtoupper(\Core\Localization::locale()) ?></a>
<ul class="dropdown-menu p-1">
<?php foreach($langs as $lang): ?>
<li><a class="dropdown-item" href="<?php echo \Core\Localization::localUrl($lang) ?>"><?php echo $lang['name'] ?></a></li>
<?php endforeach ?>
</ul>
</span>
<?php endif ?>
<?php if(\Core\Auth::logged()): ?>
<?php if(user()->admin): ?>
<a class="btn btn-outline-primary me-3 fw-bold" href="<?php echo route('admin') ?>"><?php ee('Admin Panel') ?></a>
<?php else: ?>
<a class="btn btn-outline-primary me-3 fw-bold" href="<?php echo route('dashboard') ?>"><?php ee('Dashboard') ?></a>
<?php endif ?>
<span class="dropdown">
<a href="#" role="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<img src="<?php echo user()->avatar() ?>" class="avatar-sm rounded-circle border border-2 border-light" alt="">
</a>
<div class="dropdown-menu dropdown-menu-end border-0 shadow end-0 p-3 mt-3">
<?php if(user()->username && user()->public): ?>
<a class="dropdown-item" href="<?php echo route('profile', user()->username) ?>"><i class="text-muted small me-2 fa fa-fw fa-user"></i> <?php ee('Public Profile') ?></a>
<?php endif ?>
<a class="dropdown-item" href="<?php echo route('dashboard') ?>"><i class="text-muted small me-2 fa fa-fw fa-tachometer-alt"></i> <?php ee('Dashboard') ?></a>
<?php if(config('pro') && !user()->team()): ?>
<a class="dropdown-item" href="<?php echo route('billing') ?>"><i class="text-muted small me-2 fa fa-fw fa-credit-card"></i> <?php ee('Billing') ?></a>
<?php endif ?>
<?php if(config('affiliate')->enabled): ?>
<a class="dropdown-item" href="<?php echo route('user.affiliate') ?>"><i class="text-muted small me-2 fa fa-fw fa-money-bill"></i> <?php ee('Affiliate') ?></a>
<?php endif ?>
<?php if(config('userlogging')): ?>
<a class="dropdown-item" href="<?php echo route('user.security') ?>"><i class="text-muted small me-2 fa fa-fw fa-shield"></i> <?php ee('Security') ?></a>
<?php endif ?>
<a class="dropdown-item" href="<?php echo route('settings') ?>"><i class="text-muted small me-2 fa fa-fw fa-cog"></i> <?php ee('Settings') ?></a>
<?php if(!themeSettings::config('homestyle', 'auto')): ?>
<div class="dropdown-divider opacity-50"></div>
<div class="dropdown-item d-flex">
<label class="form-check-label" for="darkcheck"><?php ee('Dark Mode') ?></label>
<div class="form-check form-switch ms-auto">
<input class="form-check-input float-end" type="checkbox" data-trigger="schememode" id="darkcheck" <?php echo themeSettings::isDark() ? 'checked' : '' ?>>
</div>
</div>
<?php endif ?>
<div class="dropdown-divider opacity-50"></div>
<?php if(config('helpcenter')): ?>
<a href="<?php echo route('help') ?>" class="dropdown-item" ><i class="text-muted small me-2 fa fa-fw fa-life-ring"></i> <?php ee('Help') ?></a>
<?php endif ?>
<?php if(config('api')): ?>
<a href="<?php echo route('apidocs') ?>" class="dropdown-item" ><i class="text-muted small me-2 fa fa-fw fa-code"></i> <?php ee('Developer API') ?></a>
<?php endif ?>
<div class="dropdown-divider opacity-50"></div>
<a class="dropdown-item" href="<?php echo route('logout') ?>"><i class="text-muted small me-2 fa fa-fw fa-sign-out-alt"></i> <?php ee('Log out') ?></a>
</div>
</span>
<?php else: ?>
<a href="<?php echo route('login') ?>" class="btn btn-outline-primary me-3 fw-bold align-items-center"><?php ee('Login') ?></a>
<?php if(config("user") && !config("private") && !config("maintenance")): ?>
<a href="<?php echo route('register') ?>" class="btn btn-primary fw-bold"><?php ee('Get Started') ?></a>
<?php endif ?>
<?php endif ?>
</div>
</div>
</div>
</div>
</header>
+25
View File
@@ -0,0 +1,25 @@
<ul class="nav nav-tabs border-0 overflow-x">
<li class="nav-item me-1 flex-fill">
<a href="<?php echo route('stats', $url->id) ?>" class="nav-link fw-bold text-center"><i class="fa fa-home"></i><span class="align-top ms-2"><?php ee('Summary') ?></span></a>
</li>
<li class="nav-item me-1 flex-fill">
<a href="<?php echo route('stats.countries', $url->id) ?>" class="nav-link fw-bold text-center"><i class="fa fa-map-pin"></i><span class="align-top ms-2"><?php ee('Countries & Cities') ?></span></a>
</li>
<li class="nav-item me-1 flex-fill">
<a href="<?php echo route('stats.platforms', $url->id) ?>" class="nav-link fw-bold text-center"><i class="fa fa-desktop"></i><span class="align-top ms-2"><?php ee('Platforms') ?></span></a>
</li>
<li class="nav-item me-1 flex-fill">
<a href="<?php echo route('stats.browsers', $url->id) ?>" class="nav-link fw-bold text-center"><i class="fab fa-chrome"></i><span class="align-top ms-2"><?php ee('Browsers') ?></span></a>
</li>
<li class="nav-item me-1 flex-fill">
<a href="<?php echo route('stats.languages', $url->id) ?>" class="nav-link fw-bold text-center"><i class="fa fa-user"></i><span class="align-top ms-2"><?php ee('Languages') ?></span></a>
</li>
<li class="nav-item me-1 flex-fill">
<a href="<?php echo route('stats.referrers', $url->id) ?>" class="nav-link fw-bold text-center"><i class="fa fa-globe"></i><span class="align-top ms-2"><?php ee('Referrers') ?></span></a>
</li>
<?php if(is_null($url->profileid) && is_null($url->qrid)): ?>
<li class="nav-item me-1 flex-fill">
<a href="<?php echo route('stats.abtesting', $url->id) ?>" class="nav-link fw-bold text-center"><i class="fa fa-sync"></i><span class="align-top ms-2"><?php ee('A/B Testing') ?></span></a>
</li>
<?php endif ?>
</ul>