Skip to content

Commit

Permalink
Merge pull request #3 from pingcap-inc/feat/tidb-user-day
Browse files Browse the repository at this point in the history
Feat/tidb user day
  • Loading branch information
xuliwenwenwen authored May 30, 2024
2 parents 7c20824 + 89d9065 commit c6b7d6c
Show file tree
Hide file tree
Showing 55 changed files with 1,238 additions and 121 deletions.
1 change: 1 addition & 0 deletions pingcap-jp/css/master.scss
Original file line number Diff line number Diff line change
Expand Up @@ -150,3 +150,4 @@ Templates
@import "templates/htap-summit-2023";
@import "templates/tidb";
@import "templates/contact-us";
@import "templates/tidb-user-day";
15 changes: 15 additions & 0 deletions pingcap-jp/css/templates/tidb-user-day.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
.tidb-user-day {
&__entry {
.grid {
align-items: center;
}
}
}

.p-timetable-sort_list {
overflow-x: scroll;
}

.p-timetable-sort_checkbox + label {
white-space: nowrap;
}
10 changes: 9 additions & 1 deletion pingcap-jp/header.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
<?php
use PingCAP\{ Components, Constants };

use PingCAP\{Components, Constants};

?>
<!doctype html>
<html <?php language_attributes(); ?>>

<head>
<?php
do_action('global_head_top_content');
Expand All @@ -28,6 +30,11 @@

<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>">

<?php if (is_page_template('templates/page-tidb-user-day.php')) { ?>
<link rel="stylesheet" href="<?php echo esc_url(get_template_directory_uri()); ?>/tidb-user-day/assets/css/index.css">
<script src="<?php echo esc_url(get_template_directory_uri()); ?>/tidb-user-day/assets/js/main.js" defer></script>
<?php } ?>

<?php
wp_head();

Expand All @@ -36,6 +43,7 @@
}
?>
</head>

<body id="body" <?php body_class(); ?>>
<?php
if (!defined('IGNORE_USER_SCRIPTS') || !constant('IGNORE_USER_SCRIPTS')) {
Expand Down
2 changes: 1 addition & 1 deletion pingcap-jp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"lint-staged": "^13.0.3",
"lint-staged": "^15.0.3",
"mini-css-extract-plugin": "^2.7.2",
"prettier": "^2.7.1",
"sass": "^1.57.1",
Expand Down
1,007 changes: 1,007 additions & 0 deletions pingcap-jp/templates/page-tidb-user-day.php

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions pingcap-jp/tidb-user-day/assets/css/index.css

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
1 change: 1 addition & 0 deletions pingcap-jp/tidb-user-day/assets/img/icon_arrow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions pingcap-jp/tidb-user-day/assets/img/icon_facebook.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions pingcap-jp/tidb-user-day/assets/img/icon_linkedin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions pingcap-jp/tidb-user-day/assets/img/icon_menu.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions pingcap-jp/tidb-user-day/assets/img/icon_sort.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions pingcap-jp/tidb-user-day/assets/img/icon_ticket.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions pingcap-jp/tidb-user-day/assets/img/icon_x.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions pingcap-jp/tidb-user-day/assets/img/icon_youtube.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pingcap-jp/tidb-user-day/assets/img/mv_bg.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pingcap-jp/tidb-user-day/assets/img/mv_bg.webp
Binary file not shown.
Binary file added pingcap-jp/tidb-user-day/assets/img/mv_bg_sp.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pingcap-jp/tidb-user-day/assets/img/mv_bg_sp.webp
Binary file not shown.
Binary file added pingcap-jp/tidb-user-day/assets/img/partner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pingcap-jp/tidb-user-day/assets/img/partner.webp
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file added pingcap-jp/tidb-user-day/assets/img/speaker01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file added pingcap-jp/tidb-user-day/assets/img/speaker02.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions pingcap-jp/tidb-user-day/assets/js/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions pingcap-jp/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ module.exports = {
from: "prism-js",
to: "prism-js",
},
{
from: "tidb-user-day",
to: "tidb-user-day",
},
],
}),
new DefinePlugin(
Expand Down
Loading

0 comments on commit c6b7d6c

Please sign in to comment.