Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
rain1024 committed Oct 26, 2024
1 parent c5f5198 commit e9e304a
Show file tree
Hide file tree
Showing 6 changed files with 2,069 additions and 48 deletions.
2 changes: 2 additions & 0 deletions apps/languagesv2/languages-v2-web/src/pages/Config.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export const BUILD_VERSION = '2';
export const DEVELOPMENT_TEAM = 'Trà Thành Thơi Team';
8 changes: 4 additions & 4 deletions apps/languagesv2/languages-v2-web/src/pages/Home.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React, { useState } from 'react';
import VietnameseWords, { VietnameseWord } from './VietnameseWords';
import { BUILD_VERSION, DEVELOPMENT_TEAM } from './Config';

// Example build version, replace this with an environment variable if needed.
const buildVersion = '1.0.0';

const frequentVietnameseWords = VietnameseWords;

Expand All @@ -29,7 +29,7 @@ function Home() {
<div className="w-full min-h-screen bg-gradient-to-br from-indigo-500 via-purple-400 to-pink-300 pt-24">
<div className="max-w-6xl mx-auto px-6 py-10">
<h1 className="text-4xl font-extrabold text-center text-white mb-12 drop-shadow-lg">
Frequent Vietnamese Words
The 2000 Most Frequent Vietnamese Words
</h1>
<div className="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 gap-8">
{frequentVietnameseWords.map((wordItem: VietnameseWord, index: number) => {
Expand Down Expand Up @@ -89,10 +89,10 @@ function Home() {
</div>
<footer className="mt-20 bg-white bg-opacity-70 backdrop-blur-md py-6">
<div className="text-center text-gray-800 text-sm">
Made with <span className="text-red-500 animate-pulse">❤️</span> by <strong className="text-indigo-800">Thảnh Thơi Team</strong>
Made with <span className="text-red-500 animate-pulse">❤️</span> by <strong className="text-indigo-800">{DEVELOPMENT_TEAM}</strong>
</div>
<div className="text-center text-gray-600 mt-2">
Build Version: <span className="font-semibold">{buildVersion}</span>
<span className="font-semibold">Version {BUILD_VERSION}</span>
</div>
</footer>
</div>
Expand Down
Loading

0 comments on commit e9e304a

Please sign in to comment.