- 👋 Hi, I’m @valeriiSkliar
- 👀 I’m interested in backEnd & FrontEnd DEV on JavaScript or PHP.
- 🌱 I’m currently using in my wor ( React, Next.js, Laravel ).
- 💞️ I’m looking to collaborate
- 📫 How to reach me:
- tel. +380 97 395 7009 (telegram, viber, whatsapp);
- email. [email protected]
photographerwebsite's Introduction
photographerwebsite's People
photographerwebsite's Issues
add untach button in album.edit page to delete photo from album
change dragable image style
ui for admin
- info buttons
- explanation of functionality
bug in process of updating components
web.php bad code
make new hamburgar menu
broken generateListOfFiles.js
Creates a bundle with files that shouldn't be there.
- Does not know how to work with the following imports:
import {readFile} from 'fs/promises';
import {defaultDirJs, defaultFilePathJs} from "../env.js";
import "../../../env.js";
import {
loadAddComponentInterface,
submitComponentForm,
addDetailFields,
clearFormContainer,
initialListenersTbody,
submitForm,
addMetaTagRow,
} from './functions.js'
- Does not check each file for imports. Check only app.js
Test work from gh Terminal
- Test checkbox
- 2
- 3
change button route
refactor Gallery (controllers)
add drag & drop for gallary
refactor contact migration
The website owner should be able to add a new contact field and add an image for social links.
- make a migration refactor
- add a field type. for example (links and contact info).
- add the ability to add images for links to social media pages.
- redesign the contact information form in the admin panel for the new migration.
- add ability to add new contact information from admin.
adaptation page Portfolio
- don't forgot make adaptation for section with other three albums
add contacts to admin
- Create controller for routs
- add requests validation
- add interface for change data in admin panel
- make it visible for footer
Sections update dont work
make component list -> sortable
UI admin Authorization
Не входить до адмінкі, хоч логін та пароль вірні. Також необхідно змінити колір тексту у полях форми на темний.
page Work
- make landing of the page
- the form need validation
fix component list stile (Edit page interface)
remake edit album
- add all photos to page
- make avalaible to edit image from this page
- after updating image must redirect to editing album
- after adding new image to album, it must show new images in album
- fix edit image page
- add lazyload for all images
- add spinner on loading
- add aspect-ratio scss rules
add checkbox (super-admin) for album
contacts page styles
Make contacts page.
-
HTML contacts
-
CSS contacts
-
DB for this page
page Contact
- make landing of the page
- the form need validation
- animation for background image
internalisation for all frontend pages
fix footer
- use css variable to set height or somthing else that can changes
- make adaptation of footer for different devices.
- fonts in name author are to big
refactor interface for page->component creating/editing
- add spiner diuaring component edit form loading
- refactor connected album in component edit form
to refactor:
- переміщення компоненту має бути доступним тільки в одній зоні плашки компоненту. (наприклад там де значок стрілочки в 4-тири сторони)
- коли наводиш на зону переносу, палшка може збільшуватися тіршки( scale(1.2) ).
- коли наводиш просто на плашку, вона підсвічується або якимось іншим чином дає понять, що при клікі можна буде редагувати наповнення компоненту
add interface for meta tags managment
adaptation page Main
- Change navbar menu to hamburger menu on screen size < 900 px.
- Make adaptation for swiper
- section page_thumbsnail
add roles in admin panel
need to add next roles:
- admin
- super-admin
- user
page Portfolio
- make landing of the page
- add swiper
- add navigation for swiper
- feed the page by data from admin panel
add sweetalert2 to views
opend access to admin
Iframes that are availble for not auth user:
change <text input> to <select>, in Create Section view
add 'LogOut' button
- add the ability to log out of your account.
- after logging out of your account, be redirected index page
The path is not processed
@valeriiSkliar, issue #45.
photographerWebsite/routes/web.php
Lines 27 to 54 in c272a56
Ми робили ось так, і воно працює:
routes/web.php
Route::group(['prefix' => 'de'], function () {
$databaseName = config('database.connections.mysql.database');
Route::get('/', [IndexController::class, 'index'])->name('index.page');
// Route::get('language/{locale}', function ($locale) {
// app()->setLocale($locale);
// session()->put('locale', $locale);
// return redirect()->back();
// });
try {
$connection = DB::connection()->getPdo();
$databaseExists = DB::select("SHOW DATABASES LIKE '$databaseName'");
if ($databaseExists) {
DB::statement("USE `$databaseName`");
if (Schema::hasTable('pages')) {
$pages = Page::all();
foreach ($pages as $page) {
Route::get($page->slug, [IndexController::class, 'index'])->name('page.' . $page->slug);
// Route::get($page->slug. '/de', [IndexController::class, 'index'])->name('de.page.' . $page->slug);
}
}
}
} catch (Exception $e) {
// dd($e);
}
});
app/Http/Controllers/IndexController.php
class IndexController extends Controller
{
public function index(Request $request)
{
$pageSlug = $request->route()->uri;
// dd($request);
$hasDePrefix = Str::endsWith($pageSlug, 'de');
if ($hasDePrefix) {
app()->setLocale('de');
$pageSlug = Str::replaceFirst('de', '', $pageSlug);
}
if ($pageSlug == '/' || $pageSlug == '' ) {
$pageSlug = 'main';
}
$page = Page::with(['components' => function ($query) {
$query->orderBy('order');
}, 'components.album.images','components.details.translations',])
->where('slug', $pageSlug)
->first();
if (!$page) {
abort(404);
}
$meta_tags = MetaTags::where('page_id', '=', $page->id)->get();
return view($pageSlug, compact('page', 'meta_tags'));
}
}
test base functionality of Forms
manual testing
Can`t create section in admin
- Need to add feature for adding new section
add flag 'visible' to component model (migration)
fix bug - views\includes\admin\page\show.blade .php
Able to add existing components to page
fix bug - when update component name - album unlink from component
not correct work in edit img
Edit image:
- after end of edding image data user redirect to images pages.
Need new feild:
- name
Edit feild file url:
- maybe we need this type of url https://domain.com/ + file_url
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.