[Steem Gigs] Landing Page Redesign (Build) & Category Preview Component
utopian-io·@tobias-g·
0.000 HBD[Steem Gigs] Landing Page Redesign (Build) & Category Preview Component
 ### Repositories https://github.com/steemgigs/steemgigs https://github.com/steemgigs/steemgigsServer This post is partially related to the following task request, however, I conducted some further work that is mentioned too :D https://busy.org/@surpassinggoogle/task-request-help-us-design-re-design-the-steemgigs-org-landing-page-additional-bounty-of-50-steem ### Introduction The following post briefly describes some of the work I recently carried out for SteemGigs, within this piece of work I redesigned the landing page as well as simplified some of the home page code to allow more usability and less duplication. ### Pull Request The work that I carried out on SteemGigs Front End can be found in the following pull requests: https://github.com/steemgigs/steemgigs/pull/104 and https://github.com/steemgigs/steemgigsServer/pull/6 There were also a few bug fixes related to the above made here: https://github.com/steemgigs/steemgigs/pull/106 The site is live at the following URL: https://steemgigs.org/ ### New Features/Improvements The items I completed from the task request were as follows: 1. Redesign Landing Page In addition to the above I completed the following: 1. Create category preview component for use within the home page #### Redesign landing page The main request from @surpassinggoogle was to improve the overall look and feel of the landing, over time the landing page had slowly become out of sync with the rest of the sites look and feel, therefore in order to bring this all together I designed the following: <iframe width="560" height="315" src="https://www.youtube.com/embed/uk3AOsi02h4" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> Note: This is a design in Adobe XD I made prior to the build, as documented here: https://steemit.com/utopian-io/@tobias-g/steemgigs-landing-page-redesign Although I won't go into much detail surrounding how this was created you can see from the above I was able to get fairly close to the design and overall @surpassinggoogle was happy with the results. The main bulk of this task was related to the markup and styling which can be seen here: https://github.com/steemgigs/steemgigs/blob/master/src/components/views/landing.vue The data currently shown in the page is currently static, however, should need the come this can be moved to the DB easily enough as most of the text is held with `data()`. The following shows the landing page prior to the redesign: ##### Search Section The following shows the search section prior to the redesign:  ##### Footer The following shows the footer prior to the redesign:  Following the redesign, the following shows it currently looks: ##### Search Section The search section allows a user to quickly search for gigs they need, upon a user typing their search query (and pressing return) a user will be pushed to the search page to find the gigs they need.  ##### SurpassingGoogle Section The SurpassingGoogle section highlights the knowledge bank that is currently within SteemGigs, within this section a user has the option to either create or read the knowledge bank  ##### BroPro Section The BroPro section is a new area which is coming soon, you can read more about it here: https://steemit.com/steemgigs/@surpassinggoogle/have-you-heard-of-steemgigs-org-s-bropro-yet-it-will-be-powered-by-the-teardrops-tokens  ##### Footer The footer holds useful links and quick info for Steem Gigs users, currently this is only used on the landing page, however, this was built into its own component so it can be easily added to other areas of the site should it be needed.  Alongside the main landing page, I also created a new sign up modal which will soon be used to allow a user to onboard to steem via the @oracle-d/@steem.ninja API/widget. This can be seen here:  #### Create category preview component for use within the home page Another piece of work completed was a category preview component that could be reused to replace duplicated page on the home page of the site, within this the ability to sort sections was also added. Within this commit you can see the old code that was used on the home page, within this you can see that each row was duplicated a number of times: https://github.com/steemgigs/steemgigs/pull/104/commits/65ac3bfde40f47249e541f6f3299e182f4caed39 Following this work, you can see that the home page is now made up of the following code:  In order to achieve this, I created a new component that would both get data and display the data, this was used on each section on the home page. This component is able to display both testimonial and gig cards as well as sort them based on the newest/oldest/highest priced/lowest price (where applicable). The sorting is first conducted server side when the (completed in a previous release) and then sorted again client side using loadash as the client will not load them in the same way that they're provided from the server (I've read this is normal, however, if there is a way to set this by default, that would be great to know :)) You can see an example of this within this site below:  The component, which can be found here: https://github.com/steemgigs/steemgigs/blob/master/src/components/snippets/category-preview.vue, currently has the ability to take in the following properties in order to adjust the display of the data within it: ``` post_type: String, header: String, description: String, limit: Number ``` The following provides more information surrounding each property: |Property| Description| |--|--| | post_type | Allows you to configure which type of posts should be displayed (gigs, custom requests, testimonials, | | header | The section header text that should be displayed to the user | | description | The description text that should be displayed to a user| | limit | The number of cards that should be shown within the section/returned from the API | In an upcoming release, this component will also be able to deal with specific categories, subcategories & pagination to allow for it to be used in other places within the application. ### What's next? I am currently working on this task request: https://steemit.com/steemgigs/@surpassinggoogle/task-request-help-us-add-basic-search-mechanism-to-the-existing-steemgigs-org-search-engine-that-searches-user-profiles-based-on which is nearly complete, I have also extended the category component for use throughout a selection of different pages. In the next release, I will also add beneficiaries to allow users to support Steemgigs, a start to the BroPro section. I have also built the API for a wallet on Steem Gigs that will include the TEARDROPS token created by @surpassinggoogle, however, we'll see which release this goes in ;) ### GitHub Account A link to my GitHub account can be found here: https://github.com/tobias-g1
