Skip to content

Commit 361770d

Browse files
committed
fixing layout pblm, starting new games
1 parent e8df4ca commit 361770d

File tree

4 files changed

+28
-23
lines changed

4 files changed

+28
-23
lines changed

components/card-component.tsx

+6-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,12 @@ export function BlogCard(props: { article: Article }) {
1515
if (!article) return;
1616
return (
1717
<Card
18-
className={`${article.starred ? "shadow-lg shadow-green-500/50" : ""}
19-
max-w-full md:w-[450px] mr-4 mb-4 flex flex-col justify-between bg-background`}
18+
className={`
19+
${article.starred ? "shadow-lg shadow-green-500/50" : ""}
20+
w-full lg:w-[calc(50%-1rem)] xl:w-[calc(33.333%-1rem)]
21+
m-1 flex flex-col justify-between bg-background
22+
transition-all duration-300 hover:shadow-md
23+
`}
2024
>
2125
<CardHeader>
2226
<CardTitle className="truncate pb-1">{article.title}</CardTitle>

config/blogs.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export const blogsDict: { [key: string]: Article } = {
6060
how many months it would take to learn Python.`,
6161
date: "02-05-2024",
6262
extern: false,
63-
markdown: true
63+
markdown: true,
6464
},
6565
...howTos,
6666
} as const;

config/games/list.ts

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

public/sitemap-0.xml

+20-20
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
3-
<url><loc>https://learnpython.today/about/</loc><lastmod>2024-05-11T11:42:05.327Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
4-
<url><loc>https://learnpython.today/blogs/avoid-tutorial-hell/</loc><lastmod>2024-05-11T11:42:05.327Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
5-
<url><loc>https://learnpython.today/games/</loc><lastmod>2024-05-11T11:42:05.327Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
6-
<url><loc>https://learnpython.today/blogs/how-will-learning-python-help-me/</loc><lastmod>2024-05-11T11:42:05.327Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
7-
<url><loc>https://learnpython.today/</loc><lastmod>2024-05-11T11:42:05.327Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
8-
<url><loc>https://learnpython.today/blogs/intro/</loc><lastmod>2024-05-11T11:42:05.327Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
9-
<url><loc>https://learnpython.today/blogs/how-to-debug-python/</loc><lastmod>2024-05-11T11:42:05.327Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
10-
<url><loc>https://learnpython.today/blogs/</loc><lastmod>2024-05-11T11:42:05.327Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
11-
<url><loc>https://learnpython.today/blogs/tuto-for-basics/</loc><lastmod>2024-05-11T11:42:05.327Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
12-
<url><loc>https://learnpython.today/games/introduction/</loc><lastmod>2024-05-11T11:42:05.327Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
13-
<url><loc>https://learnpython.today/games/variable-declaration-1/</loc><lastmod>2024-05-11T11:42:05.327Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
14-
<url><loc>https://learnpython.today/games/variable-declaration-2/</loc><lastmod>2024-05-11T11:42:05.327Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
15-
<url><loc>https://learnpython.today/games/string-1/</loc><lastmod>2024-05-11T11:42:05.327Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
16-
<url><loc>https://learnpython.today/games/string-2/</loc><lastmod>2024-05-11T11:42:05.327Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
17-
<url><loc>https://learnpython.today/games/loop-1/</loc><lastmod>2024-05-11T11:42:05.327Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
18-
<url><loc>https://learnpython.today/games/list-append-1/</loc><lastmod>2024-05-11T11:42:05.327Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
19-
<url><loc>https://learnpython.today/games/variable-assignment-typing-1/</loc><lastmod>2024-05-11T11:42:05.327Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
20-
<url><loc>https://learnpython.today/games/shopping-cart-calculation-1/</loc><lastmod>2024-05-11T11:42:05.327Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
21-
<url><loc>https://learnpython.today/blogs/how_many_months/</loc><lastmod>2024-05-11T11:42:05.327Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
22-
<url><loc>https://learnpython.today/blogs/how_to_generate_waf/</loc><lastmod>2024-05-11T11:42:05.327Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
3+
<url><loc>https://learnpython.today/about/</loc><lastmod>2024-08-01T22:23:54.001Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
4+
<url><loc>https://learnpython.today/games/</loc><lastmod>2024-08-01T22:23:54.002Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
5+
<url><loc>https://learnpython.today/blogs/avoid-tutorial-hell/</loc><lastmod>2024-08-01T22:23:54.002Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
6+
<url><loc>https://learnpython.today/blogs/how-to-debug-python/</loc><lastmod>2024-08-01T22:23:54.002Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
7+
<url><loc>https://learnpython.today/blogs/</loc><lastmod>2024-08-01T22:23:54.002Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
8+
<url><loc>https://learnpython.today/blogs/how-will-learning-python-help-me/</loc><lastmod>2024-08-01T22:23:54.002Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
9+
<url><loc>https://learnpython.today/</loc><lastmod>2024-08-01T22:23:54.002Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
10+
<url><loc>https://learnpython.today/blogs/tuto-for-basics/</loc><lastmod>2024-08-01T22:23:54.002Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
11+
<url><loc>https://learnpython.today/blogs/intro/</loc><lastmod>2024-08-01T22:23:54.002Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
12+
<url><loc>https://learnpython.today/games/introduction/</loc><lastmod>2024-08-01T22:23:54.002Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
13+
<url><loc>https://learnpython.today/games/variable-declaration-1/</loc><lastmod>2024-08-01T22:23:54.002Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
14+
<url><loc>https://learnpython.today/games/variable-declaration-2/</loc><lastmod>2024-08-01T22:23:54.002Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
15+
<url><loc>https://learnpython.today/games/string-1/</loc><lastmod>2024-08-01T22:23:54.002Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
16+
<url><loc>https://learnpython.today/games/string-2/</loc><lastmod>2024-08-01T22:23:54.002Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
17+
<url><loc>https://learnpython.today/games/loop-1/</loc><lastmod>2024-08-01T22:23:54.002Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
18+
<url><loc>https://learnpython.today/games/list-append-1/</loc><lastmod>2024-08-01T22:23:54.002Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
19+
<url><loc>https://learnpython.today/games/variable-assignment-typing-1/</loc><lastmod>2024-08-01T22:23:54.002Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
20+
<url><loc>https://learnpython.today/games/shopping-cart-calculation-1/</loc><lastmod>2024-08-01T22:23:54.002Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
21+
<url><loc>https://learnpython.today/blogs/how_many_months/</loc><lastmod>2024-08-01T22:23:54.002Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
22+
<url><loc>https://learnpython.today/blogs/how_to_generate_waf/</loc><lastmod>2024-08-01T22:23:54.002Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
2323
</urlset>

0 commit comments

Comments
 (0)