Migrating Widgets

I know in K3 widgets are gone and plugins should be used for the sections, but is there an easy way to migrate the below widget? All it is is a link that I had on the dashboard. Seems like a lot of work to make a plugin for just a simple link…

return array(
  'title' => 'Careers',
  'html' => function() {
    return '<a href="/careers/applicants">Current Applicants</a>';
  }  
);

You could theoretically put that link into an info section…

sections:
  info:
    type: info
    text: Go to <a href="http://domain.com">Whatever</a>

Maybe I missed this, but where would that go, does the front dashboard have a blueprint now?

You can put that into site.yml, which is responsible for the Panel start page (combines the K2 settings and dashboard)

Ok, now that makes sense, I had to move the site.yml outside of the pages folder (I had it in there for some reason). Do presets not work with sections like this? If I set it to page preset I see the section, if I set to pages I see the list without the section…do I have to build it manually and not use the preset?

The presets don’t really make sense for the site.yml blueprint, I think. Better build it from scratch. Depending on your site, you might want to use tabs etc. to build different areas for contact data, basic SEO info etc. in addition to accessing pages.

I think I figured it out. Doing something like below works.

title: Site
sections:
  info:
    type: info
    text: Go to <a href="http://domain.com">Whatever</a>
  published:
    headline: Published Articles
    type: pages