👍 cron, ismailkah, yassinebad, leyt, ahmedess, sudefteri, neokuduk, literaturk, maveraunnehr, rasit, sargoon, besheda, forphumbmounti, checksercaka, dervagentters, okalbucar, avaa620dthomas, limebame1980, emma2it, katherine98, vieletporid, megan67io, amosbastian, tobias-g, jaff8, nieloagranca, ulockblock, espoem, ascorphat, codingdefined, shebe, ayay, bluesniper, rufans, bestofph, steemtank, mops2e, kendallron, pinas, sbi9, portugalcoin, wherein, mcfarhat, goldkey, holger80, bookkeeping, yannis182, graciaahh, surpassinggoogle, arcange, goode, southparkqueen, tradeownsystems, plojslydia, princekelly, ranielbrianulan, yanga, jutdagut, motivatorjoshua, awesome.ian, senseibabs, meansunlare, asfuriah, greenpower, dysc0rd, karyah1001, nessyquel, davealemana, mart101, mdtipo, solomonogene, kerry234, ekjosh, berylwills, admiralsp, okekemmichael, andrelion, mariaputri17, ligarayk, babaj, pelephotography, camilus, hoobeehey, kul0tzzz, pojgaerlan, jims, thamrin, jefry113, rjrudillas14, ichigos, mhel, pipo092281, parag, jecren, harkushi, goalgetter, layanmarissa, pauloliverpino, strings, allaboutme, loydjayme25, rheyss08, julianalpanta, annamighty, sissyjill, dzued, richmanoloriegbe, jacintoelbarouki, arellanoyan, morbyjohn, aldiyani, freudy, zombieslayer, khloyd, akaikeru, jeanp, donjyde, faisal08, dexter24, wirdayulahya, khairuddin08, zay-arasi, smafey, penantang, sayed53, muksalbaihaqi, estrellamag, zohaib715, klizo, enjoyy, hasan086, handfree42, levinvillas, kingsman2, mcamayra, basir92, mahmuliadi, fifi-yanti, atjehsteemit, chukuibijenny, monwalker, rhei86, beni96, azharmaulana, toyosiartdiy, theunlimited, queenlyka, ayoade96, mikemaphu, fibrefox, belvajarandilla, muzaiyan, rechellomataro, dondondamayo, ihsan19, elbleess, kofspades, mercy11, bobtucks, afrin12, masud222, chiboyzz, modernmclaire, ryl, evansbankx, victoriakorol, starzy, antigenx, shahaan, virgo27, wandy01, jayo, bravofer, lykia, kejora05, sabiondico, kaplat, gerliepepito, blackelephant, mayorhero, geotorb, jaber-hossain70, morin89, devitech, purepinoy, jgpro, bobiecayao, kumagang, bhim, olayemzeecool, amarm, popson, crypto4euro, used-lessboy, new.diak, vlogger56, muzzlealem, brewingstories, rextylerblunt, paulasands, ahmad097, mbahtutorial, fachod, hazelicious, etaletai, techsfair, gnaimul, gpwebers, ahsanabdullah, akeenze13, mittalamit284, marzuki-r, christinevelasco, liquidpoopcorn, devondrjackson, jezelle, dwightjaden, emdesan, hasim5164, bitcoin.news, cheesom, breezieblack, noechie1827, matadonis, sampath94, dtube-alfa, devangbuch, chrisjayl, dazzy, kelvo, ernoldlvb, leeyen23, aikee, joanpablo, emeliveiga, akram7, chiqui03, saarah, mojacko, pharao20, rarcenal, galihtruff, whyken, cebusteemer, femidada, mvoalevine, chrome.citizen, pinkyangel, rishadhaque, sunnylife, advsamadhan, mela65, mkmk, fadiji09, fredoski, preciousimo, alex04, mutiarahmi, neilrichmond, greenville, magatha, sharminwadud, joco0820, roheemat, edyscout81, kataindah, sazid36, daldon, briandominise, boyaceh, noodles09, sirwayneweezy, edundayo, cebuana, moksamol, lotfiuser, pipks, haji, shippou95, adnanbtc, evolutionnow, camillius, jayboss, iamfo, pboss123, princefizzy, polycarpedet, omoyiwolabusayo, muhammad.iqbal, gemz2inspire, kyanzieuno, mayib, tammydixon, ninihorlah, osky, nicole24, mypride, pasokon, dantoyin, bradondamyx12345, jackbawa, wanderinglynelle, adigun12, mrwang, yuslindwi, bloghound, marshall117, gps7530, pjmisa, kike313, hrovat66, vegasgambler, benjaspa, syamsudduha2, phoebedoll, afefe, arrahman90, jeef-zone, jsantos17, jomar07, steemitkyle, erebuta01, golden-man, kayegrasya, bertoandes, cynicalcake, elvinjohn21, r5yn1r4, freitzie123, joshruiz, engineeringfeed, ihamquentin, ninjarobo, rikilb, steem-factuals, lianbloog, fauzan11, hardaeborla, mindbuilder-sc, vicmic, arianto71, johngoad, david9122, jumpnrun, skyphotographer, ak477, dong-a, scottallen, naayren, gelique, citysitebuilders, medyomaldita, lemcervantes, unika-ejes, asforex, votehumanity, ljpaez, tfame3865, viralfever, jhanmervz, ckbahdon, dolphinscute, eruditescholar1, rojellyannsotto, originalmrspice, kutrulaju, bengeudens, ilmondoditea, egheprincez, membee, osakuni, signup-newpeople, adebits, samsonite18654, joseaybar1, sadnesscarl, digital-aster, denkeicui, ramonjvp, glendale05, caroljayne02, idiongo, choobymaverick, crystaljonah1, saifulhuri, rizzybear, sid000, azisjesika, esl, pearlkel, ramadhanil, loudetteiam, cradle, nigerian-yogagal, rachelleignacio, riyadhie, blessedsteemer, byash, ekafao, lemareg, carolinafer, maintang03, randomkindness, gio.vanne, foley, rajesh1000, rawpostblog, pandina, chriswilson, pemburubitcoin, princezakir, alatomz, hmuajanice, dreamseller, minnowwboster, semtroneum, whoib, josuepalacios, yahman, mzajoke, yusifm, amanpathak, fidel66, mrogy1, edjesus, thienduc, vygimau5, greatwarrior79, genesis171, annnaa, normalguy, mdsohagm752, dktrending341, antisocialian, jeongji, ancgci, shahidullah832, forhadh, alom8, qusain, davidsams, naveedakhtar6283, holatati, rajaumer837, bluebella, imkinggirl, martinstomisin, greatlord, dokter-purnama, pipbypip, maticpecovnik, bhargavivkothari, abrahamcera, pritidkurani, patchnotes, martzpro, alchemylgc, alexander-bobs, marivic10, rakan-sikula, jakedavis224, kirstenboic, dsj, dubb, onire19, lvpjulio, drbtc, elaebi, mikael19, kealagan, flourishoo2, yuri18, annitakoxx, ezzardx300, likhari, dkurani, azazel78, gerel, harry-heightz, peeyush, stimp-bank, dominique.miller, ratspencer, pumba13, tonyudo57, ehsan1895, jackramsey, zeusthemaker, sobhiaksh, giftswarez, youssefben, raphaelle, umut1905, mrnightmare89, studytext, shiddiq, razik9708, shiddiq000, kawan-baru, walexworld, shiddiqmjmr, deseojunar, iamwhatiamnot, alien-mastermind, awab, darkstar1o9, jayfamous, beanenergy, faithvarron, eightbitfiction, mirna98, stuckinacup, arisviyo, ihal0001, zackarie, favcau, oclinton, lakawero, cypher01, abbyrich, ingpablojosue, thoor, seemajay, ero-sensei, pichat, mrstaf, cmbugua, silasvogt, wealth4good, desikaamukkahani, moneysolong, samdman, iswanisamion, coinbrew, sm-cards, khunfarang, khunpoom, open-asset, digital-jesus, indayclara, mrandreas, bendany, rival, tolarnee, simgirl, steemdragon, zeshanjaved, pushpo, rosenderevies, masaitv, rigelmarco, cobloc, zenc, katrina71, depq, hermanasquintero, karinasia25, karinquintero, blancoazx, carmen52, epicentrokaribe, cap.potato, letzsteem, nhiconoelortazon, goodway, eurogee, eduardonarvaez, aehiguese, lifediaries2nd, reungkhoem, udochi, nonsqtr, carloniere, ninyea, nanwaiwaimyint, marysent, sukro, hillaryaa, isaganicabrales, tentalavera, cordeta, mrxplicit, onin91, frellarong, aljoursantillan, hashas120, luijii, raquelita, lykaypajaro, badzkie123, isaaceko, orhem, gwapoaller, bgmuna, keybordjp, steeman220, autofreak, leslierevales, sunshinebear, bitmycoin, everydaybitcoin, blaqboyikott, khat.holanda23, jacobzeema, jancharlest, bumut, syawalkoki, nantzjbalayo, viralz, mwamin7, chinwengozi, friskykitty, tjessie, crypto34, mimi87, sojol527, julietj, strongminded, steemian-sniper, dianation, stackin, utopian.trail, techslut, minersean, erikaflynn, didic, jakipatryk, suesa, che-shyr, ajayyy, rewarding, walnut1, elear, mcyusuf, abh12345, tykee, silviu93, dakeshi, vishalsingh4997, zoneboy, gentleshaid, netizens, bflanagin, jk6276, dssdsds, jayplayco, stem-espanol, mrsbozz, jk6276.mons, jaxson2011, eternalinferno, psicoluigi, flores39, tsoldovieri, felixrodriguez, azulear, carloserp-2000, amestyj, yrmaleza, miguelangel2801, emiliomoron, tomastonyperez, elvigia, elpdl, josedelacruz, joseangelvs, viannis, erickyoussif, yusvelasquez, ubaldonet, reinaseq, lupafilotaxia, fran.frey, lorenzor, ivymalifred, eliaschess333, ydavgonzalez, arac, andrick, joelsegovia, jesusfl17, mary11, amart29, jrevilla, alfonzoasdrubal, giulyfarci52, wilmer14molina, alaiza, lapp, steemtpistia, crassipes, agrovision, eastmael, greenorange, loshcat, steem-ua, dalz, newsrx, scienceangel, alexs1320, alex-hm, geadriana, kaczynski, carlos84, sandracarrascal, douglimarbalzan, ennyta, gaming.yer, steem-familia, evangelista.yova, jenniferjulieth, ajfernandez, endopediatria, ingmarvin, alix96, elimao, anaestrada12, yorgermadison, alexjunior, antunez25, haf67, chavas, eglinson, uzcateguiazambra, asmeira, garrillo, pfernandezpetit, mgarrillogonzale, jeferc, rubenp, hirally, emynb, eugenialobo, ballesteroj, jcmontilva, rodriguezr, marbely20, moyam, emilycg, darys, sibaja, balcej, lmanjarres, anaka, benhurg, judisa, juddarivv, mariamo, kimmorales, loraine25, jjay, ryuna.siege, tdre, utopian-io, tombstone, jga, cryptouno, swapsteem, bogybagus9, videosteemit, praveen40, borislavzlatanov, alexei83, onuvaldis, edith4angelseu, kahlyfa, kam3t, pennsif, macshad, dedicapu, vezo, circa, steem-plus, grzesiekb, cristhianarturo, itustudent, zephyraijunzo, build2-casole, freedomsi,