Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: merge 0.1.1-kits-1 #251

Closed
wants to merge 33 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
1a6ab5d
:wrench: added kits ci files
JannikStreek Feb 20, 2021
265d1fd
Update README.md
tim-krieger Sep 6, 2021
54d8777
Update README.md
tim-krieger Sep 14, 2021
566906f
Update README.md
tim-krieger Sep 14, 2021
2b5947b
Update README.md
tim-krieger Sep 14, 2021
d768209
Fetch and merge with mindwendel base repository (#17)
gerardo-navarro Jan 23, 2022
2638511
Align kits footer (#18)
gerardo-navarro May 3, 2022
e607ec4
chore: Add name to site web manifest
Sep 1, 2022
a1191f1
chore: Adjust colors of background icons
Sep 1, 2022
0887cf3
refactor: Fix kits landing page
gerardo-navarro Dec 6, 2022
e1a0289
refactor: Fix kits landing page
gerardo-navarro Dec 6, 2022
2feef50
refactor: Fix after rebase
gerardo-navarro Dec 6, 2022
f688ea6
refactor: Cleanup afer rebase
gerardo-navarro Dec 6, 2022
bdc92e0
feat: Add new design for mindwendel
gerardo-navarro Dec 20, 2022
0868518
style: Finalize wording adjustments
gerardo-navarro Dec 28, 2022
3b037b2
test: Fix test case
gerardo-navarro Dec 28, 2022
47d6f4e
feat: Add next design from qrstorage to mindwendel
gerardo-navarro Jan 14, 2023
9403898
chore: Add manifest files to allowed content security headers
gerardo-navarro Jan 14, 2023
20d6666
chore: Remove vendor-like kits css from project as it is now generate…
gerardo-navarro Jan 14, 2023
14382eb
refactor: Integrate bootstrap-icons into dart_sass and esbuild setup
gerardo-navarro Jan 14, 2023
a84f87f
refactor: Make mindwendel working again
gerardo-navarro Jan 14, 2023
a6b462b
refactor: Finalize branch
gerardo-navarro Jan 14, 2023
0a8040e
refactor: Remove unnecessary files :fire:
gerardo-navarro Jan 23, 2023
7a833f0
refactor: Use svg over png files
gerardo-navarro Jan 23, 2023
c9366c7
refactor: Remove override for bootstrap buttons in scss
gerardo-navarro Jan 23, 2023
5c469e7
refactor: Add flash box for error and info messages; require the fiel…
gerardo-navarro Jan 23, 2023
cff307a
Finalize applying kits theme to complete mindwendel app (#24)
gerardo-navarro Feb 13, 2023
70cfabe
[Bug] Fixes issue with the dropdown in the menu bar that shows old br…
nwittstruck Feb 24, 2023
ddd3cbc
style: Refine contrast ratio to ensure a light color for the secondar…
gerardo-navarro Feb 26, 2023
2409ff4
style: Better positioning of flash alerts (#28)
gerardo-navarro Mar 5, 2023
f71fc94
chore: disable dark mode (#29)
nwittstruck Dec 28, 2023
01355d8
chore: format kits layout with new formatter with phoenix 1.7 upgrade…
nwittstruck Jan 25, 2024
56ddd73
bug: fix flash alerts after phoenix 1.7 upgrade (#34)
nwittstruck Jan 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
refactor: Fix kits landing page
gerardo-navarro authored and nwittstruck committed Mar 6, 2024
commit e1a0289c7e00f6ce4218a61eff828d3ff222faed
14 changes: 7 additions & 7 deletions assets/scss/_bootstrap_custom.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
// Required
@import "../node_modules/bootstrap/scss/bootstrap";

//#00456F secondary
$primary: #00a3d3;

@@ -9,12 +6,15 @@ $primary: #00a3d3;
}

.card-body-mindwendel-idea {
@extend .card-body;
padding: 0.5rem 0.5rem;
}
@extend .card-body;
padding: 0.5rem 0.5rem;
}

.card-footer-mindwendel-idea {
@extend .card-footer;
padding: 0.5rem 0.5rem;
background-color: inherit;
}

// Required
@import "../node_modules/bootstrap/scss/bootstrap";
4 changes: 2 additions & 2 deletions lib/mindwendel_web/endpoint.ex
Original file line number Diff line number Diff line change
@@ -25,15 +25,15 @@ defmodule MindwendelWeb.Endpoint do
from: :mindwendel,
gzip: false,
only: [
"assets",
"apple-touch-icon.png",
"assets",
"browserconfig.xml",
"css",
"favicon.ico",
"fonts",
"images",
"js",
"robots.txt",
"browserconfig.xml",
"safari-pinned-tab.svg",
"site.webmanifest"
],
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@
<%= assigns[:page_title] || "Mindwendel" %>
</.live_title>
<link phx-track-static rel="stylesheet" href={ Routes.static_path(@conn, "/css/kits.css") }/>
<script defer phx-track-static type="text/javascript" src={ Routes.static_path(@conn, "/js/app.js") }></script>
<script defer phx-track-static type="text/javascript" src={ Routes.static_path(@conn, "/assets/app.js") }></script>

<link rel="apple-touch-icon" sizes="180x180" href={ Routes.static_path(@conn, "/apple-touch-icon.png") } >
<link rel="icon" type="image/png" sizes="32x32" href={ Routes.static_path(@conn, "/favicon-32x32.png") }>
8 changes: 8 additions & 0 deletions lib/mindwendel_web/templates/layout/static_page.html.heex
Original file line number Diff line number Diff line change
@@ -19,6 +19,14 @@
src={Routes.static_path(@conn, "/assets/app.js")}
>
</script>

<link rel="apple-touch-icon" sizes="180x180" href={ Routes.static_path(@conn, "/apple-touch-icon.png") } >
<link rel="icon" type="image/png" sizes="32x32" href={ Routes.static_path(@conn, "/favicon-32x32.png") } >
<link rel="icon" type="image/png" sizes="16x16" href={ Routes.static_path(@conn, "/favicon-16x16.png") } >
<link rel="manifest" href={ Routes.static_path(@conn, "/site.webmanifest") } >
<link rel="mask-icon" href={ Routes.static_path(@conn, "/safari-pinned-tab.svg") } color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
</head>

<body class="d-flex h-100" style="background-color: #000000;">
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<link phx-track-static rel="stylesheet" href="<%= Routes.static_path(@conn, "/css/kits_home.css") %>"/>
<link phx-track-static rel="stylesheet" href={ Routes.static_path(@conn, "/css/kits_home.css") } />
<div id="wrapper">

<div id="inner">
<img src="<%= Routes.static_path(@conn, "/images/mindwendel.svg") %>" alt="mindwendel" style="width: 100%;">
<img src={ Routes.static_path(@conn, "/images/mindwendel.svg") } alt="mindwendel" style="width: 100%;">
<br /><br/>

Mit unserem schlanken Tool »mindwendel« sammelst du auf überraschend einfache
@@ -27,14 +26,13 @@
<span class="badge rounded-pill bg-light text-dark">
<%= Timex.format!(brainstorming.inserted_at, "{relative}", :relative) %>
</span></li>
</h5>
<% end %>
</ul>
<% end %>

<div class="kits_footer">
<a href="https://kits.blog/tools/" target="_blank" title="Zurück zur Tools-Seite">
<img id="kits_footer_logo" src="<%= Routes.static_path(@conn, "/images/kits_footer.svg") %>" alt="kits">
<img id="kits_footer_logo" src={ Routes.static_path(@conn, "/images/kits_footer.svg") } alt="kits">
</a>
<ul class="kits_footer_links">
<li><a href="https://kits.blog/impressum/" target="_blank">Impressum</a></li>