Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 19 22:37
    scala-steward opened #217
  • Dec 11 2021 02:32
    scala-steward opened #216
  • Dec 07 2021 16:20

    sake92 on master

    Derive JsonRW for jsonable clas… (compare)

  • Dec 07 2021 16:18
    scala-steward opened #215
  • Dec 07 2021 15:55

    sake92 on master

    Fix MimeTypes (compare)

  • Dec 07 2021 15:52

    sake92 on master

    Fix literals bug.. cannot deriv… (compare)

  • Dec 07 2021 15:29

    github-actions[bot] on gh-pages

    Deploying to gh-pages from @ 0… (compare)

  • Dec 07 2021 15:27

    sake92 on master

    Fix implicit def to ext method (compare)

  • Dec 07 2021 14:59

    sake92 on master

    fix ci (compare)

  • Dec 07 2021 14:58

    github-actions[bot] on gh-pages

    Deploying to gh-pages from @ 6… (compare)

  • Dec 07 2021 14:57

    sake92 on master

    Update to scala 3.1.0. Drop sca… Update tupson Use tupson. Use MUnit (compare)

  • Dec 02 2021 17:41
    sake92 closed #212
  • Dec 02 2021 17:41
    sake92 closed #214
  • Dec 02 2021 17:41
    sake92 closed #211
  • Dec 02 2021 17:41
    sake92 closed #210
  • Dec 02 2021 17:41
    sake92 closed #209
  • Dec 02 2021 17:41
    sake92 closed #208
  • Dec 02 2021 17:41
    sake92 closed #206
  • Dec 02 2021 17:41
    sake92 closed #202
  • Nov 26 2021 16:12
    scala-steward closed #213
Sakib Hadžiavdić
@sake92
If someone needs "a bunch of scalatags helpers" he can use hepek-components
yup, great :smile:
Peter Pan
@P3trur0
But for example, assuming we'd like to use Bulma CardComponent, do we have to import the new bulmatextclasses?
Sakib Hadžiavdić
@sake92
I didn't have time to migrate all those components
"hepek-components" should contain universal components
that work with both Bootstrap and Bulma
If you manage to make that work, it would be great :slight_smile:
otherwise, we'll leave them as is
see GridComponents for example
Sakib Hadžiavdić
@sake92
We have an implementation for Bulma and for Bootstrap, and can easily switch from one to other
Peter Pan
@P3trur0
perfect then
so to wrap up my understanding: hepek-components is for common scaffolding, while all the custom part should goes under hepek module itself
Sakib Hadžiavdić
@sake92
Yes, kinda, use hepek for experimenting
Peter Pan
@P3trur0
ok :smile:
Sakib Hadžiavdić
@sake92
btw, i fixed that bug with repeating cls := ..
you can remove those enrichClass.. stuff
Peter Pan
@P3trur0
cool
Alex Bush
@alexjbush
Hey, I love this lib btw
Is there a reason why you are using a snapshot scalatags version from ba.sake instead of com.lihaoyi?
Sakib Hadžiavdić
@sake92
@alexjbush thanks, and welcome! :smiley:
there was a bug in scalatags, it merged repeated attributes
I guess we could update it to scalatags 0.7.0 now :)
Alex Bush
@alexjbush
Ah great :D
Sakib Hadžiavdić
@sake92
object MultiPage extends Multi {

  def rends = Seq(PageImpl("1"), PageImpl("2"))
}

case class PageImpl(name: String) extends Renderable {

  override def relPath = Paths.get(s"examples/simple/multi/$name.txt")

  override def render = s"multi$name"
}
Finally got it working! :smile:
Could be that I broke something, please report if you find something
Anyway, new version of sbt-hepek is 0.2.0
it supports MultiRenderable
which enables you to render multiple pages from one template
you can call DB, Wordpress API or something dynamic now!
And got it rendered to static pages! :smiley:
Sakib Hadžiavdić
@sake92

New hepek SSG version is 0.6.0 with ScalaMultiRenderable support
drocsid
@drocsid
I asked on r/scala and someone referred me to this project
Thanks for making it! Trying to bring up a site quickly with it.
Sakib Hadžiavdić
@sake92
@drocsid you're welcome! :smiley:
if you need any help, just ping me here
drocsid
@drocsid
Hi @sake92 . I set the following properties to color the navbar, etc.
h3 {
 color: #d6e5e5;
}

#main-navbar {
  background-color: aliceblue;
}

a.navbar-brand {
  background-color: aliceblue;
}

a[href="about.html"] {
  background-color: aliceblue;
}

.navbar-brand {
  float: none;
}
drocsid
@drocsid

I was going to try to see if I could work on the navbar fonts. Change the color. Maybe try to get something that looks like a logo from text.

If you know the property to change them or have another method let me know. I disabled the float so the favicon that I swapped out sits within the navbar. But then the "logo" text is now centered.

This is all related to the starter template
Another question would be how to swap the author icon for the blogSetting / withAuthor ...
I will read around the docs and look at the chats above to make sure I'm not asking about things that have already been discussed...
Sakib Hadžiavdić
@sake92
Regarding icons, currently it's not possible
You can probably copy-paste the whole "theme" and tweak it as you like.
About CSS stuff, I'm really bad at it, haha. If you can use existing Bootstrap stuff that would be better probably
Just extend FADependencies and then you can type FA.addressBook